Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
nonstd::ring_span_lite::detail::ring_iterator< RS, is_const > Class Template Reference

#include <ring_span.hpp>

Public Types

typedef std::ptrdiff_t difference_type
 
typedef std::random_access_iterator_tag iterator_category
 
typedef std11::conditional< is_const, const value_type, value_type >::typepointer
 
typedef std11::conditional< is_const, const value_type, value_type >::typereference
 
typedef ring_iterator< RS, is_const > type
 
typedef RS::value_type value_type
 

Public Member Functions

 operator ring_iterator< RS, true > () const nsrs_noexcept
 
template<bool C>
bool operator!= (ring_iterator< RS, C > const &rhs) const nsrs_noexcept
 
reference operator* () const nsrs_noexcept
 
typeoperator++ () nsrs_noexcept
 
type operator++ (int) nsrs_noexcept
 
typeoperator+= (int i) nsrs_noexcept
 
template<bool C>
difference_type operator- (ring_iterator< RS, C > const &rhs) const nsrs_noexcept
 
typeoperator-- () nsrs_noexcept
 
type operator-- (int) nsrs_noexcept
 
typeoperator-= (int i) nsrs_noexcept
 
template<bool C>
bool operator< (ring_iterator< RS, C > const &rhs) const nsrs_noexcept
 
template<bool C>
bool operator<= (ring_iterator< RS, C > const &rhs) const nsrs_noexcept
 
template<bool C>
bool operator== (ring_iterator< RS, C > const &rhs) const nsrs_noexcept
 
template<bool C>
bool operator> (ring_iterator< RS, C > const &rhs) const nsrs_noexcept
 
template<bool C>
bool operator>= (ring_iterator< RS, C > const &rhs) const nsrs_noexcept
 
 ring_iterator ()
 

Private Types

typedef std11::conditional< is_const, const RS, RS >::type ring_type
 
typedef RS::size_type size_type
 

Private Member Functions

 ring_iterator (size_type idx, typename std11::conditional< is_const, const RS, RS >::type *rs) nsrs_noexcept
 

Private Attributes

size_type m_idx
 
ring_typem_rs
 
friend RS
 

Friends

class ring_iterator< RS,!is_const >
 

Detailed Description

template<class RS, bool is_const>
class nonstd::ring_span_lite::detail::ring_iterator< RS, is_const >

Definition at line 386 of file ring_span.hpp.

Member Typedef Documentation

template<class RS , bool is_const>
typedef std::ptrdiff_t nonstd::ring_span_lite::detail::ring_iterator< RS, is_const >::difference_type

Definition at line 812 of file ring_span.hpp.

template<class RS , bool is_const>
typedef std::random_access_iterator_tag nonstd::ring_span_lite::detail::ring_iterator< RS, is_const >::iterator_category

Definition at line 817 of file ring_span.hpp.

template<class RS , bool is_const>
typedef std11::conditional<is_const, const value_type, value_type>::type* nonstd::ring_span_lite::detail::ring_iterator< RS, is_const >::pointer

Definition at line 815 of file ring_span.hpp.

template<class RS , bool is_const>
typedef std11::conditional<is_const, const value_type, value_type>::type& nonstd::ring_span_lite::detail::ring_iterator< RS, is_const >::reference

Definition at line 816 of file ring_span.hpp.

template<class RS , bool is_const>
typedef std11::conditional<is_const, const RS, RS>::type nonstd::ring_span_lite::detail::ring_iterator< RS, is_const >::ring_type
private

Definition at line 936 of file ring_span.hpp.

template<class RS , bool is_const>
typedef RS::size_type nonstd::ring_span_lite::detail::ring_iterator< RS, is_const >::size_type
private

Definition at line 935 of file ring_span.hpp.

template<class RS , bool is_const>
typedef ring_iterator<RS, is_const> nonstd::ring_span_lite::detail::ring_iterator< RS, is_const >::type

Definition at line 810 of file ring_span.hpp.

template<class RS , bool is_const>
typedef RS::value_type nonstd::ring_span_lite::detail::ring_iterator< RS, is_const >::value_type

Definition at line 813 of file ring_span.hpp.

Constructor & Destructor Documentation

template<class RS , bool is_const>
nonstd::ring_span_lite::detail::ring_iterator< RS, is_const >::ring_iterator ( )
inline

Definition at line 822 of file ring_span.hpp.

