Version: 8.3.0
DriverUNV_R_SMDS_Mesh Class Reference

#include <DriverUNV_R_SMDS_Mesh.h>

Inheritance diagram for DriverUNV_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

 DriverUNV_R_SMDS_Mesh ()
 
 ~DriverUNV_R_SMDS_Mesh ()
 
virtual Status Perform ()
 
const SMDS_MeshGroupGetGroup () const
 
const TGroupNamesMapGetGroupNamesMap () const
 
const TGroupIdMapGetGroupIdMap () const
 
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
 

Private Attributes

SMDS_MeshGroupmyGroup
 
TGroupNamesMap myGroupNames
 
TGroupIdMap myGroupId
 

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 

Constructor & Destructor Documentation

DriverUNV_R_SMDS_Mesh::DriverUNV_R_SMDS_Mesh ( )
DriverUNV_R_SMDS_Mesh::~DriverUNV_R_SMDS_Mesh ( )

Member Function Documentation

Driver_Mesh::Status Driver_Mesh::addMessage ( const std::string &  msg,
const bool  isFatal = false 
)
protectedinherited
SMESH_ComputeErrorPtr Driver_Mesh::GetError ( )
virtualinherited
const SMDS_MeshGroup* DriverUNV_R_SMDS_Mesh::GetGroup ( ) const

Referenced by SMESH_Mesh::UNVToMesh().

const TGroupIdMap& DriverUNV_R_SMDS_Mesh::GetGroupIdMap ( ) const
const TGroupNamesMap& DriverUNV_R_SMDS_Mesh::GetGroupNamesMap ( ) const

Referenced by SMESH_Mesh::UNVToMesh().

std::string Driver_Mesh::GetMeshName ( ) const
virtualinherited
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
SMDS_MeshGroup* DriverUNV_R_SMDS_Mesh::myGroup
private
TGroupIdMap DriverUNV_R_SMDS_Mesh::myGroupId
private
TGroupNamesMap DriverUNV_R_SMDS_Mesh::myGroupNames
private
int Driver_Mesh::myMeshId
protectedinherited
std::string Driver_Mesh::myMeshName
protectedinherited
Status Driver_Mesh::myStatus
protectedinherited