#include <RmLinkedList.h>
Public Member Functions | |
| ItemNode (RmLinkedList< Type > *pParent) | |
| Constructor. | |
| ItemNode (RmLinkedList< Type > *pParent, Type data) | |
| Constructor. | |
| ~ItemNode () | |
| Destructor. | |
| RmLinkedList< Type > * | GetParent () |
| Get parent list. | |
| const RmLinkedList< Type > * | GetParent () const |
| Get parent list. | |
| Type & | GetData () |
| Data accessor. | |
| const Type & | GetData () const |
| Data accessor. | |
| void | SetNext (ItemNode *pNext) |
| Set next pointer. | |
| void | SetPrev (ItemNode *pPrev) |
| Set previous pointer. | |
| ItemNode * | GetNext () |
| Get next node. | |
| const ItemNode * | GetNext () const |
| Get next node. | |
| ItemNode * | GetPrev () |
| Get previous item. | |
| const ItemNode * | GetPrev () const |
| Get previous item. | |
| void * | operator new (size_t nSize) |
| new operator | |
| void | operator delete (void *pPtr) |
| delete operator | |
Internal Data to hold data and next, prev pointers
|
||||||||||
|
Constructor. Construction
|
|
||||||||||||||||
|
Constructor. Construction
|
|
|||||||||
|
Destructor. Destructor |
|
|||||||||
|
Data accessor. Data Accessor Reference to data that this node is holding |
|
|||||||||
|
Data accessor. Data Accessor Reference to data that this node is holding |
|
|||||||||
|
Get next node. Gets the next item in a linked list
|
|
|||||||||
|
Get next node. Gets the next item in a linked list
|
|
|||||||||
|
Get parent list. Reyurn parent list class
|
|
|||||||||
|
Get parent list. Reyurn parent list class
|
|
|||||||||
|
Get previous item. Gets the previous item in a linked list
|
|
|||||||||
|
Get previous item. Gets the previous item in a linked list
|
|
||||||||||
|
delete operator Deleting this node
|
|
||||||||||
|
new operator Must override new and delete, so that memory alloc/dealloc occurs in consistent location
|
|
||||||||||
|
Set next pointer. Sets the next item in a linked list
|
|
||||||||||
|
Set previous pointer. Sets the previous item in a linked list
|
1.3.6