1 | #ifndef __XIOS_CInterpolateAxis__ |
---|
2 | #define __XIOS_CInterpolateAxis__ |
---|
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 | #include "axis.hpp" |
---|
15 | |
---|
16 | namespace xios { |
---|
17 | /// ////////////////////// Déclarations ////////////////////// /// |
---|
18 | class CInterpolateAxisGroup; |
---|
19 | class CInterpolateAxisAttributes; |
---|
20 | class CInterpolateAxis; |
---|
21 | class CAxis; |
---|
22 | |
---|
23 | ///-------------------------------------------------------------- |
---|
24 | |
---|
25 | // Declare/Define CFileAttribute |
---|
26 | BEGIN_DECLARE_ATTRIBUTE_MAP(CInterpolateAxis) |
---|
27 | #include "interpolate_axis_attribute.conf" |
---|
28 | END_DECLARE_ATTRIBUTE_MAP(CInterpolateAxis) |
---|
29 | |
---|
30 | ///-------------------------------------------------------------- |
---|
31 | /*! |
---|
32 | \class CInterpolateAxis |
---|
33 | This class describes interpolate_axis in xml file. |
---|
34 | */ |
---|
35 | class CInterpolateAxis |
---|
36 | : public CObjectTemplate<CInterpolateAxis> |
---|
37 | , public CInterpolateAxisAttributes |
---|
38 | , public CTransformation<CAxis> |
---|
39 | { |
---|
40 | public : |
---|
41 | typedef CObjectTemplate<CInterpolateAxis> SuperClass; |
---|
42 | typedef CInterpolateAxisAttributes SuperClassAttribute; |
---|
43 | |
---|
44 | public : |
---|
45 | /// Constructeurs /// |
---|
46 | CInterpolateAxis(void); |
---|
47 | explicit CInterpolateAxis(const StdString& id); |
---|
48 | |
---|
49 | /// Destructeur /// |
---|
50 | virtual ~CInterpolateAxis(void); |
---|
51 | |
---|
52 | virtual void checkValid(CAxis* axisDest); |
---|
53 | |
---|
54 | std::vector<StdString> checkAuxInputs_(); |
---|
55 | |
---|
56 | /// Accesseurs statiques /// |
---|
57 | static StdString GetName(void); |
---|
58 | static StdString GetDefName(void); |
---|
59 | static ENodeType GetType(void); |
---|
60 | private: |
---|
61 | static bool registerTrans(); |
---|
62 | static CTransformation<CAxis>* create(const StdString& id, xml::CXMLNode* node); |
---|
63 | static bool _dummyRegistered; |
---|
64 | }; // class CInterpolateAxis |
---|
65 | |
---|
66 | DECLARE_GROUP(CInterpolateAxis); |
---|
67 | } // namespace xios |
---|
68 | |
---|
69 | #endif // __XIOS_CInterpolateAxis__ |
---|