Rudiments
|
Inherits listnode< valuetype >.
Public Member Functions | |
linkedlistnode (valuetype value) | |
~linkedlistnode () | |
void | setValue (valuetype value) |
valuetype | getValue () |
valuetype & | getReference () |
listnode< valuetype > * | getPrevious () |
listnode< valuetype > * | getNext () |
Public Member Functions inherited from object | |
virtual | ~object () |
The linkedlistnode class stores the values that compose a linkedlist.
|
inline |
Creates an instance of the linkedlistnode class that stores value "value".
|
inline |
Deletes this instance of the linkedlistnode class.
|
inlinevirtual |
Returns the next node in the linkedlist or NULL if this node is the last node in the list.
Implements listnode< valuetype >.
|
inlinevirtual |
Returns the previous node in the linkedlist or NULL if this node is the first node in the list.
Implements listnode< valuetype >.
|
inlinevirtual |
Returns a reference to the value stored in the node.
Implements listnode< valuetype >.
|
inlinevirtual |
Returns the value stored in the node.
Implements listnode< valuetype >.
|
inlinevirtual |
Set the value stored in the node to "value".
Implements listnode< valuetype >.