SALOME - SMESH
SMESHDS_GroupBase Class Referenceabstract

#include <SMESHDS_GroupBase.hxx>

Inheritance diagram for SMESHDS_GroupBase:
Inheritance graph
Collaboration diagram for SMESHDS_GroupBase:
Collaboration graph

Public Member Functions

 SMESHDS_GroupBase (const int theID, const SMESHDS_Mesh *theMesh, const SMDSAbs_ElementType theType)
 
int GetID () const
 
const SMESHDS_MeshGetMesh () const
 
virtual void SetType (SMDSAbs_ElementType theType)
 
SMDSAbs_ElementType GetType () const
 
void SetStoreName (const char *theName)
 
const char * GetStoreName () const
 
virtual int Extent ()
 
virtual bool IsEmpty ()
 
virtual bool Contains (const int theID)
 
virtual bool Contains (const SMDS_MeshElement *elem)
 
virtual SMDS_ElemIteratorPtr GetElements ()=0
 
int GetID (const int theIndex)
 
virtual ~SMESHDS_GroupBase ()
 
void SetColor (const Quantity_Color &theColor)
 
Quantity_Color GetColor () const
 
void SetColorGroup (int theColorGroup)
 
int GetColorGroup () const
 

Protected Member Functions

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

Private Member Functions

 SMESHDS_GroupBase (const SMESHDS_GroupBase &theOther)
 
SMESHDS_GroupBaseoperator= (const SMESHDS_GroupBase &theOther)
 

Private Attributes

int myID
 
const SMESHDS_MeshmyMesh
 
SMDSAbs_ElementType myType
 
std::string myStoreName
 
int myCurIndex
 
int myCurID
 
SMDS_ElemIteratorPtr myIterator
 
Quantity_Color myColor
 

Detailed Description

Definition at line 40 of file SMESHDS_GroupBase.hxx.

Constructor & Destructor Documentation

SMESHDS_GroupBase::SMESHDS_GroupBase ( const int  theID,
const SMESHDS_Mesh theMesh,
const SMDSAbs_ElementType  theType 
)
virtual SMESHDS_GroupBase::~SMESHDS_GroupBase ( )
virtual

Definition at line 73 of file SMESHDS_GroupBase.hxx.

SMESHDS_GroupBase::SMESHDS_GroupBase ( const SMESHDS_GroupBase theOther)
private

Member Function Documentation

int SMESHDS_GroupBase::GetID ( ) const

Definition at line 48 of file SMESHDS_GroupBase.hxx.

const SMESHDS_Mesh* SMESHDS_GroupBase::GetMesh ( ) const

Definition at line 50 of file SMESHDS_GroupBase.hxx.

virtual void SMESHDS_GroupBase::SetType ( SMDSAbs_ElementType  theType)
virtual

Reimplemented in SMESHDS_Group.

SMDSAbs_ElementType SMESHDS_GroupBase::GetType ( ) const

Definition at line 54 of file SMESHDS_GroupBase.hxx.

void SMESHDS_GroupBase::SetStoreName ( const char *  theName)

Definition at line 56 of file SMESHDS_GroupBase.hxx.

const char* SMESHDS_GroupBase::GetStoreName ( ) const

Definition at line 58 of file SMESHDS_GroupBase.hxx.

virtual int SMESHDS_GroupBase::Extent ( )
virtual

Reimplemented in SMESHDS_Group.

virtual bool SMESHDS_GroupBase::IsEmpty ( )
virtual

Reimplemented in SMESHDS_Group.

virtual bool SMESHDS_GroupBase::Contains ( const int  theID)
virtual

Reimplemented in SMESHDS_Group, and SMESHDS_GroupOnGeom.

virtual bool SMESHDS_GroupBase::Contains ( const SMDS_MeshElement elem)
virtual

Reimplemented in SMESHDS_Group, and SMESHDS_GroupOnGeom.

virtual SMDS_ElemIteratorPtr SMESHDS_GroupBase::GetElements ( )
pure virtual

Implemented in SMESHDS_Group, and SMESHDS_GroupOnGeom.

int SMESHDS_GroupBase::GetID ( const int  theIndex)
void SMESHDS_GroupBase::SetColor ( const Quantity_Color &  theColor)

Definition at line 75 of file SMESHDS_GroupBase.hxx.

Quantity_Color SMESHDS_GroupBase::GetColor ( ) const

Definition at line 78 of file SMESHDS_GroupBase.hxx.

void SMESHDS_GroupBase::SetColorGroup ( int  theColorGroup)
int SMESHDS_GroupBase::GetColorGroup ( ) const
const SMDS_MeshElement* SMESHDS_GroupBase::findInMesh ( const int  theID) const
protected
void SMESHDS_GroupBase::resetIterator ( )
protected
SMESHDS_GroupBase& SMESHDS_GroupBase::operator= ( const SMESHDS_GroupBase theOther)
private

Field Documentation

int SMESHDS_GroupBase::myID
private

Definition at line 95 of file SMESHDS_GroupBase.hxx.

const SMESHDS_Mesh* SMESHDS_GroupBase::myMesh
private

Definition at line 96 of file SMESHDS_GroupBase.hxx.

SMDSAbs_ElementType SMESHDS_GroupBase::myType
private

Definition at line 97 of file SMESHDS_GroupBase.hxx.

std::string SMESHDS_GroupBase::myStoreName
private

Definition at line 98 of file SMESHDS_GroupBase.hxx.

int SMESHDS_GroupBase::myCurIndex
private

Definition at line 100 of file SMESHDS_GroupBase.hxx.

int SMESHDS_GroupBase::myCurID
private

Definition at line 101 of file SMESHDS_GroupBase.hxx.

SMDS_ElemIteratorPtr SMESHDS_GroupBase::myIterator
private

Definition at line 102 of file SMESHDS_GroupBase.hxx.

Quantity_Color SMESHDS_GroupBase::myColor
private

Definition at line 103 of file SMESHDS_GroupBase.hxx.