SALOME - SMESH
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
DriverSTL_R_SMDS_Mesh Class Reference

#include <DriverSTL_R_SMDS_Mesh.h>

Inheritance diagram for DriverSTL_R_SMDS_Mesh:
Inheritance graph
Collaboration diagram for DriverSTL_R_SMDS_Mesh:
Collaboration graph

Public Types

enum  Status {
  DRS_OK, DRS_EMPTY, DRS_WARN_RENUMBER, DRS_WARN_SKIP_ELEM,
  DRS_FAIL
}

Public Member Functions

 DriverSTL_R_SMDS_Mesh ()
virtual Status Perform ()
void SetIsCreateFaces (const bool theIsCreate=true)
void SetMesh (SMDS_Mesh *theMesh)
void SetMeshId (int theMeshId)
void SetFile (const std::string &theFileName)

Protected Attributes

SMDS_MeshmyMesh
std::string myFile
int myMeshId

Private Member Functions

Status readAscii () const
Status readBinary () const

Private Attributes

bool myIsCreateFaces
bool myIsAscii

Detailed Description

Definition at line 31 of file DriverSTL_R_SMDS_Mesh.h.

Member Enumeration Documentation

enum Driver_Mesh::Status
inherited
Enumerator:
DRS_OK 
DRS_EMPTY 
DRS_WARN_RENUMBER 
DRS_WARN_SKIP_ELEM 
DRS_FAIL 

Definition at line 47 of file Driver_Mesh.h.

Constructor & Destructor Documentation

DriverSTL_R_SMDS_Mesh::DriverSTL_R_SMDS_Mesh ( )

Member Function Documentation

virtual Status DriverSTL_R_SMDS_Mesh::Perform ( )
virtual

Implements Driver_Mesh.

void DriverSTL_R_SMDS_Mesh::SetIsCreateFaces ( const bool  theIsCreate = true)
Status DriverSTL_R_SMDS_Mesh::readAscii ( ) const
private
Status DriverSTL_R_SMDS_Mesh::readBinary ( ) const
private
void Driver_SMDS_Mesh::SetMesh ( SMDS_Mesh theMesh)
inherited
void Driver_Mesh::SetMeshId ( int  theMeshId)
inherited
void Driver_Mesh::SetFile ( const std::string &  theFileName)
inherited

Field Documentation

bool DriverSTL_R_SMDS_Mesh::myIsCreateFaces
private

Definition at line 45 of file DriverSTL_R_SMDS_Mesh.h.

bool DriverSTL_R_SMDS_Mesh::myIsAscii
private

Definition at line 46 of file DriverSTL_R_SMDS_Mesh.h.

SMDS_Mesh* Driver_SMDS_Mesh::myMesh
protectedinherited

Definition at line 36 of file Driver_SMDS_Mesh.h.

std::string Driver_Mesh::myFile
protectedinherited

Definition at line 61 of file Driver_Mesh.h.

int Driver_Mesh::myMeshId
protectedinherited

Definition at line 62 of file Driver_Mesh.h.