Salome HOME
b17def5fb6a7f40eafcc1d681add734028e17562
[modules/med.git] / src / MedClient / src / FIELDClient.hxx
1 #ifndef _FIELDCLIENT_HXX
2 #define _FIELDCLIENT_HXX
3
4 #include <SALOMEconfig.h>
5 #include <utilities.h>
6 #include "MEDMEM_Field.hxx"
7 #include "SUPPORTClient.hxx"
8 #include "ReceiverFactory.hxx"
9 #include CORBA_CLIENT_HEADER(MED)
10
11 //exemple _FIELDClient<double,FIELDDOUBLE_ptr>
12 //_FIELDClient<int,FIELDINT_ptr>
13 template<class T1,class T2>
14 class FIELDClient : public MEDMEM::FIELD<T1>
15 {
16 private:
17   typename T2::_ptr_type _fieldPtr;
18   bool _ownSupport;
19 public:
20   FIELDClient(typename T2::_ptr_type ptrCorba,MEDMEM::SUPPORT * S = NULL);
21   ~FIELDClient();
22 private:
23   void fillCopy();
24 };
25
26 #include "FIELDClient.cxx"
27
28 #endif