![]() |
Xyris
0.5
|
#include <LinkedList.hpp>
Public Member Functions | |
LinkedListNode () | |
LinkedListNode (T v) | |
LinkedListNode (T v, LinkedListNode *n, LinkedListNode *p) | |
T & | Data () |
LinkedListNode * | Next () |
LinkedListNode * | Previous () |
void | SetData (T v) |
void | SetNext (LinkedListNode *n) |
void | SetPrevious (LinkedListNode *n) |
Private Attributes | |
T | data |
LinkedListNode * | next |
LinkedListNode * | prev |
Definition at line 18 of file LinkedList.hpp.
|
inline |
Construct a new Linked List Node object.
Definition at line 24 of file LinkedList.hpp.
|
inline |
Construct a new Linked List Node object.
v | Value to be stored |
Definition at line 37 of file LinkedList.hpp.
|
inline |
Construct a new Linked List Node object.
n | Next node in the list |
p | Previous node in the list |
v | Value to be stored |
Definition at line 52 of file LinkedList.hpp.
|
inline |
Return the data stored by the node.
Definition at line 65 of file LinkedList.hpp.
|
inline |
Get the next node in the linked list.
Definition at line 75 of file LinkedList.hpp.
|
inline |
Get the previous node in the linked list.
Definition at line 85 of file LinkedList.hpp.
|
inline |
|
inline |
Set the node's next pointer.
n | Pointer to next node |
Definition at line 104 of file LinkedList.hpp.
|
inline |
Set the node's previous pointer.
n | Pointer to the previous node |
Definition at line 114 of file LinkedList.hpp.
|
private |
Definition at line 120 of file LinkedList.hpp.
|
private |
Definition at line 121 of file LinkedList.hpp.
|
private |
Definition at line 122 of file LinkedList.hpp.