Changeset 1170 for XIOS/trunk/src/interface/c_attr/icfilegroup_attr.cpp
- Timestamp:
- 06/15/17 16:17:07 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/interface/c_attr/icfilegroup_attr.cpp
r1052 r1170 90 90 91 91 92 void cxios_set_filegroup_convention_str(filegroup_Ptr filegroup_hdl, const char * convention_str, int convention_str_size) 93 { 94 std::string convention_str_str; 95 if (!cstr2string(convention_str, convention_str_size, convention_str_str)) return; 96 CTimer::get("XIOS").resume(); 97 filegroup_hdl->convention_str.setValue(convention_str_str); 98 CTimer::get("XIOS").suspend(); 99 } 100 101 void cxios_get_filegroup_convention_str(filegroup_Ptr filegroup_hdl, char * convention_str, int convention_str_size) 102 { 103 CTimer::get("XIOS").resume(); 104 if (!string_copy(filegroup_hdl->convention_str.getInheritedValue(), convention_str, convention_str_size)) 105 ERROR("void cxios_get_filegroup_convention_str(filegroup_Ptr filegroup_hdl, char * convention_str, int convention_str_size)", << "Input string is too short"); 106 CTimer::get("XIOS").suspend(); 107 } 108 109 bool cxios_is_defined_filegroup_convention_str(filegroup_Ptr filegroup_hdl) 110 { 111 CTimer::get("XIOS").resume(); 112 bool isDefined = filegroup_hdl->convention_str.hasInheritedValue(); 113 CTimer::get("XIOS").suspend(); 114 return isDefined; 115 } 116 117 92 118 void cxios_set_filegroup_cyclic(filegroup_Ptr filegroup_hdl, bool cyclic) 93 119 {
Note: See TracChangeset
for help on using the changeset viewer.