![]() |
Xyris
0.5
|
#include <LinkedList.hpp>
Public Member Functions | |
LinkedList () | |
LinkedList (T val) | |
~LinkedList () | |
void | InsertFront (T val) |
void | InsertBack (T val) |
void | InsertBefore (LinkedListNode< T > *next, T val) |
void | InsertAfter (LinkedListNode< T > *prev, T val) |
void | Remove (LinkedListNode< T > *del) |
LinkedListNode< T > * | RemoveFront () |
LinkedListNode< T > * | RemoveBack () |
LinkedListNode< T > * | RemoveBefore (LinkedListNode< T > *node) |
LinkedListNode< T > * | RemoveAfter (LinkedListNode< T > *node) |
LinkedListNode< T > * | Head () |
LinkedListNode< T > * | Tail () |
size_t | Count () |
bool | IsEmpty () |
Private Attributes | |
LinkedListNode< T > * | head |
LinkedListNode< T > * | tail |
size_t | count |
Definition at line 126 of file LinkedList.hpp.
|
inline |
Definition at line 128 of file LinkedList.hpp.
|
inline |
Definition at line 136 of file LinkedList.hpp.
|
inline |
Definition at line 142 of file LinkedList.hpp.
|
inline |
Get the number of items in the linked list.
Definition at line 278 of file LinkedList.hpp.
|
inline |
Get pointer to the head node.
Definition at line 258 of file LinkedList.hpp.
|
inline |
|
inline |
Definition at line 161 of file LinkedList.hpp.
|
inline |
|
inline |
Definition at line 150 of file LinkedList.hpp.
|
inline |
Check if the linked list is empty.
Definition at line 289 of file LinkedList.hpp.
|
inline |
|
inline |
|
inline |
Definition at line 226 of file LinkedList.hpp.
|
inline |
|
inline |
Definition at line 217 of file LinkedList.hpp.
|
inline |
Get pointer to the tail node.
Definition at line 268 of file LinkedList.hpp.
|
private |
Definition at line 297 of file LinkedList.hpp.
|
private |
Definition at line 295 of file LinkedList.hpp.
|
private |
Definition at line 296 of file LinkedList.hpp.