Version: 8.3.0
DriverDAT_R_SMDS_Mesh Class Reference

#include <DriverDAT_R_SMDS_Mesh.h>

Inheritance diagram for DriverDAT_R_SMDS_Mesh:

Public Types

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

Public Member Functions

virtual Status Perform ()
 
void SetMesh (SMDS_Mesh *theMesh)
 
void SetMeshId (int theMeshId)
 
virtual void SetFile (const std::string &theFileName)
 
virtual void SetMeshName (const std::string &theMeshName)
 
virtual std::string GetMeshName () const
 
virtual void SetOption (const std::string &optionName, const std::string &optionValue)
 
virtual SMESH_ComputeErrorPtr GetError ()
 Return a structure containing description of errors. More...
 

Protected Member Functions

Status addMessage (const std::string &msg, const bool isFatal=false)
 Stores an error message. More...
 

Protected Attributes

SMDS_MeshmyMesh
 
std::string myFile
 
std::string myMeshName
 
int myMeshId
 
std::vector< std::string > myErrorMessages
 
Status myStatus
 

Member Enumeration Documentation

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

Member Function Documentation

Driver_Mesh::Status Driver_Mesh::addMessage ( const std::string &  msg,
const bool  isFatal = false 
)
protectedinherited
SMESH_ComputeErrorPtr Driver_Mesh::GetError ( )
virtualinherited
std::string Driver_Mesh::GetMeshName ( ) const
virtualinherited
Driver_Mesh::Status DriverDAT_R_SMDS_Mesh::Perform ( )
virtual

Implements Driver_Mesh.

References SMESH::DRS_FAIL, and SMESH::DRS_OK.

void Driver_SMDS_Mesh::SetMesh ( SMDS_Mesh theMesh)
inherited
void Driver_Mesh::SetMeshName ( const std::string &  theMeshName)
virtualinherited
virtual void Driver_Mesh::SetOption ( const std::string &  optionName,
const std::string &  optionValue 
)
virtualinherited

Field Documentation

std::vector< std::string > Driver_Mesh::myErrorMessages
protectedinherited
int Driver_Mesh::myMeshId
protectedinherited
std::string Driver_Mesh::myMeshName
protectedinherited
Status Driver_Mesh::myStatus
protectedinherited