Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Attributes
NCollection_TListNode< TheItemType > Class Template Reference

#include <NCollection_TListNode.hxx>

Inheritance diagram for NCollection_TListNode< TheItemType >:
Inheritance graph
[legend]

Public Member Functions

 NCollection_TListNode (const TheItemType &theItem, NCollection_ListNode *theNext=nullptr)
 Constructor.
 
 NCollection_TListNode (TheItemType &&theItem, NCollection_ListNode *theNext=nullptr)
 
template<typename... Args>
 NCollection_TListNode (std::in_place_t, NCollection_ListNode *theNext, Args &&... theArgs)
 Constructor with in-place value construction.
 
const TheItemTypeValue () const noexcept
 Constant value access.
 
TheItemTypeChangeValue () 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)
 Static deleter to be passed to BaseList.
 

Protected Attributes

TheItemType myValue
 The item stored in the node.
 

Detailed Description

template<class TheItemType>
class NCollection_TListNode< TheItemType >

Purpose: Abstract list node class. Used by BaseList Remark: Internal class

Constructor & Destructor Documentation

◆ NCollection_TListNode() [1/3]

Constructor.

◆ NCollection_TListNode() [2/3]

◆ NCollection_TListNode() [3/3]

template<class TheItemType >
template<typename... Args>
NCollection_TListNode< TheItemType >::NCollection_TListNode ( std::in_place_t ,
NCollection_ListNode * theNext,
Args &&... theArgs )
inline

Constructor with in-place value construction.

Member Function Documentation

◆ ChangeValue()

template<class TheItemType >
TheItemType & NCollection_TListNode< TheItemType >::ChangeValue ( )
inlinenoexcept

Variable value access.

◆ delNode()

Static deleter to be passed to BaseList.

◆ Value()

template<class TheItemType >
const TheItemType & NCollection_TListNode< TheItemType >::Value ( ) const
inlinenoexcept

Constant value access.

Field Documentation

◆ myValue

The item stored in the node.


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