My Project
|
Doubly Linked List Node class. Available member functions include default constructor and initialising constructor. More...
#include <DSA.h>
Public Member Functions | |
DoublyLinkedListNode () | |
Construct a new Doubly Linked List Node object. | |
DoublyLinkedListNode (ll val) | |
Construct a new Doubly Linked List Node object. More... | |
Public Attributes | |
ll | data |
data stored in the node | |
DoublyLinkedListNode * | next |
pointer to the next node | |
DoublyLinkedListNode * | prev |
pointer to the previous node | |
Doubly Linked List Node class. Available member functions include default constructor and initialising constructor.
DoublyLinkedListNode::DoublyLinkedListNode | ( | ll | val | ) |
Construct a new Doubly Linked List Node object.
[in] | val | input value for the node |