OCCT3D 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_Map< TheKeyType, Hasher >::Iterator Class Reference

    Implementation of the Iterator interface. More...

    #include <NCollection_Map.hxx>

    Inheritance diagram for NCollection_Map< TheKeyType, Hasher >::Iterator:

    Public Member Functions

     Iterator ()
     Empty constructor.
     Iterator (const NCollection_Map &theMap)
     Constructor.
    bool More () const noexcept
     Query if the end of collection is reached by iterator.
    void Next () noexcept
     Make a step along the collection.
    const TheKeyType & Value () const
     Value inquiry.
    const TheKeyType & Key () const
     Key.
    Public Member Functions inherited from NCollection_BaseMap::Iterator
    void Initialize (const NCollection_BaseMap &theMap) noexcept
     Initialize.
    void Reset () noexcept
     Reset.
    bool IsEqual (const Iterator &theOther) const noexcept
     Performs comparison of two iterators.

    Additional Inherited Members

    Protected Member Functions inherited from NCollection_BaseMap::Iterator
     Iterator () noexcept
     Empty constructor.
     Iterator (const NCollection_BaseMap &theMap) noexcept
     Constructor.
    bool PMore () const noexcept
     PMore.
    void PNext () noexcept
     PNext.
    Protected Attributes inherited from NCollection_BaseMap::Iterator
    size_t myNbBuckets
     Total buckets in the map.
    NCollection_ListNode ** myBuckets
     Location in memory.
    size_t myBucket
     Current bucket.
    NCollection_ListNodemyNode
     Current node.

    Detailed Description

    template<class TheKeyType, class Hasher = NCollection_DefaultHasher<TheKeyType>>
    class NCollection_Map< TheKeyType, Hasher >::Iterator

    Implementation of the Iterator interface.

    Constructor & Destructor Documentation

    ◆ Iterator() [1/2]

    template<class TheKeyType, class Hasher = NCollection_DefaultHasher<TheKeyType>>
    NCollection_Map< TheKeyType, Hasher >::Iterator::Iterator ( )
    inline

    Empty constructor.

    ◆ Iterator() [2/2]

    template<class TheKeyType, class Hasher = NCollection_DefaultHasher<TheKeyType>>
    NCollection_Map< TheKeyType, Hasher >::Iterator::Iterator ( const NCollection_Map & theMap)
    inline

    Constructor.

    Member Function Documentation

    ◆ Key()

    template<class TheKeyType, class Hasher = NCollection_DefaultHasher<TheKeyType>>
    const TheKeyType & NCollection_Map< TheKeyType, Hasher >::Iterator::Key ( ) const
    inline

    Key.

    ◆ More()

    template<class TheKeyType, class Hasher = NCollection_DefaultHasher<TheKeyType>>
    bool NCollection_Map< TheKeyType, Hasher >::Iterator::More ( ) const
    inlinenoexcept

    Query if the end of collection is reached by iterator.

    ◆ Next()

    template<class TheKeyType, class Hasher = NCollection_DefaultHasher<TheKeyType>>
    void NCollection_Map< TheKeyType, Hasher >::Iterator::Next ( )
    inlinenoexcept

    Make a step along the collection.

    ◆ Value()

    template<class TheKeyType, class Hasher = NCollection_DefaultHasher<TheKeyType>>
    const TheKeyType & NCollection_Map< TheKeyType, Hasher >::Iterator::Value ( ) const
    inline

    Value inquiry.


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