- Timestamp:
- 12/09/21 12:28:20 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/transformation/transformation.hpp
r2270 r2274 53 53 public: 54 54 virtual ~CTransformation(void) {} 55 55 static void unregisterAllTransformations(); 56 56 protected: 57 57 typedef CTransformation<T>* (*createTransformationCallBack)(const StdString&, xml::CXMLNode*); … … 62 62 static bool registerTransformation(ETranformationType transType, tuple<createTransformationCallBack,getIdTransformationCallBack> callBackFunctions); 63 63 static bool unregisterTransformation(ETranformationType transType); 64 65 64 66 65 67 protected: … … 113 115 } 114 116 117 template<typename T> 118 void CTransformation<T>::unregisterAllTransformations(void) 119 { 120 if (0 != callBacks_) 121 { 122 callBacks_->clear(); 123 delete callBacks_ ; 124 } 125 } 126 115 127 } // namespace xios 116 128
Note: See TracChangeset
for help on using the changeset viewer.