Version: 8.3.0
SMESH_Group Class Reference

#include <SMESH_Group.hxx>

Public Member Functions

 SMESH_Group (int theID, const SMESH_Mesh *theMesh, const SMDSAbs_ElementType theType, const char *theName, const TopoDS_Shape &theShape=TopoDS_Shape(), const SMESH_PredicatePtr &thePredicate=SMESH_PredicatePtr())
 
 SMESH_Group (SMESHDS_GroupBase *groupDS)
 Constructor accesible to SMESH_Mesh only. More...
 
 ~SMESH_Group ()
 Destructor deletes myGroupDS. More...
 
void SetName (const char *theName)
 Sets a new name. More...
 
const char * GetName () const
 
SMESHDS_GroupBaseGetGroupDS ()
 

Private Member Functions

 SMESH_Group (const SMESH_Group &theOther)
 
SMESH_Groupoperator= (const SMESH_Group &theOther)
 

Private Attributes

SMESHDS_GroupBasemyGroupDS
 
std::string myName
 

Constructor & Destructor Documentation

SMESH_Group::SMESH_Group ( int  theID,
const SMESH_Mesh theMesh,
const SMDSAbs_ElementType  theType,
const char *  theName,
const TopoDS_Shape &  theShape = TopoDS_Shape(),
const SMESH_PredicatePtr thePredicate = SMESH_PredicatePtr() 
)
SMESH_Group::SMESH_Group ( SMESHDS_GroupBase groupDS)

Constructor accesible to SMESH_Mesh only.

References SMESHDS_GroupBase::GetStoreName(), myGroupDS, and myName.

SMESH_Group::~SMESH_Group ( )

Destructor deletes myGroupDS.

References myGroupDS.

SMESH_Group::SMESH_Group ( const SMESH_Group theOther)
private

Member Function Documentation

SMESHDS_GroupBase* SMESH_Group::GetGroupDS ( )
const char* SMESH_Group::GetName ( ) const
SMESH_Group& SMESH_Group::operator= ( const SMESH_Group theOther)
private
void SMESH_Group::SetName ( const char *  theName)

Sets a new name.

References myGroupDS, myName, and SMESHDS_GroupBase::SetStoreName().

Field Documentation

SMESHDS_GroupBase* SMESH_Group::myGroupDS
private

Referenced by SetName(), SMESH_Group(), and ~SMESH_Group().

std::string SMESH_Group::myName
private

Referenced by SetName(), and SMESH_Group().