Version: 8.3.0
MyGroupIterator Class Reference
Inheritance diagram for MyGroupIterator:

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_MeshElementnext ()
 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_MeshGroupmyGroup
 

Constructor & Destructor Documentation

MyGroupIterator::MyGroupIterator ( const SMDS_MeshGroup group)

Member Function Documentation

bool MyGroupIterator::more ( )
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.

const SMDS_MeshElement* MyGroupIterator::next ( )
virtual

Return the current object and step to the next one.

Implements SMDS_Iterator< const SMDS_MeshElement * >.

References myGroup, and SMDS_MeshGroup::Next().

virtual void SMDS_Iterator< const SMDS_MeshElement * >::remove ( )
virtualinherited

Delete the current element and step to the next one.

Field Documentation

const SMDS_MeshGroup& MyGroupIterator::myGroup
private

Referenced by more(), MyGroupIterator(), and next().