SALOME - SMESH
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

bool SMESHDS_SubMesh.IsComplexSubmesh ( ) const

Definition at line 42 of file SMESHDS_SubMesh.hxx.

void SMESHDS_SubMesh.AddElement ( const SMDS_MeshElement ME)
bool SMESHDS_SubMesh.RemoveElement ( const SMDS_MeshElement ME,
bool  isElemDeleted 
)
void SMESHDS_SubMesh.AddNode ( const SMDS_MeshNode ME)
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
int SMESHDS_SubMesh.NbSubMeshes ( ) const

Definition at line 54 of file SMESHDS_SubMesh.hxx.

SMESHDS_SubMeshIteratorPtr SMESHDS_SubMesh.GetSubMeshIterator ( ) const
int SMESHDS_SubMesh.NbElements ( ) const
SMDS_ElemIteratorPtr SMESHDS_SubMesh.GetElements ( ) const
int SMESHDS_SubMesh.NbNodes ( ) const
SMDS_NodeIteratorPtr SMESHDS_SubMesh.GetNodes ( ) const
bool SMESHDS_SubMesh.Contains ( const SMDS_MeshElement ME) const
void SMESHDS_SubMesh.Clear ( )

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.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines