Open CASCADE Technology
6.9.0
|
#include <NIS_ObjectsIterator.hxx>
Public Member Functions | |
NIS_ObjectsIterator () | |
NIS_ObjectsIterator (const Handle< NIS_InteractiveContext > &theCtx) | |
void | Initialize (const Handle< NIS_InteractiveContext > &theCtx) |
Standard_Boolean | More () const |
const Handle < NIS_InteractiveObject > & | Value () const |
void | Next () |
Protected Attributes | |
NCollection_SparseArray < Handle < NIS_InteractiveObject > >::ConstIterator | myIter |
Iterator of objects contained in a NIS_InteractiveContext instance. The iteration is always in the ascending sense of object ID. Examples:
|
inline |
Empty Constructor.
|
inline |
Constructor.
theCtx | Interactive context that is to be iterated for all objects. |
void NIS_ObjectsIterator::Initialize | ( | const Handle< NIS_InteractiveContext > & | theCtx | ) |
Reset the Iterator to start the iterations of objects.
theCtx | Interactive context that is to be iterated for all objects. |
|
inline |
Query if the Iterator has an object (not yet finished the iteration process).
void NIS_ObjectsIterator::Next | ( | ) |
Step forward to the next valid InteractiveObject instance.
const Handle< NIS_InteractiveObject >& NIS_ObjectsIterator::Value | ( | ) | const |
Returns the current object at the iteration pointer. If the iteration is over (More() == False) this method returns NULL Handle.
|
protected |