Create an iterator which iterate on elements linked with the current element. More...
Public Member Functions | |
SMDS_MeshElement_MyIterator (const SMDS_MeshElement *element) | |
bool | more () |
Return true if and only if there are other object in this iterator. More... | |
const SMDS_MeshElement * | next () |
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... | |
Private Attributes | |
const SMDS_MeshElement * | myElement |
bool | myMore |
Create an iterator which iterate on elements linked with the current element.
type | The of elements on which you want to iterate |
SMDS_MeshElement_MyIterator::SMDS_MeshElement_MyIterator | ( | const SMDS_MeshElement * | element | ) |
|
virtual |
Return true if and only if there are other object in this iterator.
Implements SMDS_Iterator< const SMDS_MeshElement * >.
|
virtual |
Return the current object and step to the next one.
Implements SMDS_Iterator< const SMDS_MeshElement * >.
|
virtualinherited |
Delete the current element and step to the next one.
|
private |
|
private |