Ignore:
Timestamp:
12/06/20 22:14:56 (3 years ago)
Author:
ymipsl
Message:

intermediate commit for new tranformation engine?
YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/node/reduce_axis_to_scalar.hpp

    r888 r1984  
    4040      typedef CObjectTemplate<CReduceAxisToScalar> SuperClass; 
    4141      typedef CReduceAxisToScalarAttributes SuperClassAttribute; 
     42      typedef CReduceAxisToScalar MyClass ; 
     43      typedef CTransformation<CScalar> SuperTransform ; 
    4244 
    4345    public : 
     
    5557      static StdString GetDefName(void); 
    5658      static ENodeType GetType(void); 
     59      const string& getId(void) { return this->SuperClass::getId();} 
     60      ETranformationType getTransformationType(void) { return TRANS_REDUCE_AXIS_TO_SCALAR ;} 
     61      static CTransformation<CScalar>* getTransformation(const StdString& id) { return SuperClass::get(id);} 
     62      virtual void inheritFrom(SuperTransform* srcTransform) { solveDescInheritance(true, this->SuperClass::get((MyClass*)srcTransform)) ;} 
    5763    private: 
    5864      static bool registerTrans(); 
Note: See TracChangeset for help on using the changeset viewer.