Open CASCADE Technology  7.4.0
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

◆ Iterator()

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

Empty constructor.

Member Function Documentation

◆ Index()

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

Returns current index.

◆ init()

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

Initialize by the specified array.

◆ More()

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

Returns True if current item is available.

◆ Next()

void NCollection_SparseArrayBase::Iterator::Next ( )

Advances to the next item.

◆ Restart()

void NCollection_SparseArrayBase::Iterator::Restart ( )
inline

Restart iterations on the same array.

◆ value()

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: