Open CASCADE Technology  7.6.0
Public Member Functions | Static Public Member Functions

NCollection_IndexedMap< TheKeyType, Hasher >::IndexedMapNode Class Reference

Adaptation of the TListNode to the INDEXEDmap. More...

#include <NCollection_IndexedMap.hxx>

Inheritance diagram for NCollection_IndexedMap< TheKeyType, Hasher >::IndexedMapNode:
Inheritance graph
[legend]

Public Member Functions

 IndexedMapNode (const TheKeyType &theKey1, const Standard_Integer theIndex, NCollection_ListNode *theNext1)
 Constructor with 'Next'. More...
 
TheKeyType & Key1 ()
 Key1. More...
 
Standard_IntegerIndex ()
 Index. 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...
 

Static Public Member Functions

static void delNode (NCollection_ListNode *theNode, Handle< NCollection_BaseAllocator > &theAl)
 Static deleter to be passed to BaseList. More...
 
- 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...
 

Additional Inherited Members

- 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_IndexedMap< TheKeyType, Hasher >::IndexedMapNode

Adaptation of the TListNode to the INDEXEDmap.

Constructor & Destructor Documentation

◆ IndexedMapNode()

template<class TheKeyType , class Hasher = NCollection_DefaultHasher<TheKeyType>>
NCollection_IndexedMap< TheKeyType, Hasher >::IndexedMapNode::IndexedMapNode ( const TheKeyType &  theKey1,
const Standard_Integer  theIndex,
NCollection_ListNode theNext1 
)
inline

Constructor with 'Next'.

Member Function Documentation

◆ delNode()

template<class TheKeyType , class Hasher = NCollection_DefaultHasher<TheKeyType>>
static void NCollection_IndexedMap< TheKeyType, Hasher >::IndexedMapNode::delNode ( NCollection_ListNode theNode,
Handle< NCollection_BaseAllocator > &  theAl 
)
inlinestatic

Static deleter to be passed to BaseList.

◆ Index()

template<class TheKeyType , class Hasher = NCollection_DefaultHasher<TheKeyType>>
Standard_Integer& NCollection_IndexedMap< TheKeyType, Hasher >::IndexedMapNode::Index ( )
inline

Index.

◆ Key1()

template<class TheKeyType , class Hasher = NCollection_DefaultHasher<TheKeyType>>
TheKeyType& NCollection_IndexedMap< TheKeyType, Hasher >::IndexedMapNode::Key1 ( )
inline

Key1.


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