Ignore:
Timestamp:
06/03/13 11:21:19 (11 years ago)
Author:
ymipsl
Message:

Enhancement : Add fortran interface to know if an attribute is set or not
ex : CALL xios_is_defined_field_attr("field_A",enabled=ok)

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/generate_interface.hpp

    r352 r432  
    1212    template <class T> 
    1313    static void AttributeCInterface(ostream& oss,const string& className,const string& name) ; 
    14     
     14    static void AttributeIsDefinedCInterface(ostream& oss, const string& className,const string& name); 
     15   
    1516   template <class T> 
    1617   static void AttributeFortran2003Interface(ostream& oss,const string& className,const string& name) ; 
     18   static void AttributeIsDefinedFortran2003Interface(ostream& oss,const string& className,const string& name); 
    1719    
    1820   template <class T> 
     
    2224   static void AttributeFortranInterfaceGetDeclaration(ostream& oss,const string& className,const string& name) ; 
    2325 
     26   static void AttributeFortranInterfaceIsDefinedDeclaration(ostream& oss,const string& className,const string& name) ; 
     27 
    2428   template <class T> 
    2529   static void AttributeFortranInterfaceBody(ostream& oss,const string& className,const string& name) ; 
     
    2731   template <class T> 
    2832   static void AttributeFortranInterfaceGetBody(ostream& oss,const string& className,const string& name) ; 
    29    
     33  
     34   static void AttributeFortranInterfaceIsDefinedBody(ostream& oss,const string& className,const string& name) ; 
     35  
    3036   template <class T> 
    3137   static string getStrFortranType(void) ; 
Note: See TracChangeset for help on using the changeset viewer.