- inline SMESHDS_Mesh *getParent() {return myParent; };
+ SMESHDS_Mesh *GetParent() { return myParent; }
// Element should belong to only one sub-mesh
if ( !theSubMeshes.empty() )
{
- SMESHDS_Mesh* mesh = theSubMeshes.begin()->second->getParent();
+ SMESHDS_Mesh* mesh = theSubMeshes.begin()->second->GetParent();
list<const SMDS_MeshElement *>::iterator elIt = theElems.begin();
if ( isNode ) {
for ( ; elIt != theElems.end(); ++elIt )
int getSize();
void compactList();
- inline SMESHDS_Mesh *getParent() {return myParent; };
+ SMESHDS_Mesh *GetParent() { return myParent; }
+ int GetID() const { return myIndex; }
private:
SMESHDS_Mesh * myParent;