Salome HOME
Update to match the changes in SMDS
[modules/smesh.git] / src / DriverDAT / DriverDAT_W_SMDS_Mesh.h
index bf588823b1e53659d46efa31b51b717931c16ca3..9acabe8c80c818ff84a1a989d8858fd3fb841f2c 100644 (file)
 #include "SMDS_Mesh.hxx"
 #include "Mesh_Writer.h"
 
-class DriverDAT_W_SMDS_Mesh : public Mesh_Writer {
+class DriverDAT_W_SMDS_Mesh:public Mesh_Writer
+{
 
-  public :
-    DriverDAT_W_SMDS_Mesh();
-    ~DriverDAT_W_SMDS_Mesh();
+  public:DriverDAT_W_SMDS_Mesh();
+       ~DriverDAT_W_SMDS_Mesh();
 
-    void Add();
-    void Write();
-    void SetMesh(Handle(SMDS_Mesh)& aMesh);
-    void SetFile(string);
+       void Add();
+       void Write();
+       void SetMesh(SMDS_Mesh * aMesh);
+       void SetFile(string);
 
-    void SetFileId(FILE*);
-    void SetMeshId(int);
+       void SetFileId(FILE *);
+       void SetMeshId(int);
 
-private :
-    Handle_SMDS_Mesh myMesh;
-    string myFile; 
-    FILE* myFileId;
-    int myMeshId;
+  private:  SMDS_Mesh * myMesh;
+       string myFile;
+       FILE *myFileId;
+       int myMeshId;
 
 };
 #endif