Gymbo

Public Member Functions | Public Attributes | List of all members
LLNode< T > Class Template Reference

Node for a Doubly Linked List. More...

`#include <utils.h>`

Collaboration diagram for LLNode< T >:
[legend]

## 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...

## Detailed Description

### template<typename T>
class LLNode< T >

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.

Template Parameters

  T | The type of data to store in the node.

## Constructor & Destructor Documentation

## ◆ LLNode()

template<typename T >

LLNode< T >::LLNode | ( | T | data | ) |
| inline

Default constructor for LLNode.

Parameters

  data | The data to store in the node.

## Member Data Documentation

## ◆ data

template<typename T >

T LLNode< T >::data

The data stored in the node.

## ◆ next

template<typename T >

LLNode* LLNode< T >::next

Pointer to the next node in the linked list.

## ◆ prev

template<typename T >

LLNode* LLNode< T >::prev

Pointer to the previous node in the linked list.

The documentation for this class was generated from the following file:

- libgymbo/utils.h