Last change
on this file since 126 was
126,
checked in by hozdoba, 14 years ago
|
Amélioration de quelques portions de code.
Ajout de contructeurs par copie.
|
File size:
766 bytes
|
Rev | Line | |
---|
[110] | 1 | #ifndef __GRID_ATTRIBUT__ |
---|
| 2 | #define __GRID_ATTRIBUT__ |
---|
| 3 | |
---|
| 4 | namespace XMLIOSERVER |
---|
| 5 | { |
---|
| 6 | class GridAttribut : public virtual AttributRegistrar |
---|
| 7 | { |
---|
| 8 | public : |
---|
| 9 | |
---|
[126] | 10 | DECLARE_ATTR(name , string) ; |
---|
[110] | 11 | DECLARE_ATTR(description, string) ; |
---|
[126] | 12 | DECLARE_ATTR(domain_ref , string) ; |
---|
| 13 | DECLARE_ATTR(axis_ref , string) ; |
---|
[110] | 14 | |
---|
| 15 | GridAttribut(void) : AttributRegistrar() |
---|
[126] | 16 | { this->registerAllAttributes(); } |
---|
[110] | 17 | |
---|
| 18 | private : |
---|
| 19 | |
---|
| 20 | void registerAllAttributes(void) |
---|
| 21 | { |
---|
| 22 | RegisterAttribut(&name) ; |
---|
| 23 | RegisterAttribut(&description) ; |
---|
[120] | 24 | RegisterAttribut(&domain_ref) ; |
---|
| 25 | RegisterAttribut(&axis_ref) ; |
---|
[110] | 26 | } |
---|
| 27 | |
---|
| 28 | } ; // class GridAttribut |
---|
| 29 | |
---|
| 30 | }// namespace XMLIOSERVER |
---|
| 31 | |
---|
| 32 | #endif //__GRID_ATTRIBUT__ |
---|
Note: See
TracBrowser
for help on using the repository browser.