SALOME - SMESH
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
SMESHDS_SubMesh Class Reference

#include <SMESHDS_SubMesh.hxx>

Collaboration diagram for SMESHDS_SubMesh:
Collaboration graph

Public Member Functions

bool IsComplexSubmesh () const
void AddElement (const SMDS_MeshElement *ME)
bool RemoveElement (const SMDS_MeshElement *ME, bool isElemDeleted)
void AddNode (const SMDS_MeshNode *ME)
bool RemoveNode (const SMDS_MeshNode *ME, bool isNodeDeleted)
void AddSubMesh (const SMESHDS_SubMesh *theSubMesh)
bool RemoveSubMesh (const SMESHDS_SubMesh *theSubMesh)
bool ContainsSubMesh (const SMESHDS_SubMesh *theSubMesh) const
int NbSubMeshes () const
SMESHDS_SubMeshIteratorPtr GetSubMeshIterator () const
int NbElements () const
SMDS_ElemIteratorPtr GetElements () const
int NbNodes () const
SMDS_NodeIteratorPtr GetNodes () const
bool Contains (const SMDS_MeshElement *ME) const
void Clear ()

Private Types

typedef std::set< const
SMDS_MeshElement *, TIDCompare
TElemSet

Private Attributes

TElemSet myElements
TElemSet myNodes
std::set< const SMESHDS_SubMesh * > mySubMeshes

Detailed Description

Definition at line 38 of file SMESHDS_SubMesh.hxx.


Member Typedef Documentation

typedef std::set<const SMDS_MeshElement*, TIDCompare > SMESHDS_SubMesh::TElemSet [private]

Definition at line 69 of file SMESHDS_SubMesh.hxx.


Member Function Documentation

Definition at line 42 of file SMESHDS_SubMesh.hxx.

bool SMESHDS_SubMesh::RemoveElement ( const SMDS_MeshElement ME,
bool  isElemDeleted 
)
bool SMESHDS_SubMesh::RemoveNode ( const SMDS_MeshNode ME,
bool  isNodeDeleted 
)
void SMESHDS_SubMesh::AddSubMesh ( const SMESHDS_SubMesh theSubMesh)
bool SMESHDS_SubMesh::RemoveSubMesh ( const SMESHDS_SubMesh theSubMesh)
bool SMESHDS_SubMesh::ContainsSubMesh ( const SMESHDS_SubMesh theSubMesh) const

Definition at line 54 of file SMESHDS_SubMesh.hxx.

bool SMESHDS_SubMesh::Contains ( const SMDS_MeshElement ME) const

Field Documentation

Definition at line 70 of file SMESHDS_SubMesh.hxx.

Definition at line 70 of file SMESHDS_SubMesh.hxx.

std::set<const SMESHDS_SubMesh*> SMESHDS_SubMesh::mySubMeshes [private]

Definition at line 72 of file SMESHDS_SubMesh.hxx.