Rudiments
|
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.
|
pure virtual |
Returns the next node in the listcollection or NULL if this node is the last node in the list.
Implements nodecollectionnode< valuetype >.
Implemented in singlylinkedlistnode< valuetype >, and linkedlistnode< valuetype >.
|
pure virtual |
Returns the previous node in the listcollection or NULL if this node is the first node in the list.
Implemented in singlylinkedlistnode< valuetype >, and linkedlistnode< valuetype >.
|
pure virtual |
Returns a reference to the value stored in the node.
Implements nodecollectionnode< valuetype >.
Implemented in singlylinkedlistnode< valuetype >, and linkedlistnode< valuetype >.
|
pure virtual |
Returns the value stored in the node.
Implements nodecollectionnode< valuetype >.
Implemented in singlylinkedlistnode< valuetype >, and linkedlistnode< valuetype >.
|
pure virtual |
Set the value stored in the node to "value".
Implements nodecollectionnode< valuetype >.
Implemented in singlylinkedlistnode< valuetype >, and linkedlistnode< valuetype >.