OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    NCollection_SparseArrayBase::Iterator Class Reference

    #include <NCollection_SparseArrayBase.hxx>

    Inheritance diagram for NCollection_SparseArrayBase::Iterator:

    Public Member Functions

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

    Protected Member Functions

     Iterator (const NCollection_SparseArrayBase *theArray=nullptr)
     Empty constructor.
    void init (const NCollection_SparseArrayBase *theArray)
     Initialize by the specified array.
    voidvalue () const noexcept
     Returns address of the current item.

    Detailed Description

    Constructor & Destructor Documentation

    ◆ Iterator()

    NCollection_SparseArrayBase::Iterator::Iterator ( const NCollection_SparseArrayBase * theArray = nullptr)
    protected

    Empty constructor.

    Member Function Documentation

    ◆ Index()

    size_t NCollection_SparseArrayBase::Iterator::Index ( ) const
    inlinenoexcept

    Returns current index.

    ◆ init()

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

    Initialize by the specified array.

    ◆ More()

    bool NCollection_SparseArrayBase::Iterator::More ( ) const
    inlinenoexcept

    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()

    void * NCollection_SparseArrayBase::Iterator::value ( ) const
    inlineprotectednoexcept

    Returns address of the current item.


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