Changeset 272 for XMLIO_V2/dev/dev_rv/src/xmlio/declare_group.hpp
- Timestamp:
- 09/14/11 17:17:43 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XMLIO_V2/dev/dev_rv/src/xmlio/declare_group.hpp
r168 r272 27 27 }; \ 28 28 typedef type##Group type##Definition 29 30 #define DECLARE_GROUP_PARSE_REDEF(type) \ 31 class type##Group \ 32 : public CGroupTemplate<type, type##Group, type##Attributes> \ 33 { \ 34 public: \ 35 typedef type RelChild; \ 36 typedef type##Group RelGroup; \ 37 typedef type##Attributes RelAttributes; \ 38 typedef CGroupTemplate<type, type##Group, type##Attributes> \ 39 SuperClass; \ 40 \ 41 type##Group(void) \ 42 : CGroupTemplate<RelChild, RelGroup, RelAttributes> () \ 43 { /* Ne rien faire de plus */ } \ 44 type##Group(const StdString& _id) \ 45 : CGroupTemplate<RelChild, RelGroup, RelAttributes> (_id) \ 46 { /* Ne rien faire de plus */ } \ 47 \ 48 static ENodeType GetType(void) \ 49 { return static_cast<ENodeType>(RelChild::GetType()+1); } \ 50 \ 51 virtual void parse(xml::CXMLNode & node, bool withAttr = true); \ 52 \ 53 virtual ~type##Group(void) \ 54 { /* Ne rien faire de plus */ } \ 55 }; \ 56 typedef type##Group type##Definition 29 57 30 58 #endif // __XMLIO_DECLARE_GROUP__
Note: See TracChangeset
for help on using the changeset viewer.