source: XMLIO_V2/dev/dev_rv/src/XMLIO/grid_attribut.hpp @ 124

Last change on this file since 124 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: 750 bytes
Line 
1#ifndef __GRID_ATTRIBUT__
2#define __GRID_ATTRIBUT__
3
4namespace 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         { 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.