#include <SMESHDS_TSubMeshHolder.hxx>
Public Member Functions | |
void init (const SMESHDS_TSubMeshHolder< SUBMESH > *holder, int firstID, int endID, int delta) | |
bool more () | |
Return true if and only if there are other object in this iterator. More... | |
SUBMESH * next () | |
Return the current object and step to the next one. More... | |
virtual ~Iterator () | |
![]() | |
virtual void remove () | |
Delete the current element and step to the next one. More... | |
virtual ~SMDS_Iterator () | |
Provide virtual destructor just for case if some derived iterator must have a destructor. More... | |
Public Attributes | |
int myCurID | |
int myEndID | |
const SMESHDS_TSubMeshHolder< SUBMESH > * myHolder | |
int myIDDelta | |
SUBMESH * myNext | |
Constructor & Destructor Documentation
◆ ~Iterator()
|
virtual |
Member Function Documentation
◆ init()
void SMESHDS_TSubMeshHolder< SUBMESH >::Iterator::init | ( | const SMESHDS_TSubMeshHolder< SUBMESH > * | holder, |
int | firstID, | ||
int | endID, | ||
int | delta | ||
) |
References SMESHDS_TSubMeshHolder< SUBMESH >::Iterator::myCurID, SMESHDS_TSubMeshHolder< SUBMESH >::Iterator::myEndID, SMESHDS_TSubMeshHolder< SUBMESH >::Iterator::myHolder, SMESHDS_TSubMeshHolder< SUBMESH >::Iterator::myIDDelta, SMESHDS_TSubMeshHolder< SUBMESH >::Iterator::myNext, and SMESHDS_TSubMeshHolder< SUBMESH >::Iterator::next().
Referenced by DocumentObject.DocumentObject::onChanged().
◆ more()
|
virtual |
Return true if and only if there are other object in this iterator.
Implements SMDS_Iterator< SUBMESH * >.
References SMESHDS_TSubMeshHolder< SUBMESH >::Iterator::myNext.
◆ next()
|
virtual |
Return the current object and step to the next one.
Implements SMDS_Iterator< SUBMESH * >.
References SMESHDS_TSubMeshHolder< SUBMESH >::Iterator::myCurID, SMESHDS_TSubMeshHolder< SUBMESH >::Iterator::myEndID, SMESHDS_TSubMeshHolder< SUBMESH >::Iterator::myHolder, SMESHDS_TSubMeshHolder< SUBMESH >::Iterator::myIDDelta, and SMESHDS_TSubMeshHolder< SUBMESH >::Iterator::myNext.
Referenced by SMESHDS_TSubMeshHolder< SUBMESH >::Iterator::init().
Member Data Documentation
◆ myCurID
int SMESHDS_TSubMeshHolder< SUBMESH >::Iterator::myCurID |
◆ myEndID
int SMESHDS_TSubMeshHolder< SUBMESH >::Iterator::myEndID |
◆ myHolder
const SMESHDS_TSubMeshHolder<SUBMESH>* SMESHDS_TSubMeshHolder< SUBMESH >::Iterator::myHolder |
◆ myIDDelta
int SMESHDS_TSubMeshHolder< SUBMESH >::Iterator::myIDDelta |
◆ myNext
SUBMESH* SMESHDS_TSubMeshHolder< SUBMESH >::Iterator::myNext |
The documentation for this struct was generated from the following file:
- src/3rdParty/salomesmesh/inc/SMESHDS_TSubMeshHolder.hxx