SALOME - SMESH
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

◆ Status

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::DriverSTL_R_SMDS_Mesh ( )

Member Function Documentation

◆ Perform()

virtual Status DriverSTL_R_SMDS_Mesh::Perform ( )
virtual

Implements Driver_Mesh.

◆ SetIsCreateFaces()

void DriverSTL_R_SMDS_Mesh::SetIsCreateFaces ( const bool  theIsCreate = true)

◆ readAscii()

Status DriverSTL_R_SMDS_Mesh::readAscii ( ) const
private

◆ readBinary()

Status DriverSTL_R_SMDS_Mesh::readBinary ( ) const
private

◆ SetMesh()

void Driver_SMDS_Mesh::SetMesh ( SMDS_Mesh theMesh)
inherited

◆ SetMeshId()

void Driver_Mesh::SetMeshId ( int  theMeshId)
inherited

◆ SetFile()

void Driver_Mesh::SetFile ( const std::string &  theFileName)
inherited

Field Documentation

◆ myIsCreateFaces

bool DriverSTL_R_SMDS_Mesh::myIsCreateFaces
private

Definition at line 45 of file DriverSTL_R_SMDS_Mesh.h.

◆ myIsAscii

bool DriverSTL_R_SMDS_Mesh::myIsAscii
private

Definition at line 46 of file DriverSTL_R_SMDS_Mesh.h.

◆ myMesh

SMDS_Mesh* Driver_SMDS_Mesh::myMesh
protectedinherited

Definition at line 36 of file Driver_SMDS_Mesh.h.

◆ myFile

std::string Driver_Mesh::myFile
protectedinherited

Definition at line 61 of file Driver_Mesh.h.

◆ myMeshId

int Driver_Mesh::myMeshId
protectedinherited

Definition at line 62 of file Driver_Mesh.h.