source: XIOS/trunk/src/functor/once.hpp @ 449

Last change on this file since 449 was 449, checked in by ymipsl, 11 years ago

Add unstructured grid management.

YM

File size: 1008 bytes
Line 
1#ifndef __XMLIO_COnce__
2#define __XMLIO_COnce__
3
4/// xios headers ///
5#include "functor.hpp"
6#include "array_new.hpp"
7
8namespace xios
9{
10   namespace func
11   {
12      /// ////////////////////// Déclarations ////////////////////// ///
13      class COnce : public CFunctor
14      {
15         /// Définition de type ///
16         typedef CFunctor SuperClass;
17
18         public :
19
20            /// Constructeurs ///
21            //COnce(void);                       // Not implemented.
22            COnce(CArray<double,1>& doutput);
23            //COnce(const COnce & once);         // Not implemented.
24            //COnce(const COnce * const once);   // Not implemented.
25
26            /// Traitement ///
27            virtual void apply(const CArray<double,1>& dinput, CArray<double,1>& doutput);
28            virtual ETimeType timeType(void) { return once ; }
29
30            /// Destructeur ///
31            virtual ~COnce(void);
32
33      }; // class COnce
34
35   } // namespace func
36} // namespace xios
37
38#endif //__XMLIO_COnce__
39
Note: See TracBrowser for help on using the repository browser.