Ignore:
Timestamp:
02/03/14 14:16:20 (10 years ago)
Author:
ymipsl
Message:

Enhancement : user defined global and field attribute can be output in the netcdfcf file.
A variable child element inclosed into a file element will be output as a global file attribute.
A variable child element inclosed into a field element will be output as a field attribute.

+ variable fortran interface added

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/variable.hpp

    r459 r472  
    5050 
    5151         public : 
    52           
     52            enum EVarType 
     53            {  t_int, t_short_int, t_long_int, t_float, t_double, t_long_double, t_bool, t_string, t_undefined } ; 
     54               
     55                      
    5356            /// Autres /// 
    5457            virtual void parse(xml::CXMLNode & node); 
    5558            virtual StdString toString(void) const; 
    5659 
    57 //            virtual void toBinary  (StdOStream & os) const; 
    58 //            virtual void fromBinary(StdIStream & is); 
    59  
    6060            /// Accesseur /// 
    6161            const StdString & getContent (void) const; 
    62  
     62             
    6363             
    6464            template <typename T> inline T getData(void) const; 
    65 //            bool inline getData<bool>(void) const ; 
    66 //            template <> getData<bool>(void) const ; 
    6765             
    6866            template <typename T, StdSize N> 
    6967            inline void getData(CArray<T, N>& _data_array) const; 
    70  
     68             
     69            EVarType getVarType(void) const ; 
     70             
    7171         public : 
    7272          
Note: See TracChangeset for help on using the changeset viewer.