Open CASCADE Technology  7.7.0
Public Member Functions | Protected Member Functions

NCollection_SparseArrayBase::Iterator Class Reference

#include <NCollection_SparseArrayBase.hxx>

Inheritance diagram for NCollection_SparseArrayBase::Iterator:
Inheritance graph

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


Constructor & Destructor Documentation

◆ Iterator()

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

Empty constructor.

Member Function Documentation

◆ Index()

Standard_Size NCollection_SparseArrayBase::Iterator::Index ( ) const

Returns current index.

◆ init()

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

Initialize by the specified array.

◆ More()

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

Returns True if current item is available.

◆ Next()

void NCollection_SparseArrayBase::Iterator::Next ( )

Advances to the next item.

◆ Restart()

void NCollection_SparseArrayBase::Iterator::Restart ( )

Restart iterations on the same array.

◆ value()

Standard_Address NCollection_SparseArrayBase::Iterator::value ( ) const

Returns address of the current item.

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