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