Salome HOME
This commit was generated by cvs2git to track changes on a CVS vendor
[modules/smesh.git] / src / DriverDAT / DriverDAT_R_SMESHDS_Mesh.cxx
1 using namespace std;
2 #include "DriverDAT_R_SMESHDS_Mesh.h"
3 #include "DriverDAT_R_SMDS_Mesh.h"
4
5 #include "utilities.h"
6
7 DriverDAT_R_SMESHDS_Mesh::DriverDAT_R_SMESHDS_Mesh() {
8 ;
9 }
10
11 DriverDAT_R_SMESHDS_Mesh::~DriverDAT_R_SMESHDS_Mesh() {
12 ;
13 }
14
15 void DriverDAT_R_SMESHDS_Mesh::SetMesh(Handle(SMDS_Mesh)& aMesh) {
16   //myMesh = Handle(SMESHDS_Mesh)::DownCast(aMesh);
17   myMesh = aMesh;
18 }
19
20 void DriverDAT_R_SMESHDS_Mesh::SetFile(string aFile) {
21   myFile = aFile;
22 }
23
24 void DriverDAT_R_SMESHDS_Mesh::SetFileId(FILE* aFileId) {
25   myFileId = aFileId;
26 }
27
28 void DriverDAT_R_SMESHDS_Mesh::SetMeshId(int aMeshId) {
29   myMeshId = aMeshId;
30 }
31
32 void DriverDAT_R_SMESHDS_Mesh::Add() {
33   ;
34 }
35
36 void DriverDAT_R_SMESHDS_Mesh::Read() {
37   string myClass = string("SMDS_Mesh");
38   string myExtension = string("DAT");
39
40   MESSAGE("in DriverDAT_R_SMESHDS_Mesh::Read() 1");
41   DriverDAT_R_SMDS_Mesh* myReader = new DriverDAT_R_SMDS_Mesh;
42
43   MESSAGE("in DriverDAT_R_SMESHDS_Mesh::Read() 2");
44   myReader->SetMesh(myMesh);
45   MESSAGE("in DriverDAT_R_SMESHDS_Mesh::Read() 3");
46   myReader->SetFile(myFile);
47   //myReader->SetFileId(myFileId);
48
49   MESSAGE("in DriverDAT_R_SMESHDS_Mesh::Read() 4");
50   myReader->Read();
51
52 }