SALOME - SMESH
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 ( )

Member Function Documentation

bool SMDS_MeshElementIDFactory::BindID ( int  ID,
SMDS_MeshElement elem 
)
SMDS_MeshElement* SMDS_MeshElementIDFactory::MeshElement ( int  ID)
virtual int SMDS_MeshElementIDFactory::GetFreeID ( )
virtual

Reimplemented from SMDS_MeshIDFactory.

virtual void SMDS_MeshElementIDFactory::ReleaseID ( int  ID)
virtual

Reimplemented from SMDS_MeshIDFactory.

int SMDS_MeshElementIDFactory::GetMaxID ( ) const
int SMDS_MeshElementIDFactory::GetMinID ( ) const
SMDS_ElemIteratorPtr SMDS_MeshElementIDFactory::elementsIterator ( ) const
virtual void SMDS_MeshElementIDFactory::Clear ( )
virtual

Reimplemented from SMDS_MeshIDFactory.

void SMDS_MeshElementIDFactory::updateMinMax ( ) const
private
void SMDS_MeshElementIDFactory::updateMinMax ( int  id) const
private

Definition at line 54 of file SMDS_MeshElementIDFactory.hxx.

Field Documentation

SMDS_IdElementMap SMDS_MeshElementIDFactory::myIDElements
private

Definition at line 60 of file SMDS_MeshElementIDFactory.hxx.

int SMDS_MeshElementIDFactory::myMin
mutableprivate

Definition at line 61 of file SMDS_MeshElementIDFactory.hxx.

int SMDS_MeshElementIDFactory::myMax
mutableprivate

Definition at line 61 of file SMDS_MeshElementIDFactory.hxx.

int SMDS_MeshIDFactory::myMaxID
protectedinherited

Definition at line 44 of file SMDS_MeshIDFactory.hxx.

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

Definition at line 45 of file SMDS_MeshIDFactory.hxx.