template<class RS , bool is_const>
nonstd::ring_span_lite::detail::ring_iterator< RS, is_const >::ring_iterator ( size_type  idx,
typename std11::conditional< is_const, const RS, RS >::type rs 
)
inlineprivate

Definition at line 938 of file ring_span.hpp.

Member Function Documentation

template<class RS , bool is_const>
nonstd::ring_span_lite::detail::ring_iterator< RS, is_const >::operator ring_iterator< RS, true > ( ) const
inline

Definition at line 828 of file ring_span.hpp.

template<class RS , bool is_const>
template<bool C>
bool nonstd::ring_span_lite::detail::ring_iterator< RS, is_const >::operator!= ( ring_iterator< RS, C > const &  rhs) const
inline

Definition at line 908 of file ring_span.hpp.

template<class RS , bool is_const>
reference nonstd::ring_span_lite::detail::ring_iterator< RS, is_const >::operator* ( ) const
inline

Definition at line 836 of file ring_span.hpp.

template<class RS , bool is_const>
type& nonstd::ring_span_lite::detail::ring_iterator< RS, is_const >::operator++ ( )
inline

Definition at line 843 of file ring_span.hpp.

template<class RS , bool is_const>
type nonstd::ring_span_lite::detail::ring_iterator< RS, is_const >::operator++ ( int  )
inline

Definition at line 848 of file ring_span.hpp.

template<class RS , bool is_const>
type& nonstd::ring_span_lite::detail::ring_iterator< RS, is_const >::operator+= ( int  i)
inline

Definition at line 868 of file ring_span.hpp.

template<class RS , bool is_const>
template<bool C>
difference_type nonstd::ring_span_lite::detail::ring_iterator< RS, is_const >::operator- ( ring_iterator< RS, C > const &  rhs) const
inline

Definition at line 885 of file ring_span.hpp.

template<class RS , bool is_const>
type& nonstd::ring_span_lite::detail::ring_iterator< RS, is_const >::operator-- ( )
inline

Definition at line 853 of file ring_span.hpp.

template<class RS , bool is_const>
type nonstd::ring_span_lite::detail::ring_iterator< RS, is_const >::operator-- ( int  )
inline

Definition at line 858 of file ring_span.hpp.

template<class RS , bool is_const>
type& nonstd::ring_span_lite::detail::ring_iterator< RS, is_const >::operator-= ( int  i)
inline

Definition at line 873 of file ring_span.hpp.

template<class RS , bool is_const>
template<bool C>
bool nonstd::ring_span_lite::detail::ring_iterator< RS, is_const >::operator< ( ring_iterator< RS, C > const &  rhs) const
inline

Definition at line 894 of file ring_span.hpp.

template<class RS , bool is_const>
template<bool C>
bool nonstd::ring_span_lite::detail::ring_iterator< RS, is_const >::operator<= ( ring_iterator< RS, C > const &  rhs) const
inline

Definition at line 914 of file ring_span.hpp.

template<class RS , bool is_const>
template<bool C>
bool nonstd::ring_span_lite::detail::ring_iterator< RS, is_const >::operator== ( ring_iterator< RS, C > const &  rhs) const
inline

Definition at line 900 of file ring_span.hpp.

template<class RS , bool is_const>
template<bool C>
bool nonstd::ring_span_lite::detail::ring_iterator< RS, is_const >::operator> ( ring_iterator< RS, C > const &  rhs) const
inline

Definition at line 920 of file ring_span.hpp.

template<class RS , bool is_const>
template<bool C>
bool nonstd::ring_span_lite::detail::ring_iterator< RS, is_const >::operator>= ( ring_iterator< RS, C > const &  rhs) const
inline

Definition at line 926 of file ring_span.hpp.

Friends And Related Function Documentation

template<class RS , bool is_const>
friend class ring_iterator< RS,!is_const >
friend

Definition at line 933 of file ring_span.hpp.

Member Data Documentation

template<class RS , bool is_const>
size_type nonstd::ring_span_lite::detail::ring_iterator< RS, is_const >::m_idx
private

Definition at line 944 of file ring_span.hpp.

template<class RS , bool is_const>
ring_type* nonstd::ring_span_lite::detail::ring_iterator< RS, is_const >::m_rs
private

Definition at line 945 of file ring_span.hpp.

template<class RS , bool is_const>
friend nonstd::ring_span_lite::detail::ring_iterator< RS, is_const >::RS
private

Definition at line 932 of file ring_span.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:52