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_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::Iterator Class Reference

    #include <NCollection_DoubleMap.hxx>

    Inheritance diagram for NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::Iterator:

    Public Member Functions

     Iterator ()=default
     Empty constructor.
     Iterator (const NCollection_DoubleMap &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 TheKey1Type & Key1 () const
     Key1 inquiry.
    const TheKey2Type & Key2 () const
     Key2 inquiry.
    const TheKey2Type & Value () const
     Value access.
    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_ListNode * myNode
     Current node.

    Constructor & Destructor Documentation

    ◆ Iterator() [1/2]

    template<class TheKey1Type, class TheKey2Type, class Hasher1 = NCollection_DefaultHasher<TheKey1Type>, class Hasher2 = NCollection_DefaultHasher<TheKey2Type>>
    NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::Iterator::Iterator ( )
    default

    Empty constructor.

    ◆ Iterator() [2/2]

    template<class TheKey1Type, class TheKey2Type, class Hasher1 = NCollection_DefaultHasher<TheKey1Type>, class Hasher2 = NCollection_DefaultHasher<TheKey2Type>>
    NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::Iterator::Iterator ( const NCollection_DoubleMap & theMap)
    inline

    Constructor.

    Member Function Documentation

    ◆ Key1()

    template<class TheKey1Type, class TheKey2Type, class Hasher1 = NCollection_DefaultHasher<TheKey1Type>, class Hasher2 = NCollection_DefaultHasher<TheKey2Type>>
    const TheKey1Type & NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::Iterator::Key1 ( ) const
    inline

    Key1 inquiry.

    ◆ Key2()

    template<class TheKey1Type, class TheKey2Type, class Hasher1 = NCollection_DefaultHasher<TheKey1Type>, class Hasher2 = NCollection_DefaultHasher<TheKey2Type>>
    const TheKey2Type & NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::Iterator::Key2 ( ) const
    inline

    Key2 inquiry.

    ◆ More()

    template<class TheKey1Type, class TheKey2Type, class Hasher1 = NCollection_DefaultHasher<TheKey1Type>, class Hasher2 = NCollection_DefaultHasher<TheKey2Type>>
    bool NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::Iterator::More ( ) const
    inlinenoexcept

    Query if the end of collection is reached by iterator.

    ◆ Next()

    template<class TheKey1Type, class TheKey2Type, class Hasher1 = NCollection_DefaultHasher<TheKey1Type>, class Hasher2 = NCollection_DefaultHasher<TheKey2Type>>
    void NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::Iterator::Next ( )
    inlinenoexcept

    Make a step along the collection.

    ◆ Value()

    template<class TheKey1Type, class TheKey2Type, class Hasher1 = NCollection_DefaultHasher<TheKey1Type>, class Hasher2 = NCollection_DefaultHasher<TheKey2Type>>
    const TheKey2Type & NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::Iterator::Value ( ) const
    inline

    Value access.


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