source: XIOS/trunk/src/node/transformation.hpp @ 622

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

Final testing transfomation algorithm: inverse axis (local commit)

+) Make some minor change to make sure one element (axis or domain) be able to have several similar transformation

Test
+) On Curie
+) test_new_feature: test passed with correct data written

File size: 803 bytes
Line 
1#ifndef __XMLIO_CTransformation__
2#define __XMLIO_CTransformation__
3
4#include "xmlioserver_spl.hpp"
5#include "transformation_enum.hpp"
6
7namespace xios {
8
9  ///--------------------------------------------------------------
10  /*!
11    \class CTransformation
12    This class describes inverse_axis in xml file.
13  */
14  template<typename T>
15  class CTransformation
16  {
17  public:
18    typedef typename std::list<std::pair<ETranformationType, CTransformation<T>* > > TransformationMapTypes;
19    typedef TransformationMapTypes TransMapTypes;
20
21    public :
22      /// Constructeurs ///
23      CTransformation(void) {}
24      virtual void checkValid(T* dest) = 0;
25
26      /// Destructeur ///
27      virtual ~CTransformation(void) {}
28  }; // class CTransformation
29
30} // namespace xios
31
32#endif // __XMLIO_CTransformation__
Note: See TracBrowser for help on using the repository browser.