|
Rudiments
|
#include <singlylinkedlist.h>
Inherits listnode< valuetype >.
Public Member Functions | |
| singlylinkedlistnode (valuetype value) | |
| ~singlylinkedlistnode () | |
| void | setValue (valuetype value) |
| valuetype | getValue () |
| valuetype & | getReference () |
| listnode< valuetype > * | getPrevious () |
| listnode< valuetype > * | getNext () |
Public Member Functions inherited from object | |
| virtual | ~object () |
The singlylinkedlistnode class stores the values that compose a singlylinkedlist.
|
inline |
Creates an instance of the singlylinkedlistnode class that stores value "value".
|
inline |
Deletes this instance of the singlylinkedlistnode class.
|
inlinevirtual |
Returns the next node in the singlylinkedlist or NULL if this node is the last node in the list.
Implements listnode< valuetype >.
|
inlinevirtual |
Always returns NULL.
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 >.