Public Member Functions | |
MyGroupIterator (const SMDS_MeshGroup &group) | |
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_MeshGroup & | myGroup |
MyGroupIterator::MyGroupIterator | ( | const SMDS_MeshGroup & | group | ) |
References SMDS_MeshGroup::InitIterator(), and myGroup.
|
virtual |
Return true if and only if there are other object in this iterator.
Implements SMDS_Iterator< const SMDS_MeshElement * >.
References SMDS_MeshGroup::More(), and myGroup.
|
virtual |
Return the current object and step to the next one.
Implements SMDS_Iterator< const SMDS_MeshElement * >.
References myGroup, and SMDS_MeshGroup::Next().
|
virtualinherited |
Delete the current element and step to the next one.
|
private |
Referenced by more(), MyGroupIterator(), and next().