SALOME - SMESH
SMDS_MeshElementIDFactory Class Reference

#include <SMDS_MeshElementIDFactory.hxx>

Inheritance diagram for SMDS_MeshElementIDFactory:
Inheritance graph
Collaboration diagram for SMDS_MeshElementIDFactory:
Collaboration graph

Public Member Functions

 SMDS_MeshElementIDFactory ()
 
bool BindID (int ID, SMDS_MeshElement *elem)
 
SMDS_MeshElementMeshElement (int ID)
 
virtual int GetFreeID ()
 
virtual void ReleaseID (int ID)
 
int GetMaxID () const
 
int GetMinID () const
 
SMDS_ElemIteratorPtr elementsIterator () const
 
virtual void Clear ()
 

Protected Attributes

int myMaxID
 
std::set< intmyPoolOfID
 

Private Member Functions

void updateMinMax () const
 
void updateMinMax (int id) const
 

Private Attributes

SMDS_IdElementMap myIDElements
 
int myMin
 
int myMax
 

Detailed Description

Definition at line 40 of file SMDS_MeshElementIDFactory.hxx.

Constructor & Destructor Documentation

◆ SMDS_MeshElementIDFactory()

SMDS_MeshElementIDFactory::SMDS_MeshElementIDFactory ( )

Member Function Documentation

◆ BindID()

bool SMDS_MeshElementIDFactory::BindID ( int  ID,
SMDS_MeshElement elem 
)

Referenced by SMDS_MeshElement::IsPoly().

Here is the caller graph for this function:

◆ MeshElement()

SMDS_MeshElement* SMDS_MeshElementIDFactory::MeshElement ( int  ID)

◆ GetFreeID()

virtual int SMDS_MeshElementIDFactory::GetFreeID ( )
virtual

Reimplemented from SMDS_MeshIDFactory.

◆ ReleaseID()

virtual void SMDS_MeshElementIDFactory::ReleaseID ( int  ID)
virtual

Reimplemented from SMDS_MeshIDFactory.

◆ GetMaxID()

int SMDS_MeshElementIDFactory::GetMaxID ( ) const

◆ GetMinID()

int SMDS_MeshElementIDFactory::GetMinID ( ) const

◆ elementsIterator()

SMDS_ElemIteratorPtr SMDS_MeshElementIDFactory::elementsIterator ( ) const

◆ Clear()

virtual void SMDS_MeshElementIDFactory::Clear ( )
virtual

Reimplemented from SMDS_MeshIDFactory.

◆ updateMinMax() [1/2]

void SMDS_MeshElementIDFactory::updateMinMax ( ) const
private

◆ updateMinMax() [2/2]

void SMDS_MeshElementIDFactory::updateMinMax ( int  id) const
private

Definition at line 54 of file SMDS_MeshElementIDFactory.hxx.

Field Documentation

◆ myIDElements

SMDS_IdElementMap SMDS_MeshElementIDFactory::myIDElements
private

Definition at line 60 of file SMDS_MeshElementIDFactory.hxx.

◆ myMin

int SMDS_MeshElementIDFactory::myMin
mutableprivate

Definition at line 61 of file SMDS_MeshElementIDFactory.hxx.

◆ myMax

int SMDS_MeshElementIDFactory::myMax
mutableprivate

Definition at line 61 of file SMDS_MeshElementIDFactory.hxx.

◆ myMaxID

int SMDS_MeshIDFactory::myMaxID
protectedinherited

Definition at line 44 of file SMDS_MeshIDFactory.hxx.

◆ myPoolOfID

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

Definition at line 45 of file SMDS_MeshIDFactory.hxx.