mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 17:00:34 +05:00
- SMDS_MeshElement * MeshElement(int ID);
+ SMDS_MeshElement * MeshElement(int ID) const;
This commit is contained in:
parent
b90c9d785d
commit
1fd762e26c
@ -61,7 +61,7 @@ bool SMDS_MeshElementIDFactory::BindID(int ID, SMDS_MeshElement * elem)
|
|||||||
//function : MeshElement
|
//function : MeshElement
|
||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
SMDS_MeshElement* SMDS_MeshElementIDFactory::MeshElement(int ID)
|
SMDS_MeshElement* SMDS_MeshElementIDFactory::MeshElement(int ID) const
|
||||||
{
|
{
|
||||||
if (!myIDElements.IsBound(ID))
|
if (!myIDElements.IsBound(ID))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@ -42,7 +42,7 @@ class SMDS_EXPORT SMDS_MeshElementIDFactory:public SMDS_MeshIDFactory
|
|||||||
public:
|
public:
|
||||||
SMDS_MeshElementIDFactory();
|
SMDS_MeshElementIDFactory();
|
||||||
bool BindID(int ID, SMDS_MeshElement * elem);
|
bool BindID(int ID, SMDS_MeshElement * elem);
|
||||||
SMDS_MeshElement * MeshElement(int ID);
|
SMDS_MeshElement * MeshElement(int ID) const;
|
||||||
virtual int GetFreeID();
|
virtual int GetFreeID();
|
||||||
virtual void ReleaseID(int ID);
|
virtual void ReleaseID(int ID);
|
||||||
int GetMaxID() const;
|
int GetMaxID() const;
|
||||||
|
Loading…
Reference in New Issue
Block a user