Version: 8.3.0
SMESHDS_Document Class Reference

#include <SMESHDS_Document.hxx>

Public Member Functions

 SMESHDS_Document (int UserID)
 
 ~SMESHDS_Document ()
 
SMESHDS_MeshNewMesh (bool theIsEmbeddedMode, int MeshID)
 
void RemoveMesh (int MeshID)
 
SMESHDS_MeshGetMesh (int MeshID)
 
void AddHypothesis (SMESHDS_Hypothesis *H)
 
void RemoveHypothesis (int HypID)
 
SMESHDS_HypothesisGetHypothesis (int HypID)
 
int NbMeshes ()
 
int NbHypothesis ()
 
void InitMeshesIterator ()
 
SMESHDS_MeshNextMesh ()
 
bool MoreMesh ()
 
void InitHypothesisIterator ()
 
SMESHDS_HypothesisNextHypothesis ()
 
bool MoreHypothesis ()
 

Private Attributes

int myUserID
 
std::map< int, SMESHDS_Mesh * > myMeshes
 
std::map< int,
SMESHDS_Hypothesis * > 
myHypothesis
 
std::map< int, SMESHDS_Mesh * >
::iterator 
myMeshesIt
 
std::map< int,
SMESHDS_Hypothesis * >
::iterator 
myHypothesisIt
 

Constructor & Destructor Documentation

SMESHDS_Document::SMESHDS_Document ( int  UserID)
SMESHDS_Document::~SMESHDS_Document ( )

Member Function Documentation

void SMESHDS_Document::AddHypothesis ( SMESHDS_Hypothesis H)
SMESHDS_Hypothesis * SMESHDS_Document::GetHypothesis ( int  HypID)

References MESSAGE, and myHypothesis.

SMESHDS_Mesh * SMESHDS_Document::GetMesh ( int  MeshID)

References MESSAGE, and myMeshes.

void SMESHDS_Document::InitHypothesisIterator ( )

References myHypothesis, and myHypothesisIt.

void SMESHDS_Document::InitMeshesIterator ( )

References myMeshes, and myMeshesIt.

Referenced by ~SMESHDS_Document().

bool SMESHDS_Document::MoreHypothesis ( )

References myHypothesis, and myHypothesisIt.

bool SMESHDS_Document::MoreMesh ( )

References myMeshes, and myMeshesIt.

Referenced by ~SMESHDS_Document().

int SMESHDS_Document::NbHypothesis ( )

References myHypothesis.

int SMESHDS_Document::NbMeshes ( )

References myMeshes.

SMESHDS_Mesh * SMESHDS_Document::NewMesh ( bool  theIsEmbeddedMode,
int  MeshID 
)

References myMeshes.

Referenced by SMESH_Mesh::SMESH_Mesh().

SMESHDS_Hypothesis * SMESHDS_Document::NextHypothesis ( )

References myHypothesisIt.

SMESHDS_Mesh * SMESHDS_Document::NextMesh ( )

References myMeshesIt.

Referenced by ~SMESHDS_Document().

void SMESHDS_Document::RemoveHypothesis ( int  HypID)

References MESSAGE, and myHypothesis.

void SMESHDS_Document::RemoveMesh ( int  MeshID)

References myMeshes.

Field Documentation

std::map<int,SMESHDS_Hypothesis*> SMESHDS_Document::myHypothesis
private
std::map<int,SMESHDS_Hypothesis*>::iterator SMESHDS_Document::myHypothesisIt
private
std::map<int,SMESHDS_Mesh*> SMESHDS_Document::myMeshes
private
std::map<int,SMESHDS_Mesh*>::iterator SMESHDS_Document::myMeshesIt
private
int SMESHDS_Document::myUserID
private