libNeon
Loading...
Searching...
No Matches
neo::strip< Led >::iterator_base< Neopix, CRTPIt > Class Template Reference

#include <strip.hpp>

Public Member Functions

 iterator_base ()=default
 
 iterator_base (Neopix &neopix, std::size_t i)
 
decltype(auto) operator* () const
 
CRTPIt & operator++ ()
 
const CRTPIt operator++ (int)
 
CRTPIt & operator-- ()
 
const CRTPIt operator-- (int)
 
bool operator== (CRTPIt const &other) const
 
bool operator!= (CRTPIt const &other) const
 
CRTPIt & operator+= (std::size_t n)
 
CRTPIt & operator-= (std::size_t n)
 
CRTPIt operator+ (std::size_t n) const
 
CRTPIt operator- (std::size_t n) const
 

Protected Attributes

Neopix * _neopix = nullptr
 
std::size_t _i = std::numeric_limits<std::size_t>::max()
 

Constructor & Destructor Documentation

◆ iterator_base() [1/2]

template<class Led >
template<class Neopix , class CRTPIt >
neo::strip< Led >::iterator_base< Neopix, CRTPIt >::iterator_base ( )
default

◆ iterator_base() [2/2]

template<class Led >
template<class Neopix , class CRTPIt >
neo::strip< Led >::iterator_base< Neopix, CRTPIt >::iterator_base ( Neopix &  neopix,
std::size_t  i 
)
inline

Member Function Documentation

◆ operator!=()

template<class Led >
template<class Neopix , class CRTPIt >
bool neo::strip< Led >::iterator_base< Neopix, CRTPIt >::operator!= ( CRTPIt const &  other) const
inline

◆ operator*()

template<class Led >
template<class Neopix , class CRTPIt >
decltype(auto) neo::strip< Led >::iterator_base< Neopix, CRTPIt >::operator*
inline

◆ operator+()

template<class Led >
template<class Neopix , class CRTPIt >
CRTPIt neo::strip< Led >::iterator_base< Neopix, CRTPIt >::operator+ ( std::size_t  n) const
inline

◆ operator++() [1/2]

template<class Led >
template<class Neopix , class CRTPIt >
CRTPIt & neo::strip< Led >::iterator_base< Neopix, CRTPIt >::operator++
inline

◆ operator++() [2/2]

template<class Led >
template<class Neopix , class CRTPIt >
const CRTPIt neo::strip< Led >::iterator_base< Neopix, CRTPIt >::operator++ ( int  )
inline

◆ operator+=()

template<class Led >
template<class Neopix , class CRTPIt >
CRTPIt & neo::strip< Led >::iterator_base< Neopix, CRTPIt >::operator+= ( std::size_t  n)
inline

◆ operator-()

template<class Led >
template<class Neopix , class CRTPIt >
CRTPIt neo::strip< Led >::iterator_base< Neopix, CRTPIt >::operator- ( std::size_t  n) const
inline

◆ operator--() [1/2]

template<class Led >
template<class Neopix , class CRTPIt >
CRTPIt & neo::strip< Led >::iterator_base< Neopix, CRTPIt >::operator--
inline

◆ operator--() [2/2]

template<class Led >
template<class Neopix , class CRTPIt >
const CRTPIt neo::strip< Led >::iterator_base< Neopix, CRTPIt >::operator-- ( int  )
inline

◆ operator-=()

template<class Led >
template<class Neopix , class CRTPIt >
CRTPIt & neo::strip< Led >::iterator_base< Neopix, CRTPIt >::operator-= ( std::size_t  n)
inline

◆ operator==()

template<class Led >
template<class Neopix , class CRTPIt >
bool neo::strip< Led >::iterator_base< Neopix, CRTPIt >::operator== ( CRTPIt const &  other) const
inline

Member Data Documentation

◆ _i

template<class Led >
template<class Neopix , class CRTPIt >
std::size_t neo::strip< Led >::iterator_base< Neopix, CRTPIt >::_i = std::numeric_limits<std::size_t>::max()
protected

◆ _neopix

template<class Led >
template<class Neopix , class CRTPIt >
Neopix* neo::strip< Led >::iterator_base< Neopix, CRTPIt >::_neopix = nullptr
protected

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