Salome HOME
Fix bug 12796: Warning missed for the bad file 'test18.med'
[modules/smesh.git] / src / DriverDAT / DriverDAT_R_SMESHDS_Mesh.h
index 6044efc32bfee9d3fbff0e6b18ed6f7933be67c0..e3ae20393ea6058dd800adce96a1b7dc81f62381 100644 (file)
@@ -1,5 +1,3 @@
-//  SMESH DriverDAT : driver to read and write 'dat' files
-//
 //  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
 // 
 //  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 
-//
-//
-//
-//  File   : DriverDAT_R_SMESHDS_Mesh.h
-//  Module : SMESH
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 
 #ifndef _INCLUDE_DRIVERDAT_R_SMESHDS_MESH
 #define _INCLUDE_DRIVERDAT_R_SMESHDS_MESH
 
-#include <stdio.h>
+#include "Driver_SMESHDS_Mesh.h"
 
-#include "SMESHDS_Mesh.hxx"
-#include "Mesh_Reader.h"
+class DriverDAT_R_SMESHDS_Mesh: public Driver_SMESHDS_Mesh
+{};
 
-class DriverDAT_R_SMESHDS_Mesh : public Mesh_Reader {
-
-  public :
-    DriverDAT_R_SMESHDS_Mesh();
-    ~DriverDAT_R_SMESHDS_Mesh();
-
-    void Add();
-    void Read();
-    void SetMesh(Handle(SMDS_Mesh)& aMesh);
-    void SetFile(string);
-
-    void SetFileId(FILE*);
-    void SetMeshId(int);
-
-private :
-    Handle_SMDS_Mesh myMesh;
-    string myFile; 
-    FILE* myFileId;
-    int myMeshId;
-
-};
 #endif