// 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
//
//
//
#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 <string>
#include <list>
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();
private:
+ MED::PWrapper myMed;
std::string myMeshName;
std::list<SMESHDS_GroupBase*> myGroups;
bool myAllSubMeshes;