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

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. More...
 
- Protected Attributes inherited from NCollection_TListNode< TheKeyType >
TheKeyType myValue
 The item stored in the node. More...
 

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()

template<class TheKeyType, class Hasher = NCollection_DefaultHasher<TheKeyType>>
NCollection_Map< TheKeyType, Hasher >::MapNode::MapNode ( const 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: