#include <SMDS_MeshIDFactory.hxx>
Public Member Functions | |
void | adjustMaxId (int ID) |
virtual void | Clear () |
virtual void | emptyPool (int maxId) |
int | GetFreeID () |
SMDS_Mesh * | GetMesh () |
bool | isPoolIdEmpty () |
virtual void | ReleaseID (int ID, int vtkId=-1) |
void | SetMesh (SMDS_Mesh *mesh) |
Public Member Functions inherited from SMDS_MeshObject | |
virtual | ~SMDS_MeshObject () |
Protected Member Functions | |
SMDS_MeshIDFactory () | |
Protected Attributes | |
int | myMaxID |
SMDS_Mesh * | myMesh |
std::set< int > | myPoolOfID |
|
protected |
void SMDS_MeshIDFactory::adjustMaxId | ( | int | ID | ) |
Referenced by SMDS_Mesh::AddNodeWithID().
|
virtual |
Reimplemented in SMDS_MeshElementIDFactory, and SMDS_MeshNodeIDFactory.
References myMaxID, and myPoolOfID.
Referenced by SMDS_MeshElementIDFactory::Clear(), and SMDS_MeshNodeIDFactory::Clear().
|
virtual |
Reimplemented in SMDS_MeshNodeIDFactory.
References myMaxID, and myPoolOfID.
Referenced by SMDS_MeshNodeIDFactory::emptyPool().
int SMDS_MeshIDFactory::GetFreeID | ( | ) |
References myMaxID, and myPoolOfID.
Referenced by SMDS_MeshElementIDFactory::GetFreeID(), and SMDS_MeshNodeIDFactory::GetFreeID().
SMDS_Mesh * SMDS_MeshIDFactory::GetMesh | ( | ) |
References myMesh.
Referenced by SMDS_MeshElementIDFactory::MeshElement(), and SMDS_MeshNodeIDFactory::MeshElement().
bool SMDS_MeshIDFactory::isPoolIdEmpty | ( | ) |
Reimplemented in SMDS_MeshElementIDFactory, and SMDS_MeshNodeIDFactory.
References myMaxID, and myPoolOfID.
Referenced by SMDS_MeshElementIDFactory::ReleaseID(), and SMDS_MeshNodeIDFactory::ReleaseID().
void SMDS_MeshIDFactory::SetMesh | ( | SMDS_Mesh * | mesh | ) |
References myMesh.
Referenced by SMDS_Mesh::SMDS_Mesh().
|
protected |
Referenced by Clear(), emptyPool(), GetFreeID(), and ReleaseID().
|
protected |
Referenced by SMDS_MeshElementIDFactory::BindID(), SMDS_MeshElementIDFactory::Clear(), SMDS_MeshElementIDFactory::elementsIterator(), SMDS_MeshNodeIDFactory::elementsIterator(), GetMesh(), SMDS_MeshElementIDFactory::MeshElement(), SMDS_MeshElementIDFactory::ReleaseID(), SMDS_MeshNodeIDFactory::ReleaseID(), SMDS_MeshElementIDFactory::SetInVtkGrid(), SetMesh(), SMDS_MeshElementIDFactory::updateMinMax(), and SMDS_MeshNodeIDFactory::updateMinMax().
|
protected |
Referenced by Clear(), emptyPool(), GetFreeID(), and ReleaseID().