Open CASCADE Technology 7.8.0
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=NULL)
 Constructor.
 
 NCollection_TListNode (TheItemType &&theItem, NCollection_ListNode *theNext=NULL)
 
const TheItemTypeValue () const
 Constant value access.
 
TheItemTypeChangeValue ()
 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.
 

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/2]

Constructor.

◆ NCollection_TListNode() [2/2]

Member Function Documentation

◆ ChangeValue()

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

Variable value access.

◆ delNode()

template<class TheItemType >
static void NCollection_TListNode< TheItemType >::delNode ( NCollection_ListNode theNode,
Handle< NCollection_BaseAllocator > &  theAl 
)
inlinestatic

Static deleter to be passed to BaseList.

◆ Value()

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

Constant value access.

Field Documentation

◆ myValue

The item stored in the node.


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