Last change
on this file since 219 was
219,
checked in by hozdoba, 13 years ago
|
Préparation nouvelle arborescence
|
File size:
1.0 KB
|
Rev | Line | |
---|
[219] | 1 | #ifndef __XMLIO_CAverage__ |
---|
| 2 | #define __XMLIO_CAverage__ |
---|
| 3 | |
---|
| 4 | /// xmlioserver headers /// |
---|
| 5 | #include "functor.hpp" |
---|
| 6 | |
---|
| 7 | namespace xmlioserver |
---|
| 8 | { |
---|
| 9 | namespace func |
---|
| 10 | { |
---|
| 11 | /// ////////////////////// Déclarations ////////////////////// /// |
---|
| 12 | class CAverage : public CFunctor |
---|
| 13 | { |
---|
| 14 | /// Définition de type /// |
---|
| 15 | typedef CFunctor SuperClass; |
---|
| 16 | typedef ARRAY(double, 1) DoubleArray; |
---|
| 17 | |
---|
| 18 | public : |
---|
| 19 | |
---|
| 20 | /// Constructeurs /// |
---|
| 21 | //CAverage(void); // Not implemented. |
---|
| 22 | //CAverage(const CFunData & data); |
---|
| 23 | CAverage(DoubleArray doutput); |
---|
| 24 | //CAverage(const CAverage & average); // Not implemented. |
---|
| 25 | //CAverage(const CAverage * const average); // Not implemented. |
---|
| 26 | |
---|
| 27 | /// Traitement /// |
---|
| 28 | virtual void apply(const DoubleArray dinput, DoubleArray doutput); |
---|
| 29 | |
---|
| 30 | /// Destructeur /// |
---|
| 31 | virtual ~CAverage(void); |
---|
| 32 | |
---|
| 33 | }; // class CAverage |
---|
| 34 | |
---|
| 35 | } // namespace func |
---|
| 36 | } // namespace xmlioserver |
---|
| 37 | |
---|
| 38 | #endif //__XMLIO_CAverage__ |
---|
Note: See
TracBrowser
for help on using the repository browser.