SMESHDS_Group Class Reference

#include <SMESHDS_Group.hxx>

Inheritance diagram for SMESHDS_Group:

Inheritance graph

Public Member Functions

 SMESHDS_Group (const int theID, const SMESHDS_Mesh *theMesh, const SMDSAbs_ElementType theType)
virtual void SetType (SMDSAbs_ElementType theType)
virtual int Extent ()
virtual bool IsEmpty ()
virtual bool Contains (const int theID)
virtual SMDS_ElemIteratorPtr GetElements ()
bool Add (const int theID)
bool Remove (const int theID)
void Clear ()
SMDS_MeshGroupSMDSGroup ()
int GetID () const
int GetID (const int theIndex)
const SMESHDS_MeshGetMesh () const
SMDSAbs_ElementType GetType () const
void SetStoreName (const char *theName)
const char * GetStoreName () const
void SetColorGroup (int theColorGroup)
int GetColorGroup () const

Protected Member Functions

const SMDS_MeshElementfindInMesh (const int theID) const
void resetIterator ()

Private Attributes

SMDS_MeshGroup myGroup

Constructor & Destructor Documentation

SMESHDS_Group::SMESHDS_Group const int  theID,
const SMESHDS_Mesh theMesh,
const SMDSAbs_ElementType  theType
 


Member Function Documentation

void SMESHDS_Group::SetType SMDSAbs_ElementType  theType  )  [virtual]
 

Reimplemented from SMESHDS_GroupBase.

int SMESHDS_Group::Extent  )  [virtual]
 

Reimplemented from SMESHDS_GroupBase.

bool SMESHDS_Group::IsEmpty  )  [virtual]
 

Reimplemented from SMESHDS_GroupBase.

bool SMESHDS_Group::Contains const int  theID  )  [virtual]
 

Reimplemented from SMESHDS_GroupBase.

SMDS_ElemIteratorPtr SMESHDS_Group::GetElements  )  [virtual]
 

Implements SMESHDS_GroupBase.

bool SMESHDS_Group::Add const int  theID  ) 
 

bool SMESHDS_Group::Remove const int  theID  ) 
 

void SMESHDS_Group::Clear  ) 
 

SMDS_MeshGroup& SMESHDS_Group.SMDSGroup  ) 
 

int SMESHDS_GroupBase.GetID  )  const [inherited]
 

int SMESHDS_GroupBase::GetID const int  theIndex  )  [inherited]
 

const SMESHDS_Mesh* SMESHDS_GroupBase.GetMesh  )  const [inherited]
 

SMDSAbs_ElementType SMESHDS_GroupBase.GetType  )  const [inherited]
 

void SMESHDS_GroupBase.SetStoreName const char *  theName  )  [inherited]
 

const char* SMESHDS_GroupBase.GetStoreName  )  const [inherited]
 

void SMESHDS_GroupBase.SetColorGroup int  theColorGroup  )  [inherited]
 

int SMESHDS_GroupBase.GetColorGroup  )  const [inherited]
 

const SMDS_MeshElement * SMESHDS_GroupBase::findInMesh const int  theID  )  const [protected, inherited]
 

void SMESHDS_GroupBase::resetIterator  )  [protected, inherited]
 

Internal method: resets cached iterator, should be called by ancestors when they are modified (ex: Add() or Remove() )


Field Documentation

SMDS_MeshGroup SMESHDS_Group.myGroup [private]