Last change
on this file since 120 was
120,
checked in by hozdoba, 14 years ago
|
Mise à jour intermédiaire ...
A venir : commit d'une version stable intégrant l'écriture de fichiers NetCDF4.
(en cours de finalisation actuellement)
|
File size:
838 bytes
|
Line | |
---|
1 | #ifndef __AXIS_ATTRIBUT__ |
---|
2 | #define __AXIS_ATTRIBUT__ |
---|
3 | |
---|
4 | using namespace blitz ; |
---|
5 | |
---|
6 | namespace XMLIOSERVER |
---|
7 | { |
---|
8 | class AxisAttribut : public virtual AttributRegistrar |
---|
9 | { |
---|
10 | public : |
---|
11 | |
---|
12 | DECLARE_ATTR(name, string) ; |
---|
13 | DECLARE_ATTR(description, string) ; |
---|
14 | DECLARE_ATTR(unit, string) ; |
---|
15 | DECLARE_ATTR(size, int) ; |
---|
16 | DECLARE_ATTR(value, Array(double,1)) ; |
---|
17 | |
---|
18 | AxisAttribut(void) : AttributRegistrar() |
---|
19 | { registerAllAttributes(); } |
---|
20 | |
---|
21 | private : |
---|
22 | |
---|
23 | void registerAllAttributes(void) |
---|
24 | { |
---|
25 | RegisterAttribut(&name) ; |
---|
26 | RegisterAttribut(&description) ; |
---|
27 | RegisterAttribut(&unit) ; |
---|
28 | RegisterAttribut(&size) ; |
---|
29 | RegisterAttribut(&value) ; |
---|
30 | } |
---|
31 | |
---|
32 | } ; // class AxisAttribut |
---|
33 | |
---|
34 | }// namespace XMLIOSERVER |
---|
35 | |
---|
36 | #endif //__AXIS_ATTRIBUT__ |
---|
Note: See
TracBrowser
for help on using the repository browser.