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

Last change on this file since 621 was 621, checked in by mhnguyen, 9 years ago

Implementing generic transformation algorithm (local commit)

+) Change a little bit to make sure everything work in order

Test
+) test_new_features passe with inverse

File size: 1.7 KB
Line 
1#ifndef __XMLIO_CInverseAxis__
2#define __XMLIO_CInverseAxis__
3
4/// xios headers ///
5#include "xmlioserver_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    private:
57
58  }; // class CInverseAxis
59
60  DECLARE_GROUP(CInverseAxis);
61} // namespace xios
62
63#endif // __XMLIO_CInverseAxis__
Note: See TracBrowser for help on using the repository browser.