Open CASCADE Technology Reference Manual 8.0.2
Loading...
Searching...
No Matches
NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::DoubleMapNode Class Reference

#include <NCollection_DoubleMap.hxx>

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

Public Member Functions

 DoubleMapNode (const TheKey1Type &theKey1, const TheKey2Type &theKey2, NCollection_ListNode *theNext1, NCollection_ListNode *theNext2)
 Constructor with 'Next'.
 DoubleMapNode (TheKey1Type &&theKey1, const TheKey2Type &theKey2, NCollection_ListNode *theNext1, NCollection_ListNode *theNext2)
 Constructor with 'Next' (move Key1)
 DoubleMapNode (const TheKey1Type &theKey1, TheKey2Type &&theKey2, NCollection_ListNode *theNext1, NCollection_ListNode *theNext2)
 Constructor with 'Next' (move Key2)
 DoubleMapNode (TheKey1Type &&theKey1, TheKey2Type &&theKey2, NCollection_ListNode *theNext1, NCollection_ListNode *theNext2)
 Constructor with 'Next' (move both keys)
template<typename K1, typename... Args2>
 DoubleMapNode (K1 &&theKey1, std::in_place_t, NCollection_ListNode *theNext1, NCollection_ListNode *theNext2, Args2 &&... theArgs2)
 Constructor with in-place Key2 construction.
TheKey1Type & Key1 () noexcept
 Key1 (mutable for destroy+reconstruct)
const TheKey2Type & Key2 () noexcept
 Key2.
DoubleMapNode *& Next2 () noexcept
 Next2.
Public Member Functions inherited from NCollection_TListNode< TheKey2Type >
 NCollection_TListNode (const TheKey2Type &theItem, NCollection_ListNode *theNext=nullptr)
 Constructor.
const TheKey2Type & Value () const noexcept
 Constant value access.
TheKey2Type & 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< TheKey2Type >
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< TheKey2Type >
TheKey2Type myValue
 The item stored in the node.

Constructor & Destructor Documentation

◆ DoubleMapNode() [1/5]

template<class TheKey1Type, class TheKey2Type, class Hasher1 = NCollection_DefaultHasher<TheKey1Type>, class Hasher2 = NCollection_DefaultHasher<TheKey2Type>>
NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::DoubleMapNode::DoubleMapNode ( const TheKey1Type & theKey1,
const TheKey2Type & theKey2,
NCollection_ListNode * theNext1,
NCollection_ListNode * theNext2 )
inline

Constructor with 'Next'.

◆ DoubleMapNode() [2/5]

template<class TheKey1Type, class TheKey2Type, class Hasher1 = NCollection_DefaultHasher<TheKey1Type>, class Hasher2 = NCollection_DefaultHasher<TheKey2Type>>
NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::DoubleMapNode::DoubleMapNode ( TheKey1Type && theKey1,
const TheKey2Type & theKey2,
NCollection_ListNode * theNext1,
NCollection_ListNode * theNext2 )
inline

Constructor with 'Next' (move Key1)

◆ DoubleMapNode() [3/5]

template<class TheKey1Type, class TheKey2Type, class Hasher1 = NCollection_DefaultHasher<TheKey1Type>, class Hasher2 = NCollection_DefaultHasher<TheKey2Type>>
NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::DoubleMapNode::DoubleMapNode ( const TheKey1Type & theKey1,
TheKey2Type && theKey2,
NCollection_ListNode * theNext1,
NCollection_ListNode * theNext2 )
inline

Constructor with 'Next' (move Key2)

◆ DoubleMapNode() [4/5]

template<class TheKey1Type, class TheKey2Type, class Hasher1 = NCollection_DefaultHasher<TheKey1Type>, class Hasher2 = NCollection_DefaultHasher<TheKey2Type>>
NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::DoubleMapNode::DoubleMapNode ( TheKey1Type && theKey1,
TheKey2Type && theKey2,
NCollection_ListNode * theNext1,
NCollection_ListNode * theNext2 )
inline

Constructor with 'Next' (move both keys)

◆ DoubleMapNode() [5/5]

template<class TheKey1Type, class TheKey2Type, class Hasher1 = NCollection_DefaultHasher<TheKey1Type>, class Hasher2 = NCollection_DefaultHasher<TheKey2Type>>
template<typename K1, typename... Args2>
NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::DoubleMapNode::DoubleMapNode ( K1 && theKey1,
std::in_place_t ,
NCollection_ListNode * theNext1,
NCollection_ListNode * theNext2,
Args2 &&... theArgs2 )
inline

Constructor with in-place Key2 construction.

Member Function Documentation

◆ delNode()

template<class TheKey1Type, class TheKey2Type, class Hasher1 = NCollection_DefaultHasher<TheKey1Type>, class Hasher2 = NCollection_DefaultHasher<TheKey2Type>>
void NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::DoubleMapNode::delNode ( NCollection_ListNode * theNode,
occ::handle< NCollection_BaseAllocator > & theAl )
inlinestaticnoexcept

Static deleter to be passed to BaseList.

◆ Key1()

template<class TheKey1Type, class TheKey2Type, class Hasher1 = NCollection_DefaultHasher<TheKey1Type>, class Hasher2 = NCollection_DefaultHasher<TheKey2Type>>
TheKey1Type & NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::DoubleMapNode::Key1 ( )
inlinenoexcept

Key1 (mutable for destroy+reconstruct)

◆ Key2()

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

Key2.

◆ Next2()

template<class TheKey1Type, class TheKey2Type, class Hasher1 = NCollection_DefaultHasher<TheKey1Type>, class Hasher2 = NCollection_DefaultHasher<TheKey2Type>>
DoubleMapNode *& NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::DoubleMapNode::Next2 ( )
inlinenoexcept

Next2.


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