Salome HOME
Correct some memory leaks
[modules/smesh.git] / src / DriverUNV / DriverUNV_R_SMESHDS_Mesh.cxx
1 using namespace std;
2 #include "DriverUNV_R_SMESHDS_Mesh.h"
3 #include "DriverUNV_R_SMDS_Mesh.h"
4
5 #include "utilities.h"
6
7 DriverUNV_R_SMESHDS_Mesh::DriverUNV_R_SMESHDS_Mesh()
8 {
9         ;
10 }
11
12 DriverUNV_R_SMESHDS_Mesh::~DriverUNV_R_SMESHDS_Mesh()
13 {
14         ;
15 }
16
17 void DriverUNV_R_SMESHDS_Mesh::SetMesh(SMDS_Mesh * aMesh)
18 {
19         //myMesh = SMESHDS_Mesh *::DownCast(aMesh);
20         myMesh = aMesh;
21 }
22
23 void DriverUNV_R_SMESHDS_Mesh::SetFile(string aFile)
24 {
25         myFile = aFile;
26 }
27
28 void DriverUNV_R_SMESHDS_Mesh::SetFileId(FILE * aFileId)
29 {
30         myFileId = aFileId;
31 }
32
33 void DriverUNV_R_SMESHDS_Mesh::SetMeshId(int aMeshId)
34 {
35         myMeshId = aMeshId;
36 }
37
38 void DriverUNV_R_SMESHDS_Mesh::Add()
39 {
40         ;
41 }
42
43 void DriverUNV_R_SMESHDS_Mesh::Read()
44 {
45         string myClass = string("SMDS_Mesh");
46         string myExtension = string("UNV");
47
48         DriverUNV_R_SMDS_Mesh *myReader = new DriverUNV_R_SMDS_Mesh;
49
50         myReader->SetMesh(myMesh);
51         myReader->SetFile(myFile);
52         //myReader->SetFileId(myFileId);
53
54         myReader->Read();
55
56 }