X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FDriverDAT%2FDriverDAT_R_SMESHDS_Mesh.cxx;h=65151a2a067282befb778210400c360a092031b2;hp=5102aaaad22f22fd4dd03f4b8a0e6926ce307152;hb=8d2ecd75b04ac82778c48882c4f19d4561be0985;hpb=4791f5b30ea7a9c1247aa551750dc71cb83b99aa;ds=sidebyside diff --git a/src/DriverDAT/DriverDAT_R_SMESHDS_Mesh.cxx b/src/DriverDAT/DriverDAT_R_SMESHDS_Mesh.cxx index 5102aaaad..65151a2a0 100644 --- a/src/DriverDAT/DriverDAT_R_SMESHDS_Mesh.cxx +++ b/src/DriverDAT/DriverDAT_R_SMESHDS_Mesh.cxx @@ -30,49 +30,57 @@ using namespace std; #include "utilities.h" -DriverDAT_R_SMESHDS_Mesh::DriverDAT_R_SMESHDS_Mesh() { -; +DriverDAT_R_SMESHDS_Mesh::DriverDAT_R_SMESHDS_Mesh() +{ + ; } -DriverDAT_R_SMESHDS_Mesh::~DriverDAT_R_SMESHDS_Mesh() { -; +DriverDAT_R_SMESHDS_Mesh::~DriverDAT_R_SMESHDS_Mesh() +{ + ; } -void DriverDAT_R_SMESHDS_Mesh::SetMesh(Handle(SMDS_Mesh)& aMesh) { - //myMesh = Handle(SMESHDS_Mesh)::DownCast(aMesh); - myMesh = aMesh; +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::SetFile(string aFile) +{ + myFile = aFile; } -void DriverDAT_R_SMESHDS_Mesh::SetFileId(FILE* aFileId) { - myFileId = aFileId; +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::SetMeshId(int aMeshId) +{ + myMeshId = aMeshId; } -void DriverDAT_R_SMESHDS_Mesh::Add() { - ; +void DriverDAT_R_SMESHDS_Mesh::Add() +{ + ; } -void DriverDAT_R_SMESHDS_Mesh::Read() { - string myClass = string("SMDS_Mesh"); - string myExtension = string("DAT"); +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() 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() 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(); + MESSAGE("in DriverDAT_R_SMESHDS_Mesh::Read() 4"); + myReader->Read(); }