source:
XMLIO_V2/trunk/src/XMLIO/field_attribut.hpp
@
68
Last change on this file since 68 was 68, checked in by ymipsl, 14 years ago | |
---|---|
File size: 390 bytes |
Line | |
---|---|
1 | #ifndef FIELD_ATTRIBUT_HPP |
2 | #define FIELD_ATTRIBUT_HPP |
3 | |
4 | #include "attribut_registrar.hpp" |
5 | #include "attribut.hpp" |
6 | #include "declare_attribut.hpp" |
7 | |
8 | class CFieldAttribut : public virtual CAttributRegistrar |
9 | { |
10 | public : |
11 | |
12 | DECLARE_ATTR(name,string) ; |
13 | DECLARE_ATTR(level,int) ; |
14 | |
15 | CFieldAttribut(void) |
16 | { |
17 | RegisterAttribut(name) ; |
18 | RegisterAttribut(level) ; |
19 | } |
20 | |
21 | } ; |
22 | |
23 | #endif |
Note: See TracBrowser
for help on using the repository browser.