Last change
on this file since 110 was
110,
checked in by hozdoba, 14 years ago
|
Prise en charge simplifiée des axes et des grilles.
Simplification du code.
|
File size:
577 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 | |
---|
13 | GridAttribut(void) : AttributRegistrar() |
---|
14 | { registerAllAttributes(); } |
---|
15 | |
---|
16 | private : |
---|
17 | |
---|
18 | void registerAllAttributes(void) |
---|
19 | { |
---|
20 | RegisterAttribut(&name) ; |
---|
21 | RegisterAttribut(&description) ; |
---|
22 | } |
---|
23 | |
---|
24 | } ; // class GridAttribut |
---|
25 | |
---|
26 | }// namespace XMLIOSERVER |
---|
27 | |
---|
28 | #endif //__GRID_ATTRIBUT__ |
---|
Note: See
TracBrowser
for help on using the repository browser.