Control Surface  1.2.0
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

Reverse bidirectional doubly linked list iterator. More...

#include <AH/Containers/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
 

Protected Attributes

INode * node
 

Detailed Description

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

Reverse bidirectional doubly linked list iterator.

Definition at line 79 of file LinkedList.hpp.

Member Typedef Documentation

◆ difference_type

using difference_type = long

Definition at line 83 of file LinkedList.hpp.

◆ value_type

using value_type = INode

Definition at line 84 of file LinkedList.hpp.

◆ pointer

using pointer = INode *

Definition at line 85 of file LinkedList.hpp.

◆ reference

using reference = INode &

Definition at line 86 of file LinkedList.hpp.

◆ iterator_category

using iterator_category = std::bidirectional_iterator_tag

Definition at line 87 of file LinkedList.hpp.

Constructor & Destructor Documentation

◆ reverse_node_iterator()

reverse_node_iterator ( INode *  node)
inline

Definition at line 81 of file LinkedList.hpp.

Member Function Documentation

◆ operator++()

reverse_node_iterator& operator++ ( )
inline

Prefix increment operator.

Definition at line 90 of file LinkedList.hpp.

◆ operator--()

reverse_node_iterator& operator-- ( )
inline

Prefix decrement operator.

Definition at line 97 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.

Member Data Documentation

◆ node

INode* node
protectedinherited

Definition at line 47 of file LinkedList.hpp.


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