jubilant-funicular
Public Types | Public Member Functions | Private Attributes | List of all members
nta::utils::LinkedNode< T >::iterator Class Reference

Custom iterator for looping over the data in the linked list. More...

#include <LinkedNode.h>

Collaboration diagram for nta::utils::LinkedNode< T >::iterator:
Collaboration graph
[legend]

Public Types

using value_type = T
 
using difference_type = std::ptrdiff_t
 
using pointer = T *
 
using reference = T &
 
using iterator_category = std::forward_iterator_tag
 

Public Member Functions

 iterator (LinkedNode *node)
 
reference operator* () const
 
pointer operator-> () const
 
iteratoroperator++ ()
 
iterator operator++ (int)
 
bool operator== (const iterator &rhs) const
 
bool operator!= (const iterator &rhs) const
 

Private Attributes

LinkedNodem_node
 

Detailed Description

template<typename T>
class nta::utils::LinkedNode< T >::iterator

Custom iterator for looping over the data in the linked list.

Definition at line 15 of file LinkedNode.h.


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