Version: 8.3.0
DriverMED_R_SMESHDS_Mesh Class Reference

#include <DriverMED_R_SMESHDS_Mesh.h>

Inheritance diagram for DriverMED_R_SMESHDS_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 ()
 Reads a med file. More...
 
std::list< TNameAndTypeGetGroupNamesAndTypes ()
 
void GetGroup (SMESHDS_Group *theGroup)
 
void CreateAllSubMeshes ()
 
void GetSubMesh (SMESHDS_SubMesh *theSubMesh, const int theId)
 
std::list< std::string > GetMeshNames (Status &theStatus)
 
void SetMeshName (std::string theMeshName)
 Stores a mesh name. More...
 
void SetMesh (SMESHDS_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

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

Private Attributes

std::string myMeshName
 
std::map< int,
DriverMED_FamilyPtr
myFamilies
 

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
void DriverMED_R_SMESHDS_Mesh::CreateAllSubMeshes ( )
SMESH_ComputeErrorPtr Driver_Mesh::GetError ( )
virtualinherited
list< TNameAndType > DriverMED_R_SMESHDS_Mesh::GetGroupNamesAndTypes ( )

Referenced by SMESH_Mesh::MEDToMesh().

std::string Driver_Mesh::GetMeshName ( ) const
virtualinherited
list< string > DriverMED_R_SMESHDS_Mesh::GetMeshNames ( Status theStatus)
void DriverMED_R_SMESHDS_Mesh::GetSubMesh ( SMESHDS_SubMesh theSubMesh,
const int  theId 
)
void DriverMED_R_SMESHDS_Mesh::SetMeshName ( std::string  theMeshName)

Stores a mesh name.

Referenced by SMESH_Mesh::MEDToMesh().

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
std::map<int, DriverMED_FamilyPtr> DriverMED_R_SMESHDS_Mesh::myFamilies
private
int Driver_Mesh::myMeshId
protectedinherited
std::string DriverMED_R_SMESHDS_Mesh::myMeshName
private
Status Driver_Mesh::myStatus
protectedinherited