Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef _MESHCLIENT_HXX
00024 #define _MESHCLIENT_HXX
00025
00026 #include <SALOMEconfig.h>
00027 #include <utilities.h>
00028 #include "MEDClient.hxx"
00029 #include "MEDMEM_Mesh.hxx"
00030 #include CORBA_CLIENT_HEADER(MED)
00031
00032 namespace MEDMEM {
00033 class MEDCLIENT_EXPORT MESHClient : public MESH {
00034
00035 private :
00036
00037 const SALOME_MED::MESH_var IOR_Mesh;
00038
00039 mutable bool _complete;
00040
00041
00042
00043 public :
00044
00045 MESHClient(const SALOME_MED::MESH_ptr m);
00046 virtual bool operator==(const MESH& other) const;
00047
00048 void blankCopy();
00049 void fillCopy();
00050
00051
00052 virtual void write(int index=0) const;
00053 virtual void write(const GENDRIVER & genDriver,
00054 MED_EN::med_mode_acces medMode=MED_EN::WRONLY) const;
00055 virtual void write(driverTypes driverType,
00056 const std::string& filename,
00057 const std::string& meshname="",
00058 MED_EN::med_mode_acces medMode=MED_EN::WRONLY) const;
00059 virtual void printMySelf(ostream &os) const;
00060
00061 private:
00062 virtual ~MESHClient();
00063 };
00064 }
00065
00066 #endif
00067