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

Static Public Member Functions

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

Additional Inherited Members

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

Adaptation of the TListNode to the INDEXEDmap.

Constructor & Destructor Documentation

◆ IndexedMapNode() [1/2]

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

◆ IndexedMapNode() [2/2]

template<class TheKeyType , class Hasher = NCollection_DefaultHasher<TheKeyType>>
NCollection_IndexedMap< TheKeyType, Hasher >::IndexedMapNode::IndexedMapNode ( 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: