Open CASCADE Technology 6.6.0
|
#include <NCollection_TListNode.hxx>
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. |
Purpose: Abstract list node class. Used by BaseList Remark: Internal class
NCollection_TListNode< TheItemType >::NCollection_TListNode | ( | const TheItemType & | theItem, |
NCollection_ListNode * | theNext = NULL |
||
) | [inline] |
TheItemType& NCollection_TListNode< TheItemType >::ChangeValue | ( | ) | [inline] |
static void NCollection_TListNode< TheItemType >::delNode | ( | NCollection_ListNode * | theNode, |
Handle< NCollection_BaseAllocator > & | theAl | ||
) | [inline, static] |
Static deleter to be passed to BaseList
Reimplemented in NCollection_DataMap< TheKeyType, TheItemType, Hasher >::DataMapNode, and NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::DoubleMapNode.
const TheItemType& NCollection_TListNode< TheItemType >::Value | ( | void | ) | const [inline] |
TheItemType NCollection_TListNode< TheItemType >::myValue [protected] |