Rudiments
|
#include <listcollection.h>
Inherits nodecollectionnode< valuetype >.
Inherited by linkedlistnode< valuetype >, and singlylinkedlistnode< valuetype >.
Public Member Functions | |
virtual void | setValue (valuetype value)=0 |
virtual valuetype | getValue ()=0 |
virtual valuetype & | getReference ()=0 |
virtual listnode< valuetype > * | getPrevious ()=0 |
virtual listnode< valuetype > * | getNext ()=0 |
Public Member Functions inherited from object | |
virtual | ~object () |
The listnode class is the parent class for the node contained by all rudiments listnode-based collections.
Returns the next node in the listcollection or NULL if this node is the last node in the list.
Implements nodecollectionnode< valuetype >.
Implemented in linkedlistnode< valuetype >, and singlylinkedlistnode< valuetype >.
Returns the previous node in the listcollection or NULL if this node is the first node in the list.
Implemented in linkedlistnode< valuetype >, and singlylinkedlistnode< valuetype >.
Returns a reference to the value stored in the node.
Implements nodecollectionnode< valuetype >.
Implemented in linkedlistnode< valuetype >, and singlylinkedlistnode< valuetype >.
Returns the value stored in the node.
Implements nodecollectionnode< valuetype >.
Implemented in linkedlistnode< valuetype >, and singlylinkedlistnode< valuetype >.
Set the value stored in the node to "value".
Implements nodecollectionnode< valuetype >.
Implemented in linkedlistnode< valuetype >, and singlylinkedlistnode< valuetype >.