Changeset 369 for XIOS/trunk/src/functor.hpp
- Timestamp:
- 10/16/12 13:04:44 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/functor.hpp
r352 r369 5 5 #include "xmlioserver_spl.hpp" 6 6 #include "exception.hpp" 7 #include "array .hpp"7 #include "array_new.hpp" 8 8 9 9 namespace xios … … 16 16 /// Définition de type /// 17 17 typedef CObject SuperClass; 18 typedef ARRAY(double, 1) DoubleArray;19 18 20 19 public : 21 20 22 21 /// Accesseurs /// 23 DoubleArraygetDataOutput(void) const;22 CArray<double,1> getDataOutput(void) const; 24 23 /// Opérateur /// 25 DoubleArray operator ()(const DoubleArraydinput);24 CArray<double,1> operator ()(const CArray<double,1>& dinput); 26 25 27 26 /// Destructeur /// … … 34 33 35 34 /// Traitement /// 36 virtual void apply(const DoubleArray dinput, DoubleArraydoutput) = 0;35 virtual void apply(const CArray<double,1>& dinput, CArray<double,1>& doutput) = 0; 37 36 38 37 /// Autres /// … … 42 41 /// Constructeurs /// 43 42 CFunctor(void); // Not implemented. 44 CFunctor(const StdString & id, DoubleArraydoutput);43 CFunctor(const StdString & id, CArray<double,1>& doutput); 45 44 CFunctor(const CFunctor & functor); // Not implemented. 46 45 CFunctor(const CFunctor * const functor); // Not implemented. 47 46 48 private : 49 47 protected : 50 48 /// Propriétés privées /// 51 DoubleArray doutput; 52 53 protected : 49 CArray<double,1>& doutput; 54 50 /// Propriétés protégées /// 55 51 int nbcall;
Note: See TracChangeset
for help on using the changeset viewer.