Open CASCADE Technology 7.8.2.dev
NCollection_DataMap< TheKeyType, TheItemType, Hasher >::DataMapNode Class Reference

#include <NCollection_DataMap.hxx>

Inheritance diagram for NCollection_DataMap< TheKeyType, TheItemType, Hasher >::DataMapNode:

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'.
 
const TheKeyType & Key (void) const
 Key.
 
- Public Member Functions inherited from NCollection_TListNode< TheItemType >
 NCollection_TListNode (const TheItemType &theItem, NCollection_ListNode *theNext=NULL)
 Constructor.
 
 NCollection_TListNode (TheItemType &&theItem, NCollection_ListNode *theNext=NULL)
 
const TheItemType & Value () const
 Constant value access.
 
TheItemType & ChangeValue ()
 Variable value access.
 
- Public Member Functions inherited from NCollection_ListNode
 NCollection_ListNode (NCollection_ListNode *theNext)
 The only constructor.
 
NCollection_ListNode *& Next (void)
 Next pointer access.
 
NCollection_ListNodeNext (void) const
 Next pointer const access.
 

Static Public Member Functions

static void delNode (NCollection_ListNode *theNode, Handle< NCollection_BaseAllocator > &theAl)
 Static deleter to be passed to BaseMap.
 
- Static Public Member Functions inherited from NCollection_TListNode< TheItemType >
static void delNode (NCollection_ListNode *theNode, 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/4]

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/4]

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/4]

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/4]

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'.

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,
Handle< NCollection_BaseAllocator > & theAl )
inlinestatic

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 ( void ) const
inline

Key.


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