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

#include <AH/Containers/LinkedList.hpp>

Detailed Description

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

Reverse bidirectional doubly linked list iterator.

Definition at line 84 of file LinkedList.hpp.

+ Inheritance diagram for DoublyLinkedList< Node >::reverse_node_iterator< INode >:
+ Collaboration diagram for DoublyLinkedList< Node >::reverse_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

 reverse_node_iterator (INode *node)
 
reverse_node_iteratoroperator++ ()
 Prefix increment operator. More...
 
reverse_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 88 of file LinkedList.hpp.

◆ value_type

using value_type = INode

Definition at line 89 of file LinkedList.hpp.

◆ pointer

using pointer = INode *

Definition at line 90 of file LinkedList.hpp.

◆ reference

using reference = INode &

Definition at line 91 of file LinkedList.hpp.

◆ iterator_category

using iterator_category = std::bidirectional_iterator_tag

Definition at line 92 of file LinkedList.hpp.

Constructor & Destructor Documentation

◆ reverse_node_iterator()

reverse_node_iterator ( INode *  node)
inline

Definition at line 86 of file LinkedList.hpp.

Member Function Documentation

◆ operator++()

reverse_node_iterator & operator++ ( )
inline

Prefix increment operator.

Definition at line 95 of file LinkedList.hpp.

◆ operator--()

reverse_node_iterator & operator-- ( )
inline

Prefix decrement operator.

Definition at line 102 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: