LocalGuidance
A library that generates velocity references to follow a path.
std_utils::enum_iterator< EnumType_, last_ > Class Template Referencefinal

#include <ConsecutiveEnum.hpp>

Inheritance diagram for std_utils::enum_iterator< EnumType_, last_ >:
Inheritance graph

Public Types

using integer_type = typename std::underlying_type< EnumType_ >::type
 

Public Member Functions

constexpr enum_iterator () noexcept
 
constexpr enum_iterator (const EnumType_ index) noexcept
 
enum_iterator operator++ ()
 
enum_iterator operator++ (int)
 
EnumType_ operator* () const
 
bool operator== (const enum_iterator &other) const noexcept
 
bool operator!= (const enum_iterator &other) const noexcept
 
bool operator< (const enum_iterator &other) const noexcept
 
bool operator> (const enum_iterator &other) const noexcept
 
bool operator<= (const enum_iterator &other) const noexcept
 
bool operator>= (const enum_iterator &other) const noexcept
 
enum_iterator begin () const
 
enum_iterator end () const
 

Private Attributes

integer_type id_
 

Member Typedef Documentation

template<typename EnumType_ , EnumType_ last_ = EnumType_::SIZE>
using std_utils::enum_iterator< EnumType_, last_ >::integer_type = typename std::underlying_type<EnumType_>::type

Constructor & Destructor Documentation

template<typename EnumType_ , EnumType_ last_ = EnumType_::SIZE>
constexpr std_utils::enum_iterator< EnumType_, last_ >::enum_iterator ( )
inlinenoexcept
template<typename EnumType_ , EnumType_ last_ = EnumType_::SIZE>
constexpr std_utils::enum_iterator< EnumType_, last_ >::enum_iterator ( const EnumType_  index)
inlinenoexcept

Member Function Documentation

template<typename EnumType_ , EnumType_ last_ = EnumType_::SIZE>
enum_iterator std_utils::enum_iterator< EnumType_, last_ >::begin ( ) const
inline
template<typename EnumType_ , EnumType_ last_ = EnumType_::SIZE>
enum_iterator std_utils::enum_iterator< EnumType_, last_ >::end ( ) const
inline
template<typename EnumType_ , EnumType_ last_ = EnumType_::SIZE>
bool std_utils::enum_iterator< EnumType_, last_ >::operator!= ( const enum_iterator< EnumType_, last_ > &  other) const
inlinenoexcept
template<typename EnumType_ , EnumType_ last_ = EnumType_::SIZE>
EnumType_ std_utils::enum_iterator< EnumType_, last_ >::operator* ( ) const
inline
template<typename EnumType_ , EnumType_ last_ = EnumType_::SIZE>
enum_iterator std_utils::enum_iterator< EnumType_, last_ >::operator++ ( )
inline
template<typename EnumType_ , EnumType_ last_ = EnumType_::SIZE>
enum_iterator std_utils::enum_iterator< EnumType_, last_ >::operator++ ( int  )
inline
template<typename EnumType_ , EnumType_ last_ = EnumType_::SIZE>
bool std_utils::enum_iterator< EnumType_, last_ >::operator< ( const enum_iterator< EnumType_, last_ > &  other) const
inlinenoexcept
template<typename EnumType_ , EnumType_ last_ = EnumType_::SIZE>
bool std_utils::enum_iterator< EnumType_, last_ >::operator<= ( const enum_iterator< EnumType_, last_ > &  other) const
inlinenoexcept
template<typename EnumType_ , EnumType_ last_ = EnumType_::SIZE>
bool std_utils::enum_iterator< EnumType_, last_ >::operator== ( const enum_iterator< EnumType_, last_ > &  other) const
inlinenoexcept
template<typename EnumType_ , EnumType_ last_ = EnumType_::SIZE>
bool std_utils::enum_iterator< EnumType_, last_ >::operator> ( const enum_iterator< EnumType_, last_ > &  other) const
inlinenoexcept
template<typename EnumType_ , EnumType_ last_ = EnumType_::SIZE>
bool std_utils::enum_iterator< EnumType_, last_ >::operator>= ( const enum_iterator< EnumType_, last_ > &  other) const
inlinenoexcept

Member Data Documentation

template<typename EnumType_ , EnumType_ last_ = EnumType_::SIZE>
integer_type std_utils::enum_iterator< EnumType_, last_ >::id_
private

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