Last change
on this file since 419 was
369,
checked in by ymipsl, 12 years ago
|
Major Update
- redesign Type and attribute manipulation
- add enumerate type and attribute
- use blitz class array instead of boost class array
YM
|
File size:
1.1 KB
|
Rev | Line | |
---|
[219] | 1 | #ifndef __XMLIO_CAverage__ |
---|
| 2 | #define __XMLIO_CAverage__ |
---|
| 3 | |
---|
| 4 | /// xmlioserver headers /// |
---|
| 5 | #include "functor.hpp" |
---|
[369] | 6 | #include "array_new.hpp" |
---|
[219] | 7 | |
---|
[335] | 8 | namespace xios |
---|
[219] | 9 | { |
---|
| 10 | namespace func |
---|
| 11 | { |
---|
| 12 | /// ////////////////////// Déclarations ////////////////////// /// |
---|
| 13 | class CAverage : public CFunctor |
---|
| 14 | { |
---|
| 15 | /// Définition de type /// |
---|
| 16 | typedef CFunctor SuperClass; |
---|
| 17 | |
---|
| 18 | public : |
---|
| 19 | |
---|
| 20 | /// Constructeurs /// |
---|
| 21 | //CAverage(void); // Not implemented. |
---|
| 22 | //CAverage(const CFunData & data); |
---|
[369] | 23 | CAverage(CArray<double,1>& doutput); |
---|
[219] | 24 | //CAverage(const CAverage & average); // Not implemented. |
---|
| 25 | //CAverage(const CAverage * const average); // Not implemented. |
---|
| 26 | |
---|
| 27 | /// Traitement /// |
---|
[369] | 28 | virtual void apply(const CArray<double,1>& dinput, CArray<double,1>& doutput); |
---|
[266] | 29 | virtual void final(void) ; |
---|
| 30 | |
---|
[219] | 31 | /// Destructeur /// |
---|
| 32 | virtual ~CAverage(void); |
---|
| 33 | |
---|
| 34 | }; // class CAverage |
---|
| 35 | |
---|
| 36 | } // namespace func |
---|
| 37 | } // namespace xmlioserver |
---|
| 38 | |
---|
| 39 | #endif //__XMLIO_CAverage__ |
---|
Note: See
TracBrowser
for help on using the repository browser.