Back to index

salome-smesh  6.5.0
Public Member Functions | Private Attributes
MyGroupIterator Class Reference
Inheritance diagram for MyGroupIterator:
Inheritance graph
[legend]
Collaboration diagram for MyGroupIterator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MyGroupIterator (const SMDS_MeshGroup &group)
bool more ()
 Return true if and only if there are other object in this iterator.
const SMDS_MeshElement * next ()
 Return the current object and step to the next one.
virtual void remove ()
 Delete the current element and step to the next one.

Private Attributes

const SMDS_MeshGroup & myGroup

Detailed Description

Definition at line 145 of file SMESHDS_Group.cxx.


Constructor & Destructor Documentation

MyGroupIterator::MyGroupIterator ( const SMDS_MeshGroup &  group) [inline]

Definition at line 149 of file SMESHDS_Group.cxx.

: myGroup(group) { myGroup.InitIterator(); }

Member Function Documentation

bool MyGroupIterator::more ( ) [inline, virtual]

Return true if and only if there are other object in this iterator.

Implements SMDS_Iterator< const SMDS_MeshElement * >.

Definition at line 150 of file SMESHDS_Group.cxx.

{ return myGroup.More(); }
const SMDS_MeshElement* MyGroupIterator::next ( ) [inline, virtual]

Return the current object and step to the next one.

Implements SMDS_Iterator< const SMDS_MeshElement * >.

Definition at line 151 of file SMESHDS_Group.cxx.

{ return myGroup.Next(); }
virtual void SMDS_Iterator< const SMDS_MeshElement * >::remove ( ) [inline, virtual, inherited]

Delete the current element and step to the next one.

Definition at line 44 of file SMDS_Iterator.hxx.

{}

Member Data Documentation

const SMDS_MeshGroup& MyGroupIterator::myGroup [private]

Definition at line 147 of file SMESHDS_Group.cxx.


The documentation for this class was generated from the following file: