5 #include <boost/multi_array.hpp>
21 CTimer::get(
"XIOS").resume();
22 expand_domain_hdl->i_periodic.setValue(i_periodic);
23 CTimer::get(
"XIOS").suspend();
28 CTimer::get(
"XIOS").resume();
29 *i_periodic = expand_domain_hdl->i_periodic.getInheritedValue();
30 CTimer::get(
"XIOS").suspend();
35 CTimer::get(
"XIOS").resume();
36 bool isDefined = expand_domain_hdl->i_periodic.hasInheritedValue();
37 CTimer::get(
"XIOS").suspend();
44 CTimer::get(
"XIOS").resume();
45 expand_domain_hdl->j_periodic.setValue(j_periodic);
46 CTimer::get(
"XIOS").suspend();
51 CTimer::get(
"XIOS").resume();
52 *j_periodic = expand_domain_hdl->j_periodic.getInheritedValue();
53 CTimer::get(
"XIOS").suspend();
58 CTimer::get(
"XIOS").resume();
59 bool isDefined = expand_domain_hdl->j_periodic.hasInheritedValue();
60 CTimer::get(
"XIOS").suspend();
67 CTimer::get(
"XIOS").resume();
68 expand_domain_hdl->order.setValue(order);
69 CTimer::get(
"XIOS").suspend();
74 CTimer::get(
"XIOS").resume();
75 *order = expand_domain_hdl->order.getInheritedValue();
76 CTimer::get(
"XIOS").suspend();
81 CTimer::get(
"XIOS").resume();
82 bool isDefined = expand_domain_hdl->order.hasInheritedValue();
83 CTimer::get(
"XIOS").suspend();
91 if (!
cstr2string(type, type_size, type_str))
return;
92 CTimer::get(
"XIOS").resume();
94 CTimer::get(
"XIOS").suspend();
99 CTimer::get(
"XIOS").resume();
100 if (!
string_copy(expand_domain_hdl->type.getInheritedStringValue(),
type, type_size))
101 ERROR(
"void cxios_get_expand_domain_type(expand_domain_Ptr expand_domain_hdl, char * type, int type_size)", <<
"Input string is too short");
102 CTimer::get(
"XIOS").suspend();
107 CTimer::get(
"XIOS").resume();
108 bool isDefined = expand_domain_hdl->type.hasInheritedValue();
109 CTimer::get(
"XIOS").suspend();
void cxios_set_expand_domain_type(expand_domain_Ptr expand_domain_hdl, const char *type, int type_size)
void cxios_set_expand_domain_i_periodic(expand_domain_Ptr expand_domain_hdl, bool i_periodic)
bool cxios_is_defined_expand_domain_j_periodic(expand_domain_Ptr expand_domain_hdl)
xios::CExpandDomain * expand_domain_Ptr
void cxios_get_expand_domain_j_periodic(expand_domain_Ptr expand_domain_hdl, bool *j_periodic)
virtual void fromString(const StdString &str)
bool cxios_is_defined_expand_domain_type(expand_domain_Ptr expand_domain_hdl)
void cxios_get_expand_domain_i_periodic(expand_domain_Ptr expand_domain_hdl, bool *i_periodic)
bool string_copy(const std::string &str, char *cstr, int cstr_size)
void cxios_get_expand_domain_type(expand_domain_Ptr expand_domain_hdl, char *type, int type_size)
bool cxios_is_defined_expand_domain_order(expand_domain_Ptr expand_domain_hdl)
void cxios_get_expand_domain_order(expand_domain_Ptr expand_domain_hdl, int *order)
void cxios_set_expand_domain_order(expand_domain_Ptr expand_domain_hdl, int order)
void cxios_set_expand_domain_j_periodic(expand_domain_Ptr expand_domain_hdl, bool j_periodic)
bool cstr2string(const char *cstr, int cstr_size, std::string &str)
bool cxios_is_defined_expand_domain_i_periodic(expand_domain_Ptr expand_domain_hdl)