source: XMLIO_V2/dev/dev_rv/src/xmlio/node/variable.hpp @ 267

Last change on this file since 267 was 267, checked in by hozdoba, 13 years ago
File size: 1.8 KB
Line 
1#ifndef __XMLIO_CVariable__
2#define __XMLIO_CVariable__
3
4/// xmlioserver headers ///
5#include "xmlioserver_spl.hpp"
6#include "declare_group.hpp"
7
8#include "data_output.hpp"
9
10namespace xmlioserver
11{
12   namespace tree
13   {
14      /// ////////////////////// Déclarations ////////////////////// ///
15
16      class CVariableGroup;
17      class CVariableAttributes;
18      class CVariable;
19
20      ///--------------------------------------------------------------
21
22      // Declare/Define CVarAttribute
23      BEGIN_DECLARE_ATTRIBUTE_MAP(CVariable)
24#include "var_attribute.conf"
25      END_DECLARE_ATTRIBUTE_MAP(CVariable)
26
27      ///--------------------------------------------------------------
28
29      class CVariable
30         : public CObjectTemplate<CVariable>
31         , public CVariableAttributes
32      {
33            /// typedef ///
34            typedef CObjectTemplate<CVariable>   SuperClass;
35            typedef CVariableAttributes SuperClassAttribute;
36
37         public :
38
39            typedef CVariableAttributes RelAttributes;
40            typedef CVariableGroup      RelGroup;
41
42            /// Constructeurs ///
43            CVariable(void);
44            explicit CVariable(const StdString & id);
45            CVariable(const CVariable & var);       // Not implemented yet.
46            CVariable(const CVariable * const var); // Not implemented yet.
47
48            /// Destructeur ///
49            virtual ~CVariable(void);
50
51            /// Accesseurs statiques ///
52            static StdString GetName(void);
53            static StdString GetDefName(void);
54            static ENodeType GetType(void);
55
56      }; // class CVar
57
58      ///--------------------------------------------------------------
59
60      // Declare/Define CVarGroup and CVarDefinition
61      DECLARE_GROUP(CVariable);
62
63
64
65   } // namespace tree
66} // namespace xmlioserver
67
68#endif // __XMLIO_CVariable__
Note: See TracBrowser for help on using the repository browser.