Added aqua_speed for rite geo 50 tryker
[ryzomcore.git] / nel / tools / 3d / pipeline_max / class_data.h
blob1515f406256aceeab4a7d60fb1b07955b9a2dfd0
1 /**
2 * \file class_data.h
3 * \brief CClassData
4 * \date 2012-08-18 19:24GMT
5 * \author Jan Boon (Kaetemi)
6 * CClassData
7 */
9 /*
10 * Copyright (C) 2012 by authors
12 * This file is part of RYZOM CORE PIPELINE.
13 * RYZOM CORE PIPELINE is free software: you can redistribute it
14 * and/or modify it under the terms of the GNU Affero General Public
15 * License as published by the Free Software Foundation, either
16 * version 3 of the License, or (at your option) any later version.
18 * RYZOM CORE PIPELINE is distributed in the hope that it will be
19 * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
20 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Affero General Public License for more details.
23 * You should have received a copy of the GNU Affero General Public
24 * License along with RYZOM CORE PIPELINE. If not, see
25 * <http://www.gnu.org/licenses/>.
28 #ifndef PIPELINE_CLASS_DATA_H
29 #define PIPELINE_CLASS_DATA_H
30 #include <nel/misc/types_nl.h>
32 // STL includes
34 // NeL includes
35 #include <nel/misc/class_id.h>
37 // Project includes
38 #include "storage_object.h"
39 #include "storage_value.h"
41 namespace PIPELINE {
42 namespace MAX {
44 /**
45 * \brief CClassData
46 * \date 2012-08-18 19:24GMT
47 * \author Jan Boon (Kaetemi)
48 * CClassData
50 class CClassData : public CStorageContainer
52 public:
53 CClassData();
54 virtual ~CClassData();
56 // inherited
57 virtual std::string className() const;
58 virtual void toString(std::ostream &ostream, const std::string &pad = "") const;
59 virtual void parse(uint16 version, uint filter = 0);
60 virtual void clean();
61 virtual void build(uint16 version, uint filter = 0);
62 virtual void disown();
64 protected:
65 virtual IStorageObject *createChunkById(uint16 id, bool container);
67 }; /* class CClassData */
69 /**
70 * \brief CClassDataEntry
71 * \date 2012-08-18 18:01GMT
72 * \author Jan Boon (Kaetemi)
73 * CClassDataEntry
75 class CClassDataEntry : public CStorageContainer
77 public:
78 CClassDataEntry();
79 virtual ~CClassDataEntry();
81 // inherited
82 virtual std::string className() const;
83 virtual void toString(std::ostream &ostream, const std::string &pad = "") const;
84 virtual void parse(uint16 version, uint filter = 0);
85 virtual void clean();
86 virtual void build(uint16 version, uint filter = 0);
87 virtual void disown();
89 protected:
90 virtual IStorageObject *createChunkById(uint16 id, bool container);
92 }; /* class CClassDataEntry */
94 /**
95 * \brief CClassDataHeader
96 * \date 2012-08-18 18:01GMT
97 * \author Jan Boon (Kaetemi)
98 * CClassDataHeader
100 class CClassDataHeader : public IStorageObject
102 public:
103 CClassDataHeader();
104 virtual ~CClassDataHeader();
106 // public data
107 NLMISC::CClassId ClassID;
108 uint32 SuperClassID;
110 // inherited
111 virtual std::string className() const;
112 virtual void serial(NLMISC::IStream &stream);
113 virtual void toString(std::ostream &ostream, const std::string &pad = "") const;
115 }; /* class CClassDataHeader */
117 } /* namespace MAX */
118 } /* namespace PIPELINE */
120 #endif /* #ifndef PIPELINE_CLASS_DATA_H */
122 /* end of file */