Open CASCADE Technology  6.9.1
Public Member Functions | Protected Member Functions
NCollection_SparseArrayBase::Iterator Class Reference

#include <NCollection_SparseArrayBase.hxx>

Inheritance diagram for NCollection_SparseArrayBase::Iterator:
Inheritance graph
[legend]

Public Member Functions

void Restart ()
 Restart iterations on the same array. More...
 
Standard_Boolean More () const
 Returns True if current item is available. More...
 
void Next ()
 Advances to the next item. More...
 
Standard_Size Index () const
 Returns current index. More...
 

Protected Member Functions

 Iterator (const NCollection_SparseArrayBase *theArray=0)
 Empty constructor. More...
 
void init (const NCollection_SparseArrayBase *theArray)
 Initialize by the specified array. More...
 
Standard_Address value () const
 Returns address of the current item. More...
 

Detailed Description

Iterator

Constructor & Destructor Documentation

NCollection_SparseArrayBase::Iterator::Iterator ( const NCollection_SparseArrayBase theArray = 0)
protected

Empty constructor.

Member Function Documentation

Standard_Size NCollection_SparseArrayBase::Iterator::Index ( ) const
inline

Returns current index.

void NCollection_SparseArrayBase::Iterator::init ( const NCollection_SparseArrayBase theArray)
protected

Initialize by the specified array.

Standard_Boolean NCollection_SparseArrayBase::Iterator::More ( void  ) const
inline

Returns True if current item is available.

void NCollection_SparseArrayBase::Iterator::Next ( )

Advances to the next item.

void NCollection_SparseArrayBase::Iterator::Restart ( )
inline

Restart iterations on the same array.

Standard_Address NCollection_SparseArrayBase::Iterator::value ( ) const
inlineprotected

Returns address of the current item.


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