source: XIOS/trunk/src/interface/c_attr/icextract_axis_to_scalar_attr.cpp @ 981

Last change on this file since 981 was 981, checked in by mhnguyen, 5 years ago

Fortran interfaces:

+) Adding Fortran interfaces of transformation

Test
+) Only complilation on Curie

File size: 1.4 KB
Line 
1/* ************************************************************************** *
2 *               Interface auto generated - do not modify                     *
3 * ************************************************************************** */
4
5#include <boost/multi_array.hpp>
6#include <boost/shared_ptr.hpp>
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
16extern "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.