Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
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 int theIndex, NCollection_ListNode *theNext1)
 Constructor with 'Next'.
 
 IndexedMapNode (TheKeyType &&theKey1, const int theIndex, NCollection_ListNode *theNext1)
 Constructor with 'Next'.
 
template<typename... Args>
 IndexedMapNode (std::in_place_t, const int theIndex, NCollection_ListNode *theNext1, Args &&... theArgs)
 Constructor with in-place key construction.
 
TheKeyTypeKey1 () noexcept
 Key1.
 
intIndex () noexcept
 Index.
 
- Public Member Functions inherited from NCollection_TListNode< TheKeyType >
 NCollection_TListNode (const TheKeyType &theItem, NCollection_ListNode *theNext=nullptr)
 Constructor.
 
 NCollection_TListNode (TheKeyType &&theItem, NCollection_ListNode *theNext=nullptr)
 
 NCollection_TListNode (std::in_place_t, NCollection_ListNode *theNext, Args &&... theArgs)
 Constructor with in-place value construction.
 
const TheKeyTypeValue () const noexcept
 Constant value access.
 
TheKeyTypeChangeValue () noexcept
 Variable value access.
 
- Public Member Functions inherited from NCollection_ListNode
 NCollection_ListNode (NCollection_ListNode *theNext) noexcept
 The only constructor.
 
NCollection_ListNode *& Next () noexcept
 Next pointer access.
 
NCollection_ListNodeNext () const noexcept
 Next pointer const access.
 

Static Public Member Functions

static void delNode (NCollection_ListNode *theNode, occ::handle< NCollection_BaseAllocator > &theAl) noexcept
 Static deleter to be passed to BaseList.
 
- Static Public Member Functions inherited from NCollection_TListNode< TheKeyType >
static void delNode (NCollection_ListNode *theNode, occ::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/3]

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

Constructor with 'Next'.

◆ IndexedMapNode() [2/3]

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

Constructor with 'Next'.

◆ IndexedMapNode() [3/3]

template<class TheKeyType , class Hasher = NCollection_DefaultHasher<TheKeyType>>
template<typename... Args>
NCollection_IndexedMap< TheKeyType, Hasher >::IndexedMapNode::IndexedMapNode ( std::in_place_t ,
const int theIndex,
NCollection_ListNode * theNext1,
Args &&... theArgs )
inline

Constructor with in-place key construction.

Member Function Documentation

◆ delNode()

template<class TheKeyType , class Hasher = NCollection_DefaultHasher<TheKeyType>>
static void NCollection_IndexedMap< TheKeyType, Hasher >::IndexedMapNode::delNode ( NCollection_ListNode * theNode,
occ::handle< NCollection_BaseAllocator > & theAl )
inlinestaticnoexcept

Static deleter to be passed to BaseList.

◆ Index()

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

Index.

◆ Key1()

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

Key1.


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