#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 () |
Public Member Functions inherited from SMDS_Iterator< SUBMESH * > | |
| virtual bool | more ()=0 |
| Return true if and only if there are other object in this iterator. More... | |
| virtual SUBMESH * | next ()=0 |
| Return the current object and step to the next one. More... | |
| 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 |
|
virtual |
| 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 SMESHDS_TSubMeshHolder< SUBMESH >::GetIterator(), and DocumentObject.DocumentObject::onChanged().
|
virtual |
Return true if and only if there are other object in this iterator.
Implements SMDS_Iterator< SUBMESH * >.
References SMESHDS_TSubMeshHolder< SUBMESH >::Iterator::myNext.
|
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().
| int SMESHDS_TSubMeshHolder< SUBMESH >::Iterator::myCurID |
| int SMESHDS_TSubMeshHolder< SUBMESH >::Iterator::myEndID |
| const SMESHDS_TSubMeshHolder<SUBMESH>* SMESHDS_TSubMeshHolder< SUBMESH >::Iterator::myHolder |
| int SMESHDS_TSubMeshHolder< SUBMESH >::Iterator::myIDDelta |
| SUBMESH* SMESHDS_TSubMeshHolder< SUBMESH >::Iterator::myNext |