#include <DriverDAT_W_SMESHDS_Mesh.h>

Public Types | |
| enum | Status { DRS_OK, DRS_EMPTY, DRS_WARN_RENUMBER, DRS_WARN_SKIP_ELEM, DRS_FAIL } |
Public Member Functions | |
| void | SetMesh (SMESHDS_Mesh *theMesh) |
| virtual Status | Perform ()=0 |
| void | SetMeshId (int theMeshId) |
| void | SetFile (const std::string &theFileName) |
Protected Attributes | |
| SMESHDS_Mesh * | myMesh |
| std::string | myFile |
| int | myMeshId |
Definition at line 34 of file DriverDAT_W_SMESHDS_Mesh.h.
enum Driver_Mesh::Status [inherited] |
Definition at line 48 of file Driver_Mesh.h.
{
DRS_OK,
DRS_EMPTY, // a file contains no mesh with the given name
DRS_WARN_RENUMBER, // a file has overlapped ranges of element numbers,
// so the numbers from the file are ignored
DRS_WARN_SKIP_ELEM, // some elements were skipped due to incorrect file data
DRS_FAIL // general failure (exception etc.)
};
| virtual Status Driver_Mesh.Perform | ( | ) | [pure virtual, inherited] |
| void Driver_Mesh::SetFile | ( | const std::string & | theFileName | ) | [inherited] |
Reimplemented in DriverMED_W_SMESHDS_Mesh.
Definition at line 43 of file Driver_Mesh.cxx.
References Driver_Mesh.myFile, and SMESH_Nut.theFileName.
Referenced by SMESH_Gen_i.CreateMeshesFromMED(), SMESH_Mesh.ExportDAT(), SMESH_Mesh.ExportSTL(), SMESH_Mesh.ExportUNV(), SMESH_Gen_i.Load(), SMESH_Mesh.MEDToMesh(), SMESH_Mesh.STLToMesh(), and SMESH_Mesh.UNVToMesh().
{
myFile = theFileName;
}
| void Driver_SMESHDS_Mesh::SetMesh | ( | SMESHDS_Mesh * | theMesh | ) | [inherited] |
Definition at line 31 of file Driver_SMESHDS_Mesh.cxx.
References Driver_SMESHDS_Mesh.myMesh.
Referenced by SMESH_Gen_i.Load(), and SMESH_Mesh.MEDToMesh().
{
myMesh = theMesh;
}
| void Driver_Mesh::SetMeshId | ( | int | theMeshId | ) | [inherited] |
Definition at line 37 of file Driver_Mesh.cxx.
References Driver_Mesh.myMeshId.
Referenced by SMESH_Gen_i.CreateMeshesFromMED(), SMESH_Mesh.ExportDAT(), SMESH_Mesh.ExportSTL(), SMESH_Mesh.ExportUNV(), SMESH_Gen_i.Load(), SMESH_Mesh.MEDToMesh(), SMESH_Mesh.STLToMesh(), and SMESH_Mesh.UNVToMesh().
{
myMeshId = theMeshId;
}
std::string Driver_Mesh.myFile [protected, inherited] |
Definition at line 62 of file Driver_Mesh.h.
Referenced by DriverSTL_R_SMDS_Mesh.Perform(), DriverMED_W_SMESHDS_Mesh.Perform(), DriverSTL_R_SMDS_Mesh.readAscii(), DriverSTL_R_SMDS_Mesh.readBinary(), Driver_Mesh.SetFile(), DriverSTL_W_SMDS_Mesh.writeAscii(), and DriverSTL_W_SMDS_Mesh.writeBinary().
SMESHDS_Mesh* Driver_SMESHDS_Mesh.myMesh [protected, inherited] |
Definition at line 37 of file Driver_SMESHDS_Mesh.h.
Referenced by DriverMED_W_SMESHDS_Mesh.Perform(), and Driver_SMESHDS_Mesh.SetMesh().
int Driver_Mesh.myMeshId [protected, inherited] |
Definition at line 63 of file Driver_Mesh.h.
Referenced by DriverMED_W_SMESHDS_Mesh.Perform(), and Driver_Mesh.SetMeshId().