Salome HOME
NRI : Add KERNEL includes.
[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 DriverUNV_R_SMESHDS_Mesh::~DriverUNV_R_SMESHDS_Mesh() {
12 ;
13 }
14
15 void DriverUNV_R_SMESHDS_Mesh::SetMesh(Handle(SMDS_Mesh)& aMesh) {
16   //myMesh = Handle(SMESHDS_Mesh)::DownCast(aMesh);
17   myMesh = aMesh;
18 }
19
20 void DriverUNV_R_SMESHDS_Mesh::SetFile(string aFile) {
21   myFile = aFile;
22 }
23
24 void DriverUNV_R_SMESHDS_Mesh::SetFileId(FILE* aFileId) {
25   myFileId = aFileId;
26 }
27
28 void DriverUNV_R_SMESHDS_Mesh::SetMeshId(int aMeshId) {
29   myMeshId = aMeshId;
30 }
31
32 void DriverUNV_R_SMESHDS_Mesh::Add() {
33   ;
34 }
35
36 void DriverUNV_R_SMESHDS_Mesh::Read() {
37   string myClass = string("SMDS_Mesh");
38   string myExtension = string("UNV");
39
40   DriverUNV_R_SMDS_Mesh* myReader = new DriverUNV_R_SMDS_Mesh;
41
42   myReader->SetMesh(myMesh);
43   myReader->SetFile(myFile);
44   //myReader->SetFileId(myFileId);
45
46   myReader->Read();
47
48 }