Open CASCADE Technology
6.5.4
|
#include <TObj_SequenceIterator.hxx>
Public Member Functions | |
TObj_SequenceIterator (const Handle< TObj_HSequenceOfObject > &theObjects, const Handle< Standard_Type > &theType=NULL) | |
Creates an iterator an initialize it by sequence of objects. | |
virtual Standard_Boolean | More () const |
Returns True if there is a current Item in the iteration. | |
virtual void | Next () |
Move to the next Item. | |
virtual Handle< TObj_Object > | Value () const |
Returns the current item. | |
Protected Member Functions | |
TObj_SequenceIterator () | |
Creates an Empty Iterator. | |
Protected Attributes | |
Standard_Integer | myIndex |
current index of object in sequence | |
Handle< Standard_Type > | myType |
type of object | |
Handle< TObj_HSequenceOfObject > | myObjects |
seqence of objects |
This class is an iterator on sequence
TObj_SequenceIterator::TObj_SequenceIterator | ( | ) | [protected] |
Constructor
TObj_SequenceIterator::TObj_SequenceIterator | ( | const Handle< TObj_HSequenceOfObject > & | theObjects, |
const Handle< Standard_Type > & | theType = NULL |
||
) |
Constructor
virtual Standard_Boolean TObj_SequenceIterator::More | ( | ) | const [virtual] |
Redefined methods
Reimplemented from TObj_ObjectIterator.
virtual void TObj_SequenceIterator::Next | ( | ) | [virtual] |
Reimplemented from TObj_ObjectIterator.
virtual Handle< TObj_Object > TObj_SequenceIterator::Value | ( | ) | const [virtual] |
Reimplemented from TObj_ObjectIterator.
Standard_Integer TObj_SequenceIterator::myIndex [protected] |
Fields
Handle< TObj_HSequenceOfObject > TObj_SequenceIterator::myObjects [protected] |
Handle< Standard_Type > TObj_SequenceIterator::myType [protected] |