1 | /* ************************************************************************** * |
---|
2 | * Interface auto generated - do not modify * |
---|
3 | * ************************************************************************** */ |
---|
4 | |
---|
5 | #include <boost/multi_array.hpp> |
---|
6 | #include "xios.hpp" |
---|
7 | #include "attribute_template.hpp" |
---|
8 | #include "object_template.hpp" |
---|
9 | #include "group_template.hpp" |
---|
10 | #include "icutil.hpp" |
---|
11 | #include "icdate.hpp" |
---|
12 | #include "timer.hpp" |
---|
13 | #include "node_type.hpp" |
---|
14 | |
---|
15 | extern "C" |
---|
16 | { |
---|
17 | typedef xios::CExtractDomainToAxis* extract_domain_to_axis_Ptr; |
---|
18 | |
---|
19 | void cxios_set_extract_domain_to_axis_direction(extract_domain_to_axis_Ptr extract_domain_to_axis_hdl, const char * direction, int direction_size) |
---|
20 | { |
---|
21 | std::string direction_str; |
---|
22 | if (!cstr2string(direction, direction_size, direction_str)) return; |
---|
23 | CTimer::get("XIOS").resume(); |
---|
24 | extract_domain_to_axis_hdl->direction.fromString(direction_str); |
---|
25 | CTimer::get("XIOS").suspend(); |
---|
26 | } |
---|
27 | |
---|
28 | void cxios_get_extract_domain_to_axis_direction(extract_domain_to_axis_Ptr extract_domain_to_axis_hdl, char * direction, int direction_size) |
---|
29 | { |
---|
30 | CTimer::get("XIOS").resume(); |
---|
31 | if (!string_copy(extract_domain_to_axis_hdl->direction.getInheritedStringValue(), direction, direction_size)) |
---|
32 | ERROR("void cxios_get_extract_domain_to_axis_direction(extract_domain_to_axis_Ptr extract_domain_to_axis_hdl, char * direction, int direction_size)", << "Input string is too short"); |
---|
33 | CTimer::get("XIOS").suspend(); |
---|
34 | } |
---|
35 | |
---|
36 | bool cxios_is_defined_extract_domain_to_axis_direction(extract_domain_to_axis_Ptr extract_domain_to_axis_hdl) |
---|
37 | { |
---|
38 | CTimer::get("XIOS").resume(); |
---|
39 | bool isDefined = extract_domain_to_axis_hdl->direction.hasInheritedValue(); |
---|
40 | CTimer::get("XIOS").suspend(); |
---|
41 | return isDefined; |
---|
42 | } |
---|
43 | |
---|
44 | |
---|
45 | void cxios_set_extract_domain_to_axis_position(extract_domain_to_axis_Ptr extract_domain_to_axis_hdl, int position) |
---|
46 | { |
---|
47 | CTimer::get("XIOS").resume(); |
---|
48 | extract_domain_to_axis_hdl->position.setValue(position); |
---|
49 | CTimer::get("XIOS").suspend(); |
---|
50 | } |
---|
51 | |
---|
52 | void cxios_get_extract_domain_to_axis_position(extract_domain_to_axis_Ptr extract_domain_to_axis_hdl, int* position) |
---|
53 | { |
---|
54 | CTimer::get("XIOS").resume(); |
---|
55 | *position = extract_domain_to_axis_hdl->position.getInheritedValue(); |
---|
56 | CTimer::get("XIOS").suspend(); |
---|
57 | } |
---|
58 | |
---|
59 | bool cxios_is_defined_extract_domain_to_axis_position(extract_domain_to_axis_Ptr extract_domain_to_axis_hdl) |
---|
60 | { |
---|
61 | CTimer::get("XIOS").resume(); |
---|
62 | bool isDefined = extract_domain_to_axis_hdl->position.hasInheritedValue(); |
---|
63 | CTimer::get("XIOS").suspend(); |
---|
64 | return isDefined; |
---|
65 | } |
---|
66 | } |
---|