libNeon
Loading...
Searching...
No Matches
neo::strip< Led >::iterator Class Reference

#include <strip.hpp>

Inheritance diagram for neo::strip< Led >::iterator:
Collaboration diagram for neo::strip< Led >::iterator:

Public Types

using iterator_category = std::random_access_iterator_tag
 
using value_type = decltype(std::declval< strip & >()[0])
 
using difference_type = void
 
using pointer = void
 
using reference = void
 

Public Member Functions

 operator const_iterator () const
 
- Public Member Functions inherited from neo::strip< Led >::iterator_base< strip, iterator >
 iterator_base ()=default
 
 iterator_base (strip &neopix, std::size_t i)
 
decltype(auto) operator* () const
 
iteratoroperator++ ()
 
const iterator operator++ (int)
 
iteratoroperator-- ()
 
const iterator operator-- (int)
 
bool operator== (iterator const &other) const
 
bool operator!= (iterator const &other) const
 
iteratoroperator+= (std::size_t n)
 
iteratoroperator-= (std::size_t n)
 
iterator operator+ (std::size_t n) const
 
iterator operator- (std::size_t n) const
 

Additional Inherited Members

- Protected Attributes inherited from neo::strip< Led >::iterator_base< strip, iterator >
strip_neopix
 
std::size_t _i
 

Member Typedef Documentation

◆ difference_type

template<class Led >
using neo::strip< Led >::iterator::difference_type = void

◆ iterator_category

template<class Led >
using neo::strip< Led >::iterator::iterator_category = std::random_access_iterator_tag

◆ pointer

template<class Led >
using neo::strip< Led >::iterator::pointer = void

◆ reference

template<class Led >
using neo::strip< Led >::iterator::reference = void

◆ value_type

template<class Led >
using neo::strip< Led >::iterator::value_type = decltype(std::declval<strip &>()[0])

Member Function Documentation

◆ operator const_iterator()

template<class Led >
neo::strip< Led >::iterator::operator const_iterator
inline

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