Last change
on this file since 1598 was
1542,
checked in by oabramkina, 6 years ago
|
Replacing Boost's unordered_map and shared_pointer by its STL counterparts.
Two notes for Curie:
- one can see the content of unordered_map with ddt only if XIOS has been compiled with gnu
- XIOS will not compile any more with pgi (all available versions use old STL which are not up to the c++11 norms)
|
File size:
1.4 KB
|
Line | |
---|
1 | /* ************************************************************************** * |
---|
2 | * Interface auto generated - do not modify * |
---|
3 | * ************************************************************************** */ |
---|
4 | |
---|
5 | #include <boost/multi_array.hpp> |
---|
6 | #include <memory> |
---|
7 | #include "xios.hpp" |
---|
8 | #include "attribute_template.hpp" |
---|
9 | #include "object_template.hpp" |
---|
10 | #include "group_template.hpp" |
---|
11 | #include "icutil.hpp" |
---|
12 | #include "icdate.hpp" |
---|
13 | #include "timer.hpp" |
---|
14 | #include "node_type.hpp" |
---|
15 | |
---|
16 | extern "C" |
---|
17 | { |
---|
18 | typedef xios::CExtractAxisToScalar* extract_axis_to_scalar_Ptr; |
---|
19 | |
---|
20 | void cxios_set_extract_axis_to_scalar_position(extract_axis_to_scalar_Ptr extract_axis_to_scalar_hdl, int position) |
---|
21 | { |
---|
22 | CTimer::get("XIOS").resume(); |
---|
23 | extract_axis_to_scalar_hdl->position.setValue(position); |
---|
24 | CTimer::get("XIOS").suspend(); |
---|
25 | } |
---|
26 | |
---|
27 | void cxios_get_extract_axis_to_scalar_position(extract_axis_to_scalar_Ptr extract_axis_to_scalar_hdl, int* position) |
---|
28 | { |
---|
29 | CTimer::get("XIOS").resume(); |
---|
30 | *position = extract_axis_to_scalar_hdl->position.getInheritedValue(); |
---|
31 | CTimer::get("XIOS").suspend(); |
---|
32 | } |
---|
33 | |
---|
34 | bool cxios_is_defined_extract_axis_to_scalar_position(extract_axis_to_scalar_Ptr extract_axis_to_scalar_hdl) |
---|
35 | { |
---|
36 | CTimer::get("XIOS").resume(); |
---|
37 | bool isDefined = extract_axis_to_scalar_hdl->position.hasInheritedValue(); |
---|
38 | CTimer::get("XIOS").suspend(); |
---|
39 | return isDefined; |
---|
40 | } |
---|
41 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.