X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FDriverMED%2FDriverMED_W_SMESHDS_Mesh.h;h=80f79229893c93003dce191abdcba74c5320ce6e;hb=9d11375af40826e967ab2c3bcb77d1f9d439c90c;hp=08c0ef3841dd79f8fb8819297cbd51c31a36a24c;hpb=e4737e85f0da6d3f90fd08f6be1c2825195fe16f;p=modules%2Fsmesh.git diff --git a/src/DriverMED/DriverMED_W_SMESHDS_Mesh.h b/src/DriverMED/DriverMED_W_SMESHDS_Mesh.h index 08c0ef384..80f792298 100644 --- a/src/DriverMED/DriverMED_W_SMESHDS_Mesh.h +++ b/src/DriverMED/DriverMED_W_SMESHDS_Mesh.h @@ -17,7 +17,7 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // // // @@ -27,7 +27,10 @@ #ifndef _INCLUDE_DRIVERMED_W_SMESHDS_MESH #define _INCLUDE_DRIVERMED_W_SMESHDS_MESH +#include "SMESH_DriverMED.hxx" + #include "Driver_SMESHDS_Mesh.h" +#include "MED_Factory.hxx" #include #include @@ -37,12 +40,15 @@ class SMESHDS_Mesh; class SMESHDS_GroupBase; class SMESHDS_SubMesh; -class DriverMED_W_SMESHDS_Mesh: public Driver_SMESHDS_Mesh +class MESHDRIVERMED_EXPORT DriverMED_W_SMESHDS_Mesh: public Driver_SMESHDS_Mesh { public: DriverMED_W_SMESHDS_Mesh(); + virtual void SetFile(const std::string& theFileName); + void SetFile(const std::string& theFileName, MED::EVersion theId); + /*! sets file name; only for usage with Add(), not Write() */ void AddGroupOfNodes(); @@ -63,6 +69,7 @@ class DriverMED_W_SMESHDS_Mesh: public Driver_SMESHDS_Mesh private: + MED::PWrapper myMed; std::string myMeshName; std::list myGroups; bool myAllSubMeshes;