source: XIOS/trunk/src/interface/c_attr/icaxisgroup_attr.cpp @ 1124

Last change on this file since 1124 was 1052, checked in by ymipsl, 8 years ago

Generate fortran interface for new attributes from previous commit.

YM

  • Property copyright set to
    Software name : XIOS (Xml I/O Server)
    http://forge.ipsl.jussieu.fr/ioserver
    Creation date : January 2009
    Licence : CeCCIL version2
    see license file in root directory : Licence_CeCILL_V2-en.txt
    or http://www.cecill.info/licences/Licence_CeCILL_V2-en.html
    Holder : CEA/LSCE (Laboratoire des Sciences du CLimat et de l'Environnement)
    CNRS/IPSL (Institut Pierre Simon Laplace)
    Project Manager : Yann Meurdesoif
    yann.meurdesoif@cea.fr
  • Property svn:eol-style set to native
File size: 17.0 KB
RevLine 
[325]1/* ************************************************************************** *
[581]2 *               Interface auto generated - do not modify                     *
[325]3 * ************************************************************************** */
4
5#include <boost/multi_array.hpp>
6#include <boost/shared_ptr.hpp>
[591]7#include "xios.hpp"
[352]8#include "attribute_template.hpp"
9#include "object_template.hpp"
10#include "group_template.hpp"
[325]11#include "icutil.hpp"
[532]12#include "icdate.hpp"
[347]13#include "timer.hpp"
[369]14#include "node_type.hpp"
[325]15
16extern "C"
17{
[581]18  typedef xios::CAxisGroup* axisgroup_Ptr;
19
[546]20  void cxios_set_axisgroup_axis_ref(axisgroup_Ptr axisgroup_hdl, const char * axis_ref, int axis_ref_size)
21  {
22    std::string axis_ref_str;
[581]23    if (!cstr2string(axis_ref, axis_ref_size, axis_ref_str)) return;
24    CTimer::get("XIOS").resume();
[546]25    axisgroup_hdl->axis_ref.setValue(axis_ref_str);
[581]26    CTimer::get("XIOS").suspend();
[546]27  }
[581]28
[546]29  void cxios_get_axisgroup_axis_ref(axisgroup_Ptr axisgroup_hdl, char * axis_ref, int axis_ref_size)
30  {
[581]31    CTimer::get("XIOS").resume();
32    if (!string_copy(axisgroup_hdl->axis_ref.getInheritedValue(), axis_ref, axis_ref_size))
33      ERROR("void cxios_get_axisgroup_axis_ref(axisgroup_Ptr axisgroup_hdl, char * axis_ref, int axis_ref_size)", << "Input string is too short");
34    CTimer::get("XIOS").suspend();
[546]35  }
[581]36
37  bool cxios_is_defined_axisgroup_axis_ref(axisgroup_Ptr axisgroup_hdl)
[546]38  {
39     CTimer::get("XIOS").resume();
[581]40     bool isDefined = axisgroup_hdl->axis_ref.hasInheritedValue();
[546]41     CTimer::get("XIOS").suspend();
[581]42     return isDefined;
[546]43  }
[581]44
45
[666]46  void cxios_set_axisgroup_begin(axisgroup_Ptr axisgroup_hdl, int begin)
47  {
48    CTimer::get("XIOS").resume();
49    axisgroup_hdl->begin.setValue(begin);
50    CTimer::get("XIOS").suspend();
51  }
52
53  void cxios_get_axisgroup_begin(axisgroup_Ptr axisgroup_hdl, int* begin)
54  {
55    CTimer::get("XIOS").resume();
56    *begin = axisgroup_hdl->begin.getInheritedValue();
57    CTimer::get("XIOS").suspend();
58  }
59
60  bool cxios_is_defined_axisgroup_begin(axisgroup_Ptr axisgroup_hdl)
61  {
62     CTimer::get("XIOS").resume();
63     bool isDefined = axisgroup_hdl->begin.hasInheritedValue();
64     CTimer::get("XIOS").suspend();
65     return isDefined;
66  }
67
68
[674]69  void cxios_set_axisgroup_bounds(axisgroup_Ptr axisgroup_hdl, double* bounds, int* extent)
[609]70  {
71    CTimer::get("XIOS").resume();
[674]72    CArray<double,2> tmp(bounds, shape(extent[0], extent[1]), neverDeleteData);
[609]73    axisgroup_hdl->bounds.reference(tmp.copy());
74     CTimer::get("XIOS").suspend();
75  }
76
[674]77  void cxios_get_axisgroup_bounds(axisgroup_Ptr axisgroup_hdl, double* bounds, int* extent)
[609]78  {
79    CTimer::get("XIOS").resume();
[674]80    CArray<double,2> tmp(bounds, shape(extent[0], extent[1]), neverDeleteData);
[609]81    tmp=axisgroup_hdl->bounds.getInheritedValue();
82     CTimer::get("XIOS").suspend();
83  }
84
85  bool cxios_is_defined_axisgroup_bounds(axisgroup_Ptr axisgroup_hdl)
86  {
87     CTimer::get("XIOS").resume();
88     bool isDefined = axisgroup_hdl->bounds.hasInheritedValue();
89     CTimer::get("XIOS").suspend();
90     return isDefined;
91  }
92
93
[555]94  void cxios_set_axisgroup_data_begin(axisgroup_Ptr axisgroup_hdl, int data_begin)
95  {
[581]96    CTimer::get("XIOS").resume();
[555]97    axisgroup_hdl->data_begin.setValue(data_begin);
[581]98    CTimer::get("XIOS").suspend();
[555]99  }
[581]100
[555]101  void cxios_get_axisgroup_data_begin(axisgroup_Ptr axisgroup_hdl, int* data_begin)
102  {
[581]103    CTimer::get("XIOS").resume();
[555]104    *data_begin = axisgroup_hdl->data_begin.getInheritedValue();
[581]105    CTimer::get("XIOS").suspend();
[555]106  }
[581]107
108  bool cxios_is_defined_axisgroup_data_begin(axisgroup_Ptr axisgroup_hdl)
[555]109  {
110     CTimer::get("XIOS").resume();
[581]111     bool isDefined = axisgroup_hdl->data_begin.hasInheritedValue();
[555]112     CTimer::get("XIOS").suspend();
[581]113     return isDefined;
[555]114  }
[581]115
116
[674]117  void cxios_set_axisgroup_data_index(axisgroup_Ptr axisgroup_hdl, int* data_index, int* extent)
[555]118  {
119    CTimer::get("XIOS").resume();
[674]120    CArray<int,1> tmp(data_index, shape(extent[0]), neverDeleteData);
[555]121    axisgroup_hdl->data_index.reference(tmp.copy());
122     CTimer::get("XIOS").suspend();
123  }
[581]124
[674]125  void cxios_get_axisgroup_data_index(axisgroup_Ptr axisgroup_hdl, int* data_index, int* extent)
[555]126  {
127    CTimer::get("XIOS").resume();
[674]128    CArray<int,1> tmp(data_index, shape(extent[0]), neverDeleteData);
[581]129    tmp=axisgroup_hdl->data_index.getInheritedValue();
[555]130     CTimer::get("XIOS").suspend();
131  }
[581]132
133  bool cxios_is_defined_axisgroup_data_index(axisgroup_Ptr axisgroup_hdl)
[555]134  {
135     CTimer::get("XIOS").resume();
[581]136     bool isDefined = axisgroup_hdl->data_index.hasInheritedValue();
[555]137     CTimer::get("XIOS").suspend();
[581]138     return isDefined;
[555]139  }
[581]140
141
[555]142  void cxios_set_axisgroup_data_n(axisgroup_Ptr axisgroup_hdl, int data_n)
143  {
[581]144    CTimer::get("XIOS").resume();
[555]145    axisgroup_hdl->data_n.setValue(data_n);
[581]146    CTimer::get("XIOS").suspend();
[555]147  }
[581]148
[555]149  void cxios_get_axisgroup_data_n(axisgroup_Ptr axisgroup_hdl, int* data_n)
150  {
[581]151    CTimer::get("XIOS").resume();
[555]152    *data_n = axisgroup_hdl->data_n.getInheritedValue();
[581]153    CTimer::get("XIOS").suspend();
[555]154  }
[581]155
156  bool cxios_is_defined_axisgroup_data_n(axisgroup_Ptr axisgroup_hdl)
[555]157  {
158     CTimer::get("XIOS").resume();
[581]159     bool isDefined = axisgroup_hdl->data_n.hasInheritedValue();
[555]160     CTimer::get("XIOS").suspend();
[581]161     return isDefined;
[555]162  }
[581]163
164
[325]165  void cxios_set_axisgroup_group_ref(axisgroup_Ptr axisgroup_hdl, const char * group_ref, int group_ref_size)
166  {
167    std::string group_ref_str;
[581]168    if (!cstr2string(group_ref, group_ref_size, group_ref_str)) return;
169    CTimer::get("XIOS").resume();
[325]170    axisgroup_hdl->group_ref.setValue(group_ref_str);
[581]171    CTimer::get("XIOS").suspend();
[325]172  }
[581]173
[325]174  void cxios_get_axisgroup_group_ref(axisgroup_Ptr axisgroup_hdl, char * group_ref, int group_ref_size)
175  {
[581]176    CTimer::get("XIOS").resume();
177    if (!string_copy(axisgroup_hdl->group_ref.getInheritedValue(), group_ref, group_ref_size))
178      ERROR("void cxios_get_axisgroup_group_ref(axisgroup_Ptr axisgroup_hdl, char * group_ref, int group_ref_size)", << "Input string is too short");
179    CTimer::get("XIOS").suspend();
[325]180  }
[581]181
182  bool cxios_is_defined_axisgroup_group_ref(axisgroup_Ptr axisgroup_hdl)
[432]183  {
184     CTimer::get("XIOS").resume();
[581]185     bool isDefined = axisgroup_hdl->group_ref.hasInheritedValue();
[432]186     CTimer::get("XIOS").suspend();
[581]187     return isDefined;
[432]188  }
[581]189
190
[817]191  void cxios_set_axisgroup_index(axisgroup_Ptr axisgroup_hdl, int* index, int* extent)
192  {
193    CTimer::get("XIOS").resume();
194    CArray<int,1> tmp(index, shape(extent[0]), neverDeleteData);
195    axisgroup_hdl->index.reference(tmp.copy());
196     CTimer::get("XIOS").suspend();
197  }
198
199  void cxios_get_axisgroup_index(axisgroup_Ptr axisgroup_hdl, int* index, int* extent)
200  {
201    CTimer::get("XIOS").resume();
202    CArray<int,1> tmp(index, shape(extent[0]), neverDeleteData);
203    tmp=axisgroup_hdl->index.getInheritedValue();
204     CTimer::get("XIOS").suspend();
205  }
206
207  bool cxios_is_defined_axisgroup_index(axisgroup_Ptr axisgroup_hdl)
208  {
209     CTimer::get("XIOS").resume();
210     bool isDefined = axisgroup_hdl->index.hasInheritedValue();
211     CTimer::get("XIOS").suspend();
212     return isDefined;
213  }
214
215
[1052]216  void cxios_set_axisgroup_label(axisgroup_Ptr axisgroup_hdl, char* label, int str_len, int* str_size, int* extent)
217  {
218    CTimer::get("XIOS").resume();
219    axisgroup_hdl->label.resize(shape(extent[0]));
220    Array<StdString,1>::iterator it, itb=axisgroup_hdl->label.begin(), ite=axisgroup_hdl->label.end() ;
221    int i, n ;
222    for(it=itb, i=0, n=0 ; it!=ite ; ++it,n+=str_len,++i) *it=StdString(&label[n],str_size[i]) ;
223    CTimer::get("XIOS").suspend();
224  }
225
226  void cxios_get_axisgroup_label(axisgroup_Ptr axisgroup_hdl, char* label, int str_size, int* extent)
227  {
228    CTimer::get("XIOS").resume();
229    Array<StdString,1>::const_iterator it, itb=axisgroup_hdl->label.getInheritedValue().begin(), ite=axisgroup_hdl->label.getInheritedValue().end() ;
230    int n ;
231    for(it=itb, n=0 ; it!=ite ; ++it, n+=str_size) it->copy(&label[n],it->size()) ; 
232    CTimer::get("XIOS").suspend();
233  }
234
235  bool cxios_is_defined_axisgroup_label(axisgroup_Ptr axisgroup_hdl)
236  {
237     CTimer::get("XIOS").resume();
238     bool isDefined = axisgroup_hdl->label.hasInheritedValue();
239     CTimer::get("XIOS").suspend();
240     return isDefined;
241  }
242
243
[325]244  void cxios_set_axisgroup_long_name(axisgroup_Ptr axisgroup_hdl, const char * long_name, int long_name_size)
245  {
246    std::string long_name_str;
[581]247    if (!cstr2string(long_name, long_name_size, long_name_str)) return;
248    CTimer::get("XIOS").resume();
[325]249    axisgroup_hdl->long_name.setValue(long_name_str);
[581]250    CTimer::get("XIOS").suspend();
[325]251  }
[581]252
[325]253  void cxios_get_axisgroup_long_name(axisgroup_Ptr axisgroup_hdl, char * long_name, int long_name_size)
254  {
[581]255    CTimer::get("XIOS").resume();
256    if (!string_copy(axisgroup_hdl->long_name.getInheritedValue(), long_name, long_name_size))
257      ERROR("void cxios_get_axisgroup_long_name(axisgroup_Ptr axisgroup_hdl, char * long_name, int long_name_size)", << "Input string is too short");
258    CTimer::get("XIOS").suspend();
[325]259  }
[581]260
261  bool cxios_is_defined_axisgroup_long_name(axisgroup_Ptr axisgroup_hdl)
[432]262  {
263     CTimer::get("XIOS").resume();
[581]264     bool isDefined = axisgroup_hdl->long_name.hasInheritedValue();
[432]265     CTimer::get("XIOS").suspend();
[581]266     return isDefined;
[432]267  }
[581]268
269
[674]270  void cxios_set_axisgroup_mask(axisgroup_Ptr axisgroup_hdl, bool* mask, int* extent)
[555]271  {
272    CTimer::get("XIOS").resume();
[674]273    CArray<bool,1> tmp(mask, shape(extent[0]), neverDeleteData);
[555]274    axisgroup_hdl->mask.reference(tmp.copy());
275     CTimer::get("XIOS").suspend();
276  }
[581]277
[674]278  void cxios_get_axisgroup_mask(axisgroup_Ptr axisgroup_hdl, bool* mask, int* extent)
[555]279  {
280    CTimer::get("XIOS").resume();
[674]281    CArray<bool,1> tmp(mask, shape(extent[0]), neverDeleteData);
[581]282    tmp=axisgroup_hdl->mask.getInheritedValue();
[555]283     CTimer::get("XIOS").suspend();
284  }
[581]285
286  bool cxios_is_defined_axisgroup_mask(axisgroup_Ptr axisgroup_hdl)
[555]287  {
288     CTimer::get("XIOS").resume();
[581]289     bool isDefined = axisgroup_hdl->mask.hasInheritedValue();
[555]290     CTimer::get("XIOS").suspend();
[581]291     return isDefined;
[555]292  }
[581]293
294
[666]295  void cxios_set_axisgroup_n(axisgroup_Ptr axisgroup_hdl, int n)
[325]296  {
[581]297    CTimer::get("XIOS").resume();
[666]298    axisgroup_hdl->n.setValue(n);
[581]299    CTimer::get("XIOS").suspend();
[325]300  }
[581]301
[666]302  void cxios_get_axisgroup_n(axisgroup_Ptr axisgroup_hdl, int* n)
[325]303  {
[581]304    CTimer::get("XIOS").resume();
[666]305    *n = axisgroup_hdl->n.getInheritedValue();
[581]306    CTimer::get("XIOS").suspend();
[325]307  }
[581]308
[666]309  bool cxios_is_defined_axisgroup_n(axisgroup_Ptr axisgroup_hdl)
[432]310  {
311     CTimer::get("XIOS").resume();
[666]312     bool isDefined = axisgroup_hdl->n.hasInheritedValue();
[432]313     CTimer::get("XIOS").suspend();
[581]314     return isDefined;
[432]315  }
[581]316
317
[779]318  void cxios_set_axisgroup_n_distributed_partition(axisgroup_Ptr axisgroup_hdl, int n_distributed_partition)
319  {
320    CTimer::get("XIOS").resume();
321    axisgroup_hdl->n_distributed_partition.setValue(n_distributed_partition);
322    CTimer::get("XIOS").suspend();
323  }
324
325  void cxios_get_axisgroup_n_distributed_partition(axisgroup_Ptr axisgroup_hdl, int* n_distributed_partition)
326  {
327    CTimer::get("XIOS").resume();
328    *n_distributed_partition = axisgroup_hdl->n_distributed_partition.getInheritedValue();
329    CTimer::get("XIOS").suspend();
330  }
331
332  bool cxios_is_defined_axisgroup_n_distributed_partition(axisgroup_Ptr axisgroup_hdl)
333  {
334     CTimer::get("XIOS").resume();
335     bool isDefined = axisgroup_hdl->n_distributed_partition.hasInheritedValue();
336     CTimer::get("XIOS").suspend();
337     return isDefined;
338  }
339
340
[666]341  void cxios_set_axisgroup_n_glo(axisgroup_Ptr axisgroup_hdl, int n_glo)
[555]342  {
[581]343    CTimer::get("XIOS").resume();
[666]344    axisgroup_hdl->n_glo.setValue(n_glo);
[581]345    CTimer::get("XIOS").suspend();
[555]346  }
[581]347
[666]348  void cxios_get_axisgroup_n_glo(axisgroup_Ptr axisgroup_hdl, int* n_glo)
[555]349  {
[581]350    CTimer::get("XIOS").resume();
[666]351    *n_glo = axisgroup_hdl->n_glo.getInheritedValue();
[581]352    CTimer::get("XIOS").suspend();
[555]353  }
[581]354
[666]355  bool cxios_is_defined_axisgroup_n_glo(axisgroup_Ptr axisgroup_hdl)
[555]356  {
357     CTimer::get("XIOS").resume();
[666]358     bool isDefined = axisgroup_hdl->n_glo.hasInheritedValue();
[555]359     CTimer::get("XIOS").suspend();
[581]360     return isDefined;
[555]361  }
[581]362
363
[666]364  void cxios_set_axisgroup_name(axisgroup_Ptr axisgroup_hdl, const char * name, int name_size)
[415]365  {
[666]366    std::string name_str;
367    if (!cstr2string(name, name_size, name_str)) return;
[581]368    CTimer::get("XIOS").resume();
[666]369    axisgroup_hdl->name.setValue(name_str);
[581]370    CTimer::get("XIOS").suspend();
[415]371  }
[581]372
[666]373  void cxios_get_axisgroup_name(axisgroup_Ptr axisgroup_hdl, char * name, int name_size)
[415]374  {
[581]375    CTimer::get("XIOS").resume();
[666]376    if (!string_copy(axisgroup_hdl->name.getInheritedValue(), name, name_size))
377      ERROR("void cxios_get_axisgroup_name(axisgroup_Ptr axisgroup_hdl, char * name, int name_size)", << "Input string is too short");
[581]378    CTimer::get("XIOS").suspend();
[415]379  }
[581]380
[666]381  bool cxios_is_defined_axisgroup_name(axisgroup_Ptr axisgroup_hdl)
[432]382  {
383     CTimer::get("XIOS").resume();
[666]384     bool isDefined = axisgroup_hdl->name.hasInheritedValue();
[432]385     CTimer::get("XIOS").suspend();
[581]386     return isDefined;
[432]387  }
[581]388
389
[666]390  void cxios_set_axisgroup_positive(axisgroup_Ptr axisgroup_hdl, const char * positive, int positive_size)
[325]391  {
[666]392    std::string positive_str;
393    if (!cstr2string(positive, positive_size, positive_str)) return;
[581]394    CTimer::get("XIOS").resume();
[666]395    axisgroup_hdl->positive.fromString(positive_str);
[581]396    CTimer::get("XIOS").suspend();
[325]397  }
[581]398
[666]399  void cxios_get_axisgroup_positive(axisgroup_Ptr axisgroup_hdl, char * positive, int positive_size)
[325]400  {
[581]401    CTimer::get("XIOS").resume();
[666]402    if (!string_copy(axisgroup_hdl->positive.getInheritedStringValue(), positive, positive_size))
403      ERROR("void cxios_get_axisgroup_positive(axisgroup_Ptr axisgroup_hdl, char * positive, int positive_size)", << "Input string is too short");
[581]404    CTimer::get("XIOS").suspend();
[325]405  }
[581]406
[666]407  bool cxios_is_defined_axisgroup_positive(axisgroup_Ptr axisgroup_hdl)
[432]408  {
409     CTimer::get("XIOS").resume();
[666]410     bool isDefined = axisgroup_hdl->positive.hasInheritedValue();
[432]411     CTimer::get("XIOS").suspend();
[581]412     return isDefined;
[432]413  }
[581]414
415
[1052]416  void cxios_set_axisgroup_prec(axisgroup_Ptr axisgroup_hdl, int prec)
417  {
418    CTimer::get("XIOS").resume();
419    axisgroup_hdl->prec.setValue(prec);
420    CTimer::get("XIOS").suspend();
421  }
422
423  void cxios_get_axisgroup_prec(axisgroup_Ptr axisgroup_hdl, int* prec)
424  {
425    CTimer::get("XIOS").resume();
426    *prec = axisgroup_hdl->prec.getInheritedValue();
427    CTimer::get("XIOS").suspend();
428  }
429
430  bool cxios_is_defined_axisgroup_prec(axisgroup_Ptr axisgroup_hdl)
431  {
432     CTimer::get("XIOS").resume();
433     bool isDefined = axisgroup_hdl->prec.hasInheritedValue();
434     CTimer::get("XIOS").suspend();
435     return isDefined;
436  }
437
438
[325]439  void cxios_set_axisgroup_standard_name(axisgroup_Ptr axisgroup_hdl, const char * standard_name, int standard_name_size)
440  {
441    std::string standard_name_str;
[581]442    if (!cstr2string(standard_name, standard_name_size, standard_name_str)) return;
443    CTimer::get("XIOS").resume();
[325]444    axisgroup_hdl->standard_name.setValue(standard_name_str);
[581]445    CTimer::get("XIOS").suspend();
[325]446  }
[581]447
[325]448  void cxios_get_axisgroup_standard_name(axisgroup_Ptr axisgroup_hdl, char * standard_name, int standard_name_size)
449  {
[581]450    CTimer::get("XIOS").resume();
451    if (!string_copy(axisgroup_hdl->standard_name.getInheritedValue(), standard_name, standard_name_size))
452      ERROR("void cxios_get_axisgroup_standard_name(axisgroup_Ptr axisgroup_hdl, char * standard_name, int standard_name_size)", << "Input string is too short");
453    CTimer::get("XIOS").suspend();
[325]454  }
[581]455
456  bool cxios_is_defined_axisgroup_standard_name(axisgroup_Ptr axisgroup_hdl)
[432]457  {
458     CTimer::get("XIOS").resume();
[581]459     bool isDefined = axisgroup_hdl->standard_name.hasInheritedValue();
[432]460     CTimer::get("XIOS").suspend();
[581]461     return isDefined;
[432]462  }
[581]463
464
[325]465  void cxios_set_axisgroup_unit(axisgroup_Ptr axisgroup_hdl, const char * unit, int unit_size)
466  {
467    std::string unit_str;
[581]468    if (!cstr2string(unit, unit_size, unit_str)) return;
469    CTimer::get("XIOS").resume();
[325]470    axisgroup_hdl->unit.setValue(unit_str);
[581]471    CTimer::get("XIOS").suspend();
[325]472  }
[581]473
[325]474  void cxios_get_axisgroup_unit(axisgroup_Ptr axisgroup_hdl, char * unit, int unit_size)
475  {
[581]476    CTimer::get("XIOS").resume();
477    if (!string_copy(axisgroup_hdl->unit.getInheritedValue(), unit, unit_size))
478      ERROR("void cxios_get_axisgroup_unit(axisgroup_Ptr axisgroup_hdl, char * unit, int unit_size)", << "Input string is too short");
479    CTimer::get("XIOS").suspend();
[325]480  }
[581]481
482  bool cxios_is_defined_axisgroup_unit(axisgroup_Ptr axisgroup_hdl)
[432]483  {
484     CTimer::get("XIOS").resume();
[581]485     bool isDefined = axisgroup_hdl->unit.hasInheritedValue();
[432]486     CTimer::get("XIOS").suspend();
[581]487     return isDefined;
[432]488  }
[581]489
490
[674]491  void cxios_set_axisgroup_value(axisgroup_Ptr axisgroup_hdl, double* value, int* extent)
[325]492  {
[369]493    CTimer::get("XIOS").resume();
[674]494    CArray<double,1> tmp(value, shape(extent[0]), neverDeleteData);
[369]495    axisgroup_hdl->value.reference(tmp.copy());
[416]496     CTimer::get("XIOS").suspend();
[325]497  }
[581]498
[674]499  void cxios_get_axisgroup_value(axisgroup_Ptr axisgroup_hdl, double* value, int* extent)
[325]500  {
[416]501    CTimer::get("XIOS").resume();
[674]502    CArray<double,1> tmp(value, shape(extent[0]), neverDeleteData);
[581]503    tmp=axisgroup_hdl->value.getInheritedValue();
[347]504     CTimer::get("XIOS").suspend();
[325]505  }
[581]506
507  bool cxios_is_defined_axisgroup_value(axisgroup_Ptr axisgroup_hdl)
[432]508  {
509     CTimer::get("XIOS").resume();
[581]510     bool isDefined = axisgroup_hdl->value.hasInheritedValue();
[432]511     CTimer::get("XIOS").suspend();
[581]512     return isDefined;
[432]513  }
[325]514}
Note: See TracBrowser for help on using the repository browser.