source: XIOS/trunk/src/interface/c_attr/iczoom_axis_attr.cpp @ 784

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

Generating Fortran interface for zoom_axis and zoom_domain

Test
+) On Curie
+) All results are correct

File size: 2.5 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::CZoomAxis* zoom_axis_Ptr;
19
20  void cxios_set_zoom_axis_zoom_begin(zoom_axis_Ptr zoom_axis_hdl, int zoom_begin)
21  {
22    CTimer::get("XIOS").resume();
23    zoom_axis_hdl->zoom_begin.setValue(zoom_begin);
24    CTimer::get("XIOS").suspend();
25  }
26
27  void cxios_get_zoom_axis_zoom_begin(zoom_axis_Ptr zoom_axis_hdl, int* zoom_begin)
28  {
29    CTimer::get("XIOS").resume();
30    *zoom_begin = zoom_axis_hdl->zoom_begin.getInheritedValue();
31    CTimer::get("XIOS").suspend();
32  }
33
34  bool cxios_is_defined_zoom_axis_zoom_begin(zoom_axis_Ptr zoom_axis_hdl)
35  {
36     CTimer::get("XIOS").resume();
37     bool isDefined = zoom_axis_hdl->zoom_begin.hasInheritedValue();
38     CTimer::get("XIOS").suspend();
39     return isDefined;
40  }
41
42
43  void cxios_set_zoom_axis_zoom_end(zoom_axis_Ptr zoom_axis_hdl, int zoom_end)
44  {
45    CTimer::get("XIOS").resume();
46    zoom_axis_hdl->zoom_end.setValue(zoom_end);
47    CTimer::get("XIOS").suspend();
48  }
49
50  void cxios_get_zoom_axis_zoom_end(zoom_axis_Ptr zoom_axis_hdl, int* zoom_end)
51  {
52    CTimer::get("XIOS").resume();
53    *zoom_end = zoom_axis_hdl->zoom_end.getInheritedValue();
54    CTimer::get("XIOS").suspend();
55  }
56
57  bool cxios_is_defined_zoom_axis_zoom_end(zoom_axis_Ptr zoom_axis_hdl)
58  {
59     CTimer::get("XIOS").resume();
60     bool isDefined = zoom_axis_hdl->zoom_end.hasInheritedValue();
61     CTimer::get("XIOS").suspend();
62     return isDefined;
63  }
64
65
66  void cxios_set_zoom_axis_zoom_size(zoom_axis_Ptr zoom_axis_hdl, int zoom_size)
67  {
68    CTimer::get("XIOS").resume();
69    zoom_axis_hdl->zoom_size.setValue(zoom_size);
70    CTimer::get("XIOS").suspend();
71  }
72
73  void cxios_get_zoom_axis_zoom_size(zoom_axis_Ptr zoom_axis_hdl, int* zoom_size)
74  {
75    CTimer::get("XIOS").resume();
76    *zoom_size = zoom_axis_hdl->zoom_size.getInheritedValue();
77    CTimer::get("XIOS").suspend();
78  }
79
80  bool cxios_is_defined_zoom_axis_zoom_size(zoom_axis_Ptr zoom_axis_hdl)
81  {
82     CTimer::get("XIOS").resume();
83     bool isDefined = zoom_axis_hdl->zoom_size.hasInheritedValue();
84     CTimer::get("XIOS").suspend();
85     return isDefined;
86  }
87}
Note: See TracBrowser for help on using the repository browser.