Ignore:
Timestamp:
09/21/11 11:48:10 (13 years ago)
Author:
hozdoba
Message:

Ajout de fonction à l'interface fortran

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XMLIO_V2/dev/common/src/xmlio/fortran/icaxis.cpp

    r274 r280  
    144144      *_ret = xmlioserver::CObjectFactory::GetObject<xmlioserver::tree::CAxisGroup>(id).get(); 
    145145   } 
     146 
     147   // -------------------- Vérification des identifiants ----------------------- 
     148 
     149   void xios_axis_valid_id (bool * _ret, const char * _id, int _id_len) 
     150   { 
     151      std::string id; 
     152      if (!cstr2string(_id, _id_len, id)) return; 
     153 
     154      *_ret = xmlioserver::CObjectFactory::HasObject<xmlioserver::tree::CAxis>(id); 
     155   } 
     156 
     157   void xios_axisgroup_valid_id (bool * _ret, const char * _id, int _id_len) 
     158   { 
     159      std::string id; 
     160      if (!cstr2string(_id, _id_len, id)) return; 
     161 
     162      *_ret = xmlioserver::CObjectFactory::HasObject<xmlioserver::tree::CAxisGroup>(id); 
     163   } 
    146164    
    147165} // extern "C" 
Note: See TracChangeset for help on using the changeset viewer.