source: XIOS/trunk/src/node/inverse_axis.hpp @ 836

Last change on this file since 836 was 836, checked in by mhnguyen, 8 years ago

Exposing transformation to Fortran interface

+) Export zoom and axis transformation to Fortran interface

Test
+) On Curie
+) All work

File size: 1.8 KB
Line 
1#ifndef __XIOS_CInverseAxis__
2#define __XIOS_CInverseAxis__
3
4/// xios headers ///
5#include "xios_spl.hpp"
6#include "attribute_enum.hpp"
7#include "attribute_enum_impl.hpp"
8#include "attribute_array.hpp"
9#include "declare_attribute.hpp"
10#include "object_template.hpp"
11#include "group_factory.hpp"
12#include "declare_group.hpp"
13#include "transformation.hpp"
14
15namespace xios {
16  /// ////////////////////// Déclarations ////////////////////// ///
17  class CInverseAxisGroup;
18  class CInverseAxisAttributes;
19  class CInverseAxis;
20  class CAxis;
21  ///--------------------------------------------------------------
22
23  // Declare/Define CFileAttribute
24  BEGIN_DECLARE_ATTRIBUTE_MAP(CInverseAxis)
25#include "inverse_axis_attribute.conf"
26  END_DECLARE_ATTRIBUTE_MAP(CInverseAxis)
27
28  ///--------------------------------------------------------------
29  /*!
30    \class CInverseAxis
31    This class describes inverse_axis in xml file.
32  */
33  class CInverseAxis
34    : public CObjectTemplate<CInverseAxis>
35    , public CInverseAxisAttributes
36    , public CTransformation<CAxis>
37  {
38    public :
39      typedef CObjectTemplate<CInverseAxis> SuperClass;
40      typedef CInverseAxisAttributes SuperClassAttribute;
41
42    public :
43      /// Constructeurs ///
44      CInverseAxis(void);
45      explicit CInverseAxis(const StdString& id);
46
47      /// Destructeur ///
48      virtual ~CInverseAxis(void);
49
50      virtual void checkValid(CAxis* axisDest);
51
52      /// Accesseurs statiques ///
53      static StdString GetName(void);
54      static StdString GetDefName(void);
55      static ENodeType GetType(void);
56
57    private:
58      static bool registerTrans();
59      static CTransformation<CAxis>* create(const StdString& id, xml::CXMLNode* node);
60      static bool _dummyRegistered;
61
62  }; // class CInverseAxis
63
64  DECLARE_GROUP(CInverseAxis);
65} // namespace xios
66
67#endif // __XIOS_CInverseAxis__
Note: See TracBrowser for help on using the repository browser.