SMDS_MeshGroup Class Reference

#include <SMDS_MeshGroup.hxx>

Inheritance diagram for SMDS_MeshGroup:
Inheritance graph
Collaboration diagram for SMDS_MeshGroup:
Collaboration graph

Public Member Functions

 SMDS_MeshGroup (const SMDS_Mesh *theMesh, const SMDSAbs_ElementType theType=SMDSAbs_All)
const SMDS_MeshGroupAddSubGroup (const SMDSAbs_ElementType theType=SMDSAbs_All)
virtual bool RemoveSubGroup (const SMDS_MeshGroup *theGroup)
virtual bool RemoveFromParent ()
const SMDS_MeshGetMesh () const
void SetType (const SMDSAbs_ElementType theType)
void Clear ()
void Add (const SMDS_MeshElement *theElem)
bool Remove (const SMDS_MeshElement *theElem)
bool IsEmpty () const
int Extent () const
int SubGroupsNb () const
SMDSAbs_ElementType GetType () const
bool Contains (const SMDS_MeshElement *theElem) const
void InitIterator () const
bool More () const
const SMDS_MeshElementNext () const
void InitSubGroupsIterator () const
bool MoreSubGroups () const
const SMDS_MeshGroupNextSubGroup () const

Private Types

typedef std::set< const
SMDS_MeshElement * >
::const_iterator 
TIterator
typedef std::list< const
SMDS_MeshGroup * >
::const_iterator 
TGroupIterator

Private Member Functions

 SMDS_MeshGroup (SMDS_MeshGroup *theParent, const SMDSAbs_ElementType theType=SMDSAbs_All)

Private Attributes

const SMDS_MeshmyMesh
SMDSAbs_ElementType myType
std::set< const
SMDS_MeshElement * > 
myElements
SMDS_MeshGroupmyParent
std::list< const SMDS_MeshGroup * > myChildren
TIterator myIterator
TGroupIterator myGroupIterator

Detailed Description

Definition at line 34 of file SMDS_MeshGroup.hxx.


Member Typedef Documentation

typedef std::set<const SMDS_MeshElement *>::const_iterator SMDS_MeshGroup.TIterator [private]

Definition at line 79 of file SMDS_MeshGroup.hxx.

typedef std::list<const SMDS_MeshGroup *>::const_iterator SMDS_MeshGroup.TGroupIterator [private]

Definition at line 80 of file SMDS_MeshGroup.hxx.


Constructor & Destructor Documentation

SMDS_MeshGroup.SMDS_MeshGroup ( const SMDS_Mesh theMesh,
const SMDSAbs_ElementType  theType = SMDSAbs_All 
)
SMDS_MeshGroup.SMDS_MeshGroup ( SMDS_MeshGroup theParent,
const SMDSAbs_ElementType  theType = SMDSAbs_All 
) [private]

Member Function Documentation

const SMDS_MeshGroup* SMDS_MeshGroup.AddSubGroup ( const SMDSAbs_ElementType  theType = SMDSAbs_All  ) 
virtual bool SMDS_MeshGroup.RemoveSubGroup ( const SMDS_MeshGroup theGroup  )  [virtual]
virtual bool SMDS_MeshGroup.RemoveFromParent (  )  [virtual]
const SMDS_Mesh* SMDS_MeshGroup.GetMesh (  )  const

Definition at line 44 of file SMDS_MeshGroup.hxx.

void SMDS_MeshGroup.SetType ( const SMDSAbs_ElementType  theType  ) 
void SMDS_MeshGroup.Clear (  ) 
void SMDS_MeshGroup.Add ( const SMDS_MeshElement theElem  ) 
bool SMDS_MeshGroup.Remove ( const SMDS_MeshElement theElem  ) 
bool SMDS_MeshGroup.IsEmpty (  )  const

Definition at line 50 of file SMDS_MeshGroup.hxx.

int SMDS_MeshGroup.Extent (  )  const

Definition at line 51 of file SMDS_MeshGroup.hxx.

int SMDS_MeshGroup.SubGroupsNb (  )  const

Definition at line 53 of file SMDS_MeshGroup.hxx.

SMDSAbs_ElementType SMDS_MeshGroup.GetType (  )  const

Definition at line 55 of file SMDS_MeshGroup.hxx.

bool SMDS_MeshGroup.Contains ( const SMDS_MeshElement theElem  )  const
void SMDS_MeshGroup.InitIterator (  )  const

Definition at line 59 of file SMDS_MeshGroup.hxx.

bool SMDS_MeshGroup.More (  )  const

Definition at line 62 of file SMDS_MeshGroup.hxx.

const SMDS_MeshElement* SMDS_MeshGroup.Next (  )  const

Definition at line 64 of file SMDS_MeshGroup.hxx.

void SMDS_MeshGroup.InitSubGroupsIterator (  )  const

Definition at line 67 of file SMDS_MeshGroup.hxx.

bool SMDS_MeshGroup.MoreSubGroups (  )  const

Definition at line 70 of file SMDS_MeshGroup.hxx.

const SMDS_MeshGroup* SMDS_MeshGroup.NextSubGroup (  )  const

Definition at line 72 of file SMDS_MeshGroup.hxx.


Field Documentation

const SMDS_Mesh* SMDS_MeshGroup.myMesh [private]

Definition at line 82 of file SMDS_MeshGroup.hxx.

Definition at line 83 of file SMDS_MeshGroup.hxx.

std::set<const SMDS_MeshElement *> SMDS_MeshGroup.myElements [private]

Definition at line 84 of file SMDS_MeshGroup.hxx.

Definition at line 85 of file SMDS_MeshGroup.hxx.

std::list<const SMDS_MeshGroup*> SMDS_MeshGroup.myChildren [private]

Definition at line 86 of file SMDS_MeshGroup.hxx.

Definition at line 87 of file SMDS_MeshGroup.hxx.

Definition at line 88 of file SMDS_MeshGroup.hxx.


Generated on 22 Oct 2012 for SALOME - SMESH by  doxygen 1.6.1