Open CASCADE Technology 7.8.2.dev
Public Member Functions
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:
Inheritance graph
[legend]

Public Member Functions

 MapNode (const TheKeyType &theKey, NCollection_ListNode *theNext)
 Constructor with 'Next'.
 
 MapNode (TheKeyType &&theKey, NCollection_ListNode *theNext)
 Constructor with 'Next'.
 
const TheKeyTypeKey (void)
 Key.
 
- Public Member Functions inherited from NCollection_TListNode< TheKeyType >
 NCollection_TListNode (const TheKeyType &theItem, NCollection_ListNode *theNext=NULL)
 Constructor.
 
 NCollection_TListNode (TheKeyType &&theItem, NCollection_ListNode *theNext=NULL)
 
const TheKeyTypeValue () const
 Constant value access.
 
TheKeyTypeChangeValue ()
 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.
 

Additional Inherited Members

- Static Public Member Functions inherited from NCollection_TListNode< TheKeyType >
static void delNode (NCollection_ListNode *theNode, 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/2]

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

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

Constructor with 'Next'.

Member Function Documentation

◆ Key()

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

Key.


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