Changeset 789 for XIOS/trunk/src/interface/c_attr/icdomaingroup_attr.cpp
- Timestamp:
- 11/16/15 16:21:45 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/interface/c_attr/icdomaingroup_attr.cpp
r781 r789 334 334 335 335 336 void cxios_set_domaingroup_domain_src(domaingroup_Ptr domaingroup_hdl, const char * domain_src, int domain_src_size)337 {338 std::string domain_src_str;339 if (!cstr2string(domain_src, domain_src_size, domain_src_str)) return;340 CTimer::get("XIOS").resume();341 domaingroup_hdl->domain_src.setValue(domain_src_str);342 CTimer::get("XIOS").suspend();343 }344 345 void cxios_get_domaingroup_domain_src(domaingroup_Ptr domaingroup_hdl, char * domain_src, int domain_src_size)346 {347 CTimer::get("XIOS").resume();348 if (!string_copy(domaingroup_hdl->domain_src.getInheritedValue(), domain_src, domain_src_size))349 ERROR("void cxios_get_domaingroup_domain_src(domaingroup_Ptr domaingroup_hdl, char * domain_src, int domain_src_size)", << "Input string is too short");350 CTimer::get("XIOS").suspend();351 }352 353 bool cxios_is_defined_domaingroup_domain_src(domaingroup_Ptr domaingroup_hdl)354 {355 CTimer::get("XIOS").resume();356 bool isDefined = domaingroup_hdl->domain_src.hasInheritedValue();357 CTimer::get("XIOS").suspend();358 return isDefined;359 }360 361 362 336 void cxios_set_domaingroup_group_ref(domaingroup_Ptr domaingroup_hdl, const char * group_ref, int group_ref_size) 363 337 {
Note: See TracChangeset
for help on using the changeset viewer.