Salome HOME
Merge with version on tag OCC-V2_1_0d
[modules/smesh.git] / src / DriverDAT / DriverDAT_R_SMESHDS_Mesh.cxx
index 65151a2a067282befb778210400c360a092031b2..a7e974f528e45741459fa7fe47737f01382f2a69 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 
 // 
 //  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.cxx
-//  Module : SMESH
 
-using namespace std;
 #include "DriverDAT_R_SMESHDS_Mesh.h"
-#include "DriverDAT_R_SMDS_Mesh.h"
-
-#include "utilities.h"
-
-DriverDAT_R_SMESHDS_Mesh::DriverDAT_R_SMESHDS_Mesh()
-{
-       ;
-}
-
-DriverDAT_R_SMESHDS_Mesh::~DriverDAT_R_SMESHDS_Mesh()
-{
-       ;
-}
-
-void DriverDAT_R_SMESHDS_Mesh::SetMesh(SMDS_Mesh * aMesh)
-{
-       //myMesh = SMESHDS_Mesh *::DownCast(aMesh);
-       myMesh = aMesh;
-}
-
-void DriverDAT_R_SMESHDS_Mesh::SetFile(string aFile)
-{
-       myFile = aFile;
-}
-
-void DriverDAT_R_SMESHDS_Mesh::SetFileId(FILE * aFileId)
-{
-       myFileId = aFileId;
-}
-
-void DriverDAT_R_SMESHDS_Mesh::SetMeshId(int aMeshId)
-{
-       myMeshId = aMeshId;
-}
-
-void DriverDAT_R_SMESHDS_Mesh::Add()
-{
-       ;
-}
-
-void DriverDAT_R_SMESHDS_Mesh::Read()
-{
-       string myClass = string("SMDS_Mesh");
-       string myExtension = string("DAT");
-
-       MESSAGE("in DriverDAT_R_SMESHDS_Mesh::Read() 1");
-       DriverDAT_R_SMDS_Mesh *myReader = new DriverDAT_R_SMDS_Mesh;
-
-       MESSAGE("in DriverDAT_R_SMESHDS_Mesh::Read() 2");
-       myReader->SetMesh(myMesh);
-       MESSAGE("in DriverDAT_R_SMESHDS_Mesh::Read() 3");
-       myReader->SetFile(myFile);
-       //myReader->SetFileId(myFileId);
-
-       MESSAGE("in DriverDAT_R_SMESHDS_Mesh::Read() 4");
-       myReader->Read();
-
-}