CANdevStudio
Development tool for CAN bus simulation
|
#include <enumiterator.h>
using | difference_type = std::ptrdiff_t |
using | value_type = T |
using | pointer = std::add_pointer_t< value_type > |
using | reference = std::add_lvalue_reference_t< value_type > |
using | iterator_category = std::forward_iterator_tag |
using | const_reference = std::add_lvalue_reference_t< std::add_const_t< value_type > > |
using | const_pointer = std::add_pointer_t< std::add_const_t< value_type > > |
EnumIterator (T t) | |
EnumIterator (const EnumIterator &)=default | |
EnumIterator (EnumIterator &&)=default | |
EnumIterator & | operator= (const EnumIterator &)=default |
EnumIterator & | operator= (EnumIterator &&)=default |
bool | operator== (EnumIterator rhs) const |
bool | operator!= (EnumIterator rhs) const |
reference | operator-> () |
const_reference | operator-> () const |
EnumIterator & | operator++ () |
EnumIterator | operator++ (int) const |
EnumIterator | begin () const |
EnumIterator | end () const |
reference | operator* () |
const_reference | operator* () const |
void | swap (EnumIterator &lhs, EnumIterator &rhs) |
Iterator for an enum of type T
that starts with an item start
and ends after the item stop
. Models ForwardIterator concept.
using EnumIterator< T, start, stop >::const_pointer = std::add_pointer_t<std::add_const_t<value_type> > |
using EnumIterator< T, start, stop >::const_reference = std::add_lvalue_reference_t<std::add_const_t<value_type> > |
using EnumIterator< T, start, stop >::difference_type = std::ptrdiff_t |
using EnumIterator< T, start, stop >::iterator_category = std::forward_iterator_tag |
using EnumIterator< T, start, stop >::pointer = std::add_pointer_t<value_type> |
using EnumIterator< T, start, stop >::reference = std::add_lvalue_reference_t<value_type> |
using EnumIterator< T, start, stop >::value_type = T |
|
default |
Creates a singular iterator.
|
inlineexplicit |
|
default |
|
default |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
default |
|
default |
|
inline |
|
friend |