source: XIOS3/trunk/src/transformation/grid_algorithm_no_data_modification.hpp @ 2426

Last change on this file since 2426 was 2270, checked in by ymipsl, 3 years ago

Tracking memory leak :
Tranformations and algorithms are now managed with shared_ptr.

YM

  • Property svn:executable set to *
File size: 890 bytes
Line 
1#ifndef __XIOS_GRID_ALGORITHM_NO_DATA_MODIFICATION_HPP__
2#define __XIOS_GRID_ALGORITHM_NO_DATA_MODIFICATION_HPP__
3
4#include "grid_algorithm.hpp"
5namespace xios
6{
7  class CGrid;
8  class CGenericAlgorithmTransformation ;
9
10  /*!
11  \class CGenericAlgorithmTransformation
12  This class defines the interface for all other inherited algorithms class
13  */
14class CTransformFilter ;
15class CGarbageCollector ;
16class CGenericAlgorithmTransformation ;
17
18class CGridAlgorithmNoDataModification : public CGridAlgorithm
19{
20  public:
21    CGridAlgorithmNoDataModification(shared_ptr<CGenericAlgorithmTransformation> algo) : CGridAlgorithm(algo) {}
22    ~CGridAlgorithmNoDataModification(void) {};
23    void computeAlgorithm(void) {} ;
24    virtual void apply(const CArray<double,1>& dataIn, CArray<double,1>& dataOut) ;
25};
26
27}
28#endif // __XIOS_GRID_ALGORITHM_NO_DATA_MODIFICATION_HPP__
Note: See TracBrowser for help on using the repository browser.