Last change
on this file since 132 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
|
Line | |
---|
1 | #ifndef __GRID_ATTRIBUT__ |
---|
2 | #define __GRID_ATTRIBUT__ |
---|
3 | |
---|
4 | namespace XMLIOSERVER |
---|
5 | { |
---|
6 | class GridAttribut : public virtual AttributRegistrar |
---|
7 | { |
---|
8 | public : |
---|
9 | |
---|
10 | DECLARE_ATTR(name , string) ; |
---|
11 | DECLARE_ATTR(description, string) ; |
---|
12 | DECLARE_ATTR(domain_ref , string) ; |
---|
13 | DECLARE_ATTR(axis_ref , string) ; |
---|
14 | |
---|
15 | GridAttribut(void) : AttributRegistrar() |
---|
16 | { this->registerAllAttributes(); } |
---|
17 | |
---|
18 | private : |
---|
19 | |
---|
20 | void registerAllAttributes(void) |
---|
21 | { |
---|
22 | RegisterAttribut(&name) ; |
---|
23 | RegisterAttribut(&description) ; |
---|
24 | RegisterAttribut(&domain_ref) ; |
---|
25 | RegisterAttribut(&axis_ref) ; |
---|
26 | } |
---|
27 | |
---|
28 | } ; // class GridAttribut |
---|
29 | |
---|
30 | }// namespace XMLIOSERVER |
---|
31 | |
---|
32 | #endif //__GRID_ATTRIBUT__ |
---|
Note: See
TracBrowser
for help on using the repository browser.