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

Definition at line 60 of file SMDS_MeshElementIDFactory.hxx.

Definition at line 61 of file SMDS_MeshElementIDFactory.hxx.

Definition at line 61 of file SMDS_MeshElementIDFactory.hxx.

int SMDS_MeshIDFactory.myMaxID [protected, inherited]

Definition at line 44 of file SMDS_MeshIDFactory.hxx.

std::set<int> SMDS_MeshIDFactory.myPoolOfID [protected, inherited]

Definition at line 45 of file SMDS_MeshIDFactory.hxx.


Generated on 12 Oct 2013 for SALOME - SMESH by  doxygen 1.6.1