source: XIOS/trunk/src/node/zoom_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.6 KB
Line 
1#ifndef __XMLIO_CZoomAxis__
2#define __XMLIO_CZoomAxis__
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#include "axis.hpp"
15
16namespace xios {
17  /// ////////////////////// Déclarations ////////////////////// ///
18  class CZoomAxisGroup;
19  class CZoomAxisAttributes;
20  class CZoomAxis;
21  class CAxis;
22
23  ///--------------------------------------------------------------
24
25  // Declare/Define CFileAttribute
26  BEGIN_DECLARE_ATTRIBUTE_MAP(CZoomAxis)
27#include "zoom_axis_attribute.conf"
28  END_DECLARE_ATTRIBUTE_MAP(CZoomAxis)
29
30  ///--------------------------------------------------------------
31  /*!
32    \class CZoomAxis
33    This class describes zoom_axis in xml file.
34  */
35  class CZoomAxis
36    : public CObjectTemplate<CZoomAxis>
37    , public CZoomAxisAttributes
38    , public CTransformation<CAxis>
39  {
40    public :
41      typedef CObjectTemplate<CZoomAxis> SuperClass;
42      typedef CZoomAxisAttributes SuperClassAttribute;
43
44    public :
45      /// Constructeurs ///
46      CZoomAxis(void);
47      explicit CZoomAxis(const StdString& id);
48
49      /// Destructeur ///
50      virtual ~CZoomAxis(void);
51
52      virtual void checkValid(CAxis* axisDest);
53
54      /// Accesseurs statiques ///
55      static StdString GetName(void);
56      static StdString GetDefName(void);
57      static ENodeType GetType(void);
58    private:
59
60  }; // class CZoomAxis
61
62  DECLARE_GROUP(CZoomAxis);
63} // namespace xios
64
65#endif // __XMLIO_CZoomAxis__
Note: See TracBrowser for help on using the repository browser.