Control Surface stm32
MIDI Control Surface library for Arduino
Public Types | Public Member Functions | Protected Attributes | List of all members
DoublyLinkedList< Node >::node_iterator< INode > Class Template Reference

#include <AH/Containers/LinkedList.hpp>

Detailed Description

template<class Node>
template<class INode>
class DoublyLinkedList< Node >::node_iterator< INode >

Forward bidirectional doubly linked list iterator.

Definition at line 57 of file LinkedList.hpp.

+ Inheritance diagram for DoublyLinkedList< Node >::node_iterator< INode >:
+ Collaboration diagram for DoublyLinkedList< Node >::node_iterator< INode >:

Public Types

using difference_type = long
 
using value_type = INode
 
using pointer = INode *
 
using reference = INode &
 
using iterator_category = std::bidirectional_iterator_tag
 

Public Member Functions

 node_iterator (INode *node)
 
node_iteratoroperator++ ()
 Prefix increment operator. More...
 
node_iteratoroperator-- ()
 Prefix decrement operator. More...
 
bool operator!= (const node_iterator_base &rhs) const
 
bool operator== (const node_iterator_base &rhs) const
 
INode & operator* () const
 
INode * operator-> () const
 

Protected Attributes

INode * node
 

Member Typedef Documentation

◆ difference_type

using difference_type = long

Definition at line 61 of file LinkedList.hpp.

◆ value_type

using value_type = INode

Definition at line 62 of file LinkedList.hpp.

◆ pointer

using pointer = INode *

Definition at line 63 of file LinkedList.hpp.

◆ reference

using reference = INode &

Definition at line 64 of file LinkedList.hpp.

◆ iterator_category

using iterator_category = std::bidirectional_iterator_tag

Definition at line 65 of file LinkedList.hpp.

Constructor & Destructor Documentation

◆ node_iterator()

node_iterator ( INode *  node)
inline

Definition at line 59 of file LinkedList.hpp.

Member Function Documentation

◆ operator++()

node_iterator & operator++ ( )
inline

Prefix increment operator.

Definition at line 68 of file LinkedList.hpp.

◆ operator--()

node_iterator & operator-- ( )
inline

Prefix decrement operator.

Definition at line 75 of file LinkedList.hpp.

◆ operator!=()

bool operator!= ( const node_iterator_base< INode > &  rhs) const
inlineinherited

Definition at line 33 of file LinkedList.hpp.

◆ operator==()

bool operator== ( const node_iterator_base< INode > &  rhs) const
inlineinherited

Definition at line 37 of file LinkedList.hpp.

◆ operator*()

INode & operator* ( ) const
inlineinherited

Definition at line 41 of file LinkedList.hpp.

◆ operator->()

INode * operator-> ( ) const
inlineinherited

Definition at line 46 of file LinkedList.hpp.

Member Data Documentation

◆ node

INode* node
protectedinherited

Definition at line 52 of file LinkedList.hpp.


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