My Project
Public Member Functions | Public Attributes | List of all members
SinglyLinkedListNode Class Reference

Singly Linked List Node class. Available member functions include default constructor and initialising constructor. More...

#include <DSA.h>

Collaboration diagram for SinglyLinkedListNode:
Collaboration graph
[legend]

Public Member Functions

 SinglyLinkedListNode ()
 Construct a new Singly Linked List Node object.
 
 SinglyLinkedListNode (ll val)
 Construct a new Singly Linked List Node object. More...
 

Public Attributes

ll data
 data stored in the node
 
SinglyLinkedListNode * next
 pointer to the next node
 

Detailed Description

Singly Linked List Node class. Available member functions include default constructor and initialising constructor.

Constructor & Destructor Documentation

◆ SinglyLinkedListNode()

SinglyLinkedListNode::SinglyLinkedListNode ( ll  val)

Construct a new Singly Linked List Node object.

Parameters
[in]valinput value for the node

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