Version: 8.3.0
SMDS_MeshIDFactory Class Reference

#include <SMDS_MeshIDFactory.hxx>

Inheritance diagram for SMDS_MeshIDFactory:

Public Member Functions

int GetFreeID ()
 
virtual void ReleaseID (int ID, int vtkId=-1)
 
virtual void Clear ()
 
void SetMesh (SMDS_Mesh *mesh)
 
SMDS_MeshGetMesh ()
 
bool isPoolIdEmpty ()
 
virtual void emptyPool (int maxId)
 
void adjustMaxId (int ID)
 

Protected Member Functions

 SMDS_MeshIDFactory ()
 

Protected Attributes

int myMaxID
 
std::set< intmyPoolOfID
 
SMDS_MeshmyMesh
 

Constructor & Destructor Documentation

SMDS_MeshIDFactory::SMDS_MeshIDFactory ( )
protected

Member Function Documentation

void SMDS_MeshIDFactory::adjustMaxId ( int  ID)
void SMDS_MeshIDFactory::Clear ( )
virtual
void SMDS_MeshIDFactory::emptyPool ( int  maxId)
virtual

Reimplemented in SMDS_MeshNodeIDFactory.

References myMaxID, and myPoolOfID.

Referenced by SMDS_MeshNodeIDFactory::emptyPool().

int SMDS_MeshIDFactory::GetFreeID ( )
SMDS_Mesh * SMDS_MeshIDFactory::GetMesh ( )
bool SMDS_MeshIDFactory::isPoolIdEmpty ( )
void SMDS_MeshIDFactory::ReleaseID ( int  ID,
int  vtkId = -1 
)
virtual
void SMDS_MeshIDFactory::SetMesh ( SMDS_Mesh mesh)

References myMesh.

Referenced by SMDS_Mesh::SMDS_Mesh().

Field Documentation

int SMDS_MeshIDFactory::myMaxID
protected

Referenced by Clear(), emptyPool(), GetFreeID(), and ReleaseID().

std::set<int> SMDS_MeshIDFactory::myPoolOfID
protected

Referenced by Clear(), emptyPool(), GetFreeID(), and ReleaseID().