Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions
NCollection_DataMap< TheKeyType, TheItemType, Hasher >::DataMapNode Class Reference

#include <NCollection_DataMap.hxx>

Inheritance diagram for NCollection_DataMap< TheKeyType, TheItemType, Hasher >::DataMapNode:
Inheritance graph
[legend]

Public Member Functions

 DataMapNode (const TheKeyType &theKey, const TheItemType &theItem, NCollection_ListNode *theNext)
 Constructor with 'Next'.
 
 DataMapNode (const TheKeyType &theKey, TheItemType &&theItem, NCollection_ListNode *theNext)
 Constructor with 'Next'.
 
 DataMapNode (TheKeyType &&theKey, const TheItemType &theItem, NCollection_ListNode *theNext)
 Constructor with 'Next'.
 
 DataMapNode (TheKeyType &&theKey, TheItemType &&theItem, NCollection_ListNode *theNext)
 Constructor with 'Next'.
 
template<typename K , typename... Args>
 DataMapNode (K &&theKey, std::in_place_t, NCollection_ListNode *theNext, Args &&... theArgs)
 Constructor with in-place value construction.
 
const TheKeyTypeKey () const noexcept
 Key.
 
- Public Member Functions inherited from NCollection_TListNode< TheItemType >
 NCollection_TListNode (const TheItemType &theItem, NCollection_ListNode *theNext=nullptr)
 Constructor.
 
 NCollection_TListNode (TheItemType &&theItem, NCollection_ListNode *theNext=nullptr)
 
template<typename... Args>
 NCollection_TListNode (std::in_place_t, NCollection_ListNode *theNext, Args &&... theArgs)
 Constructor with in-place value construction.
 
const TheItemTypeValue () const noexcept
 Constant value access.
 
TheItemTypeChangeValue () 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.
 

Static Public Member Functions

static void delNode (NCollection_ListNode *theNode, occ::handle< NCollection_BaseAllocator > &theAl) noexcept
 Static deleter to be passed to BaseMap.
 
- Static Public Member Functions inherited from NCollection_TListNode< TheItemType >
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< TheItemType >
TheItemType myValue
 The item stored in the node.
 

Constructor & Destructor Documentation

◆ DataMapNode() [1/5]

template<class TheKeyType , class TheItemType , class Hasher = NCollection_DefaultHasher<TheKeyType>>
NCollection_DataMap< TheKeyType, TheItemType, Hasher >::DataMapNode::DataMapNode ( const TheKeyType & theKey,
const TheItemType & theItem,
NCollection_ListNode * theNext )
inline

Constructor with 'Next'.

◆ DataMapNode() [2/5]

template<class TheKeyType , class TheItemType , class Hasher = NCollection_DefaultHasher<TheKeyType>>
NCollection_DataMap< TheKeyType, TheItemType, Hasher >::DataMapNode::DataMapNode ( const TheKeyType & theKey,
TheItemType && theItem,
NCollection_ListNode * theNext )
inline

Constructor with 'Next'.

◆ DataMapNode() [3/5]

template<class TheKeyType , class TheItemType , class Hasher = NCollection_DefaultHasher<TheKeyType>>
NCollection_DataMap< TheKeyType, TheItemType, Hasher >::DataMapNode::DataMapNode ( TheKeyType && theKey,
const TheItemType & theItem,
NCollection_ListNode * theNext )
inline

Constructor with 'Next'.

◆ DataMapNode() [4/5]

template<class TheKeyType , class TheItemType , class Hasher = NCollection_DefaultHasher<TheKeyType>>
NCollection_DataMap< TheKeyType, TheItemType, Hasher >::DataMapNode::DataMapNode ( TheKeyType && theKey,
TheItemType && theItem,
NCollection_ListNode * theNext )
inline

Constructor with 'Next'.

◆ DataMapNode() [5/5]

template<class TheKeyType , class TheItemType , class Hasher = NCollection_DefaultHasher<TheKeyType>>
template<typename K , typename... Args>
NCollection_DataMap< TheKeyType, TheItemType, Hasher >::DataMapNode::DataMapNode ( K && theKey,
std::in_place_t ,
NCollection_ListNode * theNext,
Args &&... theArgs )
inline

Constructor with in-place value construction.

Member Function Documentation

◆ delNode()

template<class TheKeyType , class TheItemType , class Hasher = NCollection_DefaultHasher<TheKeyType>>
static void NCollection_DataMap< TheKeyType, TheItemType, Hasher >::DataMapNode::delNode ( NCollection_ListNode * theNode,
occ::handle< NCollection_BaseAllocator > & theAl )
inlinestaticnoexcept

Static deleter to be passed to BaseMap.

◆ Key()

template<class TheKeyType , class TheItemType , class Hasher = NCollection_DefaultHasher<TheKeyType>>
const TheKeyType & NCollection_DataMap< TheKeyType, TheItemType, Hasher >::DataMapNode::Key ( ) const
inlinenoexcept

Key.


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