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 >::MapNode Class Reference

    Adaptation of the TListNode to the map notations. More...

    #include <NCollection_Map.hxx>

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

    Public Member Functions

     MapNode (const TheKeyType &theKey, NCollection_ListNode *theNext)
     Constructor with 'Next'.
     MapNode (TheKeyType &&theKey, NCollection_ListNode *theNext)
     Constructor with 'Next'.
    template<typename... Args>
     MapNode (std::in_place_t, NCollection_ListNode *theNext, Args &&... theArgs)
     Constructor with in-place key construction.
    const TheKeyType & Key () noexcept
     Key.
    Public Member Functions inherited from NCollection_TListNode< TheKeyType >
     NCollection_TListNode (const TheKeyType &theItem, NCollection_ListNode *theNext=nullptr)
     Constructor.
    const TheKeyType & Value () const noexcept
     Constant value access.
    TheKeyType & ChangeValue () noexcept
     Variable value access.
    Public Member Functions inherited from NCollection_ListNode
     NCollection_ListNode (NCollection_ListNode *theNext) noexcept
     The only constructor.
    NCollection_ListNode *& Next () noexcept
     Next pointer access.
    NCollection_ListNodeNext () const noexcept
     Next pointer const access.

    Additional Inherited Members

    Static Public Member Functions inherited from NCollection_TListNode< TheKeyType >
    static void delNode (NCollection_ListNode *theNode, occ::handle< NCollection_BaseAllocator > &theAl)
     Static deleter to be passed to BaseList.
    Protected Attributes inherited from NCollection_TListNode< TheKeyType >
    TheKeyType myValue
     The item stored in the node.

    Detailed Description

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

    Adaptation of the TListNode to the map notations.

    Constructor & Destructor Documentation

    ◆ MapNode() [1/3]

    template<class TheKeyType, class Hasher = NCollection_DefaultHasher<TheKeyType>>
    NCollection_Map< TheKeyType, Hasher >::MapNode::MapNode ( const TheKeyType & theKey,
    NCollection_ListNode * theNext )
    inline

    Constructor with 'Next'.

    ◆ MapNode() [2/3]

    template<class TheKeyType, class Hasher = NCollection_DefaultHasher<TheKeyType>>
    NCollection_Map< TheKeyType, Hasher >::MapNode::MapNode ( TheKeyType && theKey,
    NCollection_ListNode * theNext )
    inline

    Constructor with 'Next'.

    ◆ MapNode() [3/3]

    template<class TheKeyType, class Hasher = NCollection_DefaultHasher<TheKeyType>>
    template<typename... Args>
    NCollection_Map< TheKeyType, Hasher >::MapNode::MapNode ( std::in_place_t ,
    NCollection_ListNode * theNext,
    Args &&... theArgs )
    inline

    Constructor with in-place key construction.

    Member Function Documentation

    ◆ Key()

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

    Key.


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