[625] | 1 | #ifndef __XIOS_CInverseAxis__ |
---|
| 2 | #define __XIOS_CInverseAxis__ |
---|
[621] | 3 | |
---|
| 4 | /// xios headers /// |
---|
[625] | 5 | #include "xios_spl.hpp" |
---|
[621] | 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 | |
---|
| 15 | namespace 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); |
---|
[836] | 56 | |
---|
[621] | 57 | private: |
---|
[836] | 58 | static bool registerTrans(); |
---|
| 59 | static CTransformation<CAxis>* create(const StdString& id, xml::CXMLNode* node); |
---|
| 60 | static bool _dummyRegistered; |
---|
[621] | 61 | |
---|
| 62 | }; // class CInverseAxis |
---|
| 63 | |
---|
| 64 | DECLARE_GROUP(CInverseAxis); |
---|
| 65 | } // namespace xios |
---|
| 66 | |
---|
[625] | 67 | #endif // __XIOS_CInverseAxis__ |
---|