Last change
on this file since 141 was
141,
checked in by hozdoba, 13 years ago
|
Mise à jour depuis un autre dépôt
|
File size:
1.4 KB
|
Line | |
---|
1 | #ifndef __XMLIO_DECLARE_GROUP__ |
---|
2 | #define __XMLIO_DECLARE_GROUP__ |
---|
3 | |
---|
4 | /// ///////////////////////////// Macros ///////////////////////////// /// |
---|
5 | |
---|
6 | #define DECLARE_GROUP(type) \ |
---|
7 | class type##Group \ |
---|
8 | : public CGroupTemplate<type, type##Group, type##Attributes> \ |
---|
9 | { \ |
---|
10 | public: \ |
---|
11 | typedef type RelChild; \ |
---|
12 | typedef type##Group RelGroup; \ |
---|
13 | typedef type##Attributes RelAttributes; \ |
---|
14 | type##Group(void) \ |
---|
15 | : CGroupTemplate<RelChild, RelGroup, RelAttributes> () \ |
---|
16 | { /* Ne rien faire de plus */ } \ |
---|
17 | type##Group(const StdString& _id) \ |
---|
18 | : CGroupTemplate<RelChild, RelGroup, RelAttributes> (_id) \ |
---|
19 | { /* Ne rien faire de plus */ } \ |
---|
20 | virtual ~type##Group(void) \ |
---|
21 | { /* Ne rien faire de plus */ } \ |
---|
22 | }; \ |
---|
23 | typedef type##Group type##Definition |
---|
24 | |
---|
25 | #endif // __XMLIO_DECLARE_GROUP__ |
---|
Note: See
TracBrowser
for help on using the repository browser.