#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_GroupBase * | GetGroupDS () |
Private Member Functions | |
SMESH_Group (const SMESH_Group &theOther) | |
SMESH_Group & | operator= (const SMESH_Group &theOther) |
Private Attributes | |
SMESHDS_GroupBase * | myGroupDS |
std::string | myName |
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() |
||
) |
References myGroupDS, and SMESHDS_GroupBase::SetStoreName().
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.
|
private |
SMESHDS_GroupBase* SMESH_Group::GetGroupDS | ( | ) |
const char* SMESH_Group::GetName | ( | ) | const |
|
private |
void SMESH_Group::SetName | ( | const char * | theName | ) |
Sets a new name.
References myGroupDS, myName, and SMESHDS_GroupBase::SetStoreName().
|
private |
Referenced by SetName(), SMESH_Group(), and ~SMESH_Group().
|
private |
Referenced by SetName(), and SMESH_Group().