Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
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 53 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.
 
node_iteratoroperator-- ()
 Prefix decrement operator.
 
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

template<class Node >
template<class INode >
using difference_type = long

Definition at line 57 of file LinkedList.hpp.

◆ value_type

template<class Node >
template<class INode >
using value_type = INode

Definition at line 58 of file LinkedList.hpp.

◆ pointer

template<class Node >
template<class INode >
using pointer = INode *

Definition at line 59 of file LinkedList.hpp.

◆ reference

template<class Node >
template<class INode >
using reference = INode &

Definition at line 60 of file LinkedList.hpp.

◆ iterator_category

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

Definition at line 61 of file LinkedList.hpp.

Constructor & Destructor Documentation

◆ node_iterator()

template<class Node >
template<class INode >
node_iterator ( INode * node)
inline

Definition at line 55 of file LinkedList.hpp.

Member Function Documentation

◆ operator++()

template<class Node >
template<class INode >
node_iterator & operator++ ( )
inline

Prefix increment operator.

Definition at line 64 of file LinkedList.hpp.

◆ operator--()

template<class Node >
template<class INode >
node_iterator & operator-- ( )
inline

Prefix decrement operator.

Definition at line 71 of file LinkedList.hpp.

◆ operator!=()

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

Definition at line 29 of file LinkedList.hpp.

◆ operator==()

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

Definition at line 33 of file LinkedList.hpp.

◆ operator*()

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

Definition at line 37 of file LinkedList.hpp.

◆ operator->()

template<class Node >
template<class INode >
INode * operator-> ( ) const
inlineinherited

Definition at line 42 of file LinkedList.hpp.

Member Data Documentation

◆ node

template<class Node >
template<class INode >
INode* node
protectedinherited

Definition at line 48 of file LinkedList.hpp.


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