This is an old version of the documentation. View the latest version here.
Control Surface  1.0.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 <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 = void
 
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
 
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 75 of file LinkedList.hpp.

Member Typedef Documentation

◆ difference_type

template<class Node>
template<class INode >
using DoublyLinkedList< Node >::reverse_node_iterator< INode >::difference_type = void

Definition at line 80 of file LinkedList.hpp.

◆ value_type

template<class Node>
template<class INode >
using DoublyLinkedList< Node >::reverse_node_iterator< INode >::value_type = INode

Definition at line 81 of file LinkedList.hpp.

◆ pointer

template<class Node>
template<class INode >
using DoublyLinkedList< Node >::reverse_node_iterator< INode >::pointer = INode *

Definition at line 82 of file LinkedList.hpp.

◆ reference

template<class Node>
template<class INode >
using DoublyLinkedList< Node >::reverse_node_iterator< INode >::reference = INode &

Definition at line 83 of file LinkedList.hpp.

◆ iterator_category

template<class Node>
template<class INode >
using DoublyLinkedList< Node >::reverse_node_iterator< INode >::iterator_category = std::bidirectional_iterator_tag

Definition at line 84 of file LinkedList.hpp.

Constructor & Destructor Documentation

◆ reverse_node_iterator()

template<class Node>
template<class INode >
DoublyLinkedList< Node >::reverse_node_iterator< INode >::reverse_node_iterator ( INode *  node)
inline

Definition at line 77 of file LinkedList.hpp.

Member Function Documentation

◆ operator++()

template<class Node>
template<class INode >
reverse_node_iterator& DoublyLinkedList< Node >::reverse_node_iterator< INode >::operator++ ( )
inline

Prefix increment operator.

Definition at line 88 of file LinkedList.hpp.

◆ operator--()

template<class Node>
template<class INode >
reverse_node_iterator& DoublyLinkedList< Node >::reverse_node_iterator< INode >::operator-- ( )
inline

Prefix decrement operator.

Definition at line 95 of file LinkedList.hpp.

◆ operator!=()

template<class Node>
template<class INode >
bool DoublyLinkedList< Node >::node_iterator_base< INode >::operator!= ( const node_iterator_base< INode > &  rhs) const
inlineinherited

Definition at line 31 of file LinkedList.hpp.

◆ operator*()

template<class Node>
template<class INode >
INode& DoublyLinkedList< Node >::node_iterator_base< INode >::operator* ( ) const
inlineinherited

Definition at line 35 of file LinkedList.hpp.

Member Data Documentation

◆ node

template<class Node>
template<class INode >
INode* DoublyLinkedList< Node >::node_iterator_base< INode >::node
protectedinherited

Definition at line 41 of file LinkedList.hpp.


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