2 #include "DriverDAT_R_SMESHDS_Mesh.h"
3 #include "DriverDAT_R_SMDS_Mesh.h"
7 DriverDAT_R_SMESHDS_Mesh::DriverDAT_R_SMESHDS_Mesh() {
11 DriverDAT_R_SMESHDS_Mesh::~DriverDAT_R_SMESHDS_Mesh() {
15 void DriverDAT_R_SMESHDS_Mesh::SetMesh(Handle(SMDS_Mesh)& aMesh) {
16 //myMesh = Handle(SMESHDS_Mesh)::DownCast(aMesh);
20 void DriverDAT_R_SMESHDS_Mesh::SetFile(string aFile) {
24 void DriverDAT_R_SMESHDS_Mesh::SetFileId(FILE* aFileId) {
28 void DriverDAT_R_SMESHDS_Mesh::SetMeshId(int aMeshId) {
32 void DriverDAT_R_SMESHDS_Mesh::Add() {
36 void DriverDAT_R_SMESHDS_Mesh::Read() {
37 string myClass = string("SMDS_Mesh");
38 string myExtension = string("DAT");
40 MESSAGE("in DriverDAT_R_SMESHDS_Mesh::Read() 1");
41 DriverDAT_R_SMDS_Mesh* myReader = new DriverDAT_R_SMDS_Mesh;
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);
49 MESSAGE("in DriverDAT_R_SMESHDS_Mesh::Read() 4");