Ignore:
Timestamp:
12/17/14 15:35:12 (9 years ago)
Author:
rlacroix
Message:

Update the Fortran interface after r540.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/interface/c_attr/icdomaingroup_attr.cpp

    r532 r546  
    270270   
    271271   
     272  void cxios_set_domaingroup_domain_ref(domaingroup_Ptr domaingroup_hdl, const char * domain_ref, int domain_ref_size) 
     273  { 
     274    std::string domain_ref_str; 
     275    if(!cstr2string(domain_ref, domain_ref_size, domain_ref_str)) return; 
     276     CTimer::get("XIOS").resume(); 
     277    domaingroup_hdl->domain_ref.setValue(domain_ref_str); 
     278     CTimer::get("XIOS").suspend(); 
     279  } 
     280   
     281  void cxios_get_domaingroup_domain_ref(domaingroup_Ptr domaingroup_hdl, char * domain_ref, int domain_ref_size) 
     282  { 
     283     CTimer::get("XIOS").resume(); 
     284    if(!string_copy(domaingroup_hdl->domain_ref.getInheritedValue(),domain_ref , domain_ref_size)) 
     285      ERROR("void cxios_get_domaingroup_domain_ref(domaingroup_Ptr domaingroup_hdl, char * domain_ref, int domain_ref_size)", <<"Input string is to short"); 
     286     CTimer::get("XIOS").suspend(); 
     287  } 
     288   
     289  bool cxios_is_defined_domaingroup_domain_ref(domaingroup_Ptr domaingroup_hdl ) 
     290  { 
     291     CTimer::get("XIOS").resume(); 
     292    return domaingroup_hdl->domain_ref.hasInheritedValue(); 
     293     CTimer::get("XIOS").suspend(); 
     294  } 
     295   
     296   
     297   
    272298  void cxios_set_domaingroup_group_ref(domaingroup_Ptr domaingroup_hdl, const char * group_ref, int group_ref_size) 
    273299  { 
Note: See TracChangeset for help on using the changeset viewer.