SMDS_MeshIDFactory Class Reference

#include <SMDS_MeshIDFactory.hxx>

Public Member Functions

void adjustMaxId (int ID)
 
virtual void Clear ()
 
virtual void emptyPool (int maxId)
 
int GetFreeID ()
 
SMDS_MeshGetMesh ()
 
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_MeshmyMesh
 
std::set< intmyPoolOfID
 

Constructor & Destructor Documentation

◆ SMDS_MeshIDFactory()

SMDS_MeshIDFactory::SMDS_MeshIDFactory ( )
protected

Member Function Documentation

◆ adjustMaxId()

void SMDS_MeshIDFactory::adjustMaxId ( int  ID)

◆ Clear()

void SMDS_MeshIDFactory::Clear ( )
virtual

◆ emptyPool()

void SMDS_MeshIDFactory::emptyPool ( int  maxId)
virtual

Reimplemented in SMDS_MeshNodeIDFactory.

References myMaxID, and myPoolOfID.

Referenced by SMDS_MeshNodeIDFactory::emptyPool().

◆ GetFreeID()

int SMDS_MeshIDFactory::GetFreeID ( )

◆ GetMesh()

SMDS_Mesh * SMDS_MeshIDFactory::GetMesh ( )

◆ isPoolIdEmpty()

bool SMDS_MeshIDFactory::isPoolIdEmpty ( )

◆ ReleaseID()

void SMDS_MeshIDFactory::ReleaseID ( int  ID,
int  vtkId = -1 
)
virtual

◆ SetMesh()

void SMDS_MeshIDFactory::SetMesh ( SMDS_Mesh mesh)

References myMesh.

Referenced by SMDS_Mesh::SMDS_Mesh().

Member Data Documentation

◆ myMaxID

int SMDS_MeshIDFactory::myMaxID
protected

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

◆ myMesh

◆ myPoolOfID

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

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


The documentation for this class was generated from the following files: