Open CASCADE Technology 6.6.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.
const TheItemType & Value () const
 Constant value access.
TheItemType & ChangeValue ()
 Variable value access.

Static Public Member Functions

static void delNode (NCollection_ListNode *theNode, Handle< NCollection_BaseAllocator > &theAl)
 Memory allocation.

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

template<class TheItemType>
NCollection_TListNode< TheItemType >::NCollection_TListNode ( const TheItemType &  theItem,
NCollection_ListNode theNext = NULL 
) [inline]

Member Function Documentation

template<class TheItemType>
TheItemType& NCollection_TListNode< TheItemType >::ChangeValue ( ) [inline]
template<class TheItemType>
static void NCollection_TListNode< TheItemType >::delNode ( NCollection_ListNode theNode,
Handle< NCollection_BaseAllocator > &  theAl 
) [inline, static]
template<class TheItemType>
const TheItemType& NCollection_TListNode< TheItemType >::Value ( void  ) const [inline]

Field Documentation

template<class TheItemType>
TheItemType NCollection_TListNode< TheItemType >::myValue [protected]

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines