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_IndexedMap< TheKeyType, Hasher >::IndexedMapNode Class Reference

    Adaptation of the TListNode to the INDEXEDmap. More...

    #include <NCollection_IndexedMap.hxx>

    Inheritance diagram for NCollection_IndexedMap< TheKeyType, Hasher >::IndexedMapNode:

    Public Member Functions

     IndexedMapNode (const TheKeyType &theKey1, const int theIndex, NCollection_ListNode *theNext1)
     Constructor with 'Next'.
     IndexedMapNode (TheKeyType &&theKey1, const int theIndex, NCollection_ListNode *theNext1)
     Constructor with 'Next'.
    template<typename... Args>
     IndexedMapNode (std::in_place_t, const int theIndex, NCollection_ListNode *theNext1, Args &&... theArgs)
     Constructor with in-place key construction.
    TheKeyType & Key1 () noexcept
     Key1.
    int & Index () noexcept
     Index.
    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_ListNode * Next () const noexcept
     Next pointer const access.

    Static Public Member Functions

    static void delNode (NCollection_ListNode *theNode, occ::handle< NCollection_BaseAllocator > &theAl) noexcept
     Static deleter to be passed to BaseList.
    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.

    Additional Inherited Members

    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_IndexedMap< TheKeyType, Hasher >::IndexedMapNode

    Adaptation of the TListNode to the INDEXEDmap.

    Constructor & Destructor Documentation

    ◆ IndexedMapNode() [1/3]

    template<class TheKeyType, class Hasher = NCollection_DefaultHasher<TheKeyType>>
    NCollection_IndexedMap< TheKeyType, Hasher >::IndexedMapNode::IndexedMapNode ( const TheKeyType & theKey1,
    const int theIndex,
    NCollection_ListNode * theNext1 )
    inline

    Constructor with 'Next'.

    ◆ IndexedMapNode() [2/3]

    template<class TheKeyType, class Hasher = NCollection_DefaultHasher<TheKeyType>>
    NCollection_IndexedMap< TheKeyType, Hasher >::IndexedMapNode::IndexedMapNode ( TheKeyType && theKey1,
    const int theIndex,
    NCollection_ListNode * theNext1 )
    inline

    Constructor with 'Next'.

    ◆ IndexedMapNode() [3/3]

    template<class TheKeyType, class Hasher = NCollection_DefaultHasher<TheKeyType>>
    template<typename... Args>
    NCollection_IndexedMap< TheKeyType, Hasher >::IndexedMapNode::IndexedMapNode ( std::in_place_t ,
    const int theIndex,
    NCollection_ListNode * theNext1,
    Args &&... theArgs )
    inline

    Constructor with in-place key construction.

    Member Function Documentation

    ◆ delNode()

    template<class TheKeyType, class Hasher = NCollection_DefaultHasher<TheKeyType>>
    void NCollection_IndexedMap< TheKeyType, Hasher >::IndexedMapNode::delNode ( NCollection_ListNode * theNode,
    occ::handle< NCollection_BaseAllocator > & theAl )
    inlinestaticnoexcept

    Static deleter to be passed to BaseList.

    ◆ Index()

    template<class TheKeyType, class Hasher = NCollection_DefaultHasher<TheKeyType>>
    int & NCollection_IndexedMap< TheKeyType, Hasher >::IndexedMapNode::Index ( )
    inlinenoexcept

    Index.

    ◆ Key1()

    template<class TheKeyType, class Hasher = NCollection_DefaultHasher<TheKeyType>>
    TheKeyType & NCollection_IndexedMap< TheKeyType, Hasher >::IndexedMapNode::Key1 ( )
    inlinenoexcept

    Key1.


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