|
Gymbo
|
Node for a Doubly Linked List. More...
#include <utils.h>

Public Member Functions | |
| LLNode (T data) | |
| Default constructor for LLNode. More... | |
Public Attributes | |
| T | data |
| The data stored in the node. More... | |
| LLNode * | next |
| Pointer to the next node in the linked list. More... | |
| LLNode * | prev |
| Pointer to the previous node in the linked list. More... | |
Node for a Doubly Linked List.
The LLNode class represents a node in a doubly linked list. It contains data of type T, and pointers to the next and previous nodes in the list.
| T | The type of data to store in the node. |
|
inline |
Default constructor for LLNode.
| data | The data to store in the node. |
| T gymbo::LLNode< T >::data |
The data stored in the node.
| LLNode* gymbo::LLNode< T >::next |
Pointer to the next node in the linked list.
| LLNode* gymbo::LLNode< T >::prev |
Pointer to the previous node in the linked list.