OCC Main Page | FoundationClasses | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

FoundationClasses
TKernel
NCollection


FoundationClasses
TKernel
NCollection


FoundationClasses
TKernel
NCollection


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.
void * operator new (size_t theSize, const Handle(NCollection_BaseAllocator)&theAllocator)
 Memory allocation.

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

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]
 

Reimplemented in NCollection_DataMap< TheKeyType, TheItemType >::DataMapNode, NCollection_DoubleMap< TheKey1Type, TheKey2Type >::DoubleMapNode, NCollection_IndexedDataMap< TheKeyType, TheItemType >::IndexedDataMapNode, and NCollection_IndexedMap< TheKeyType >::IndexedMapNode.

template<class TheItemType>
void* NCollection_TListNode< TheItemType >::operator new size_t  theSize,
const Handle(NCollection_BaseAllocator)&  theAllocator
[inline]
 

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


Field Documentation

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


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:13:02 2008 for OpenCASCADE by  doxygen 1.4.1