Vowpal Wabbit
Public Types | Public Member Functions | Friends | List of all members
VW::chained_proxy_iterator< InnerIterator, IteratorT > Struct Template Reference

#include <chained_proxy_iterator.h>

Public Types

using iterator_category = std::forward_iterator_tag
 
using difference_type = std::ptrdiff_t
 
using value_type = IteratorT
 
using reference = value_type &
 
using const_reference = const value_type &
 

Public Member Functions

 chained_proxy_iterator (InnerIterator outer_current, InnerIterator outer_end, IteratorT current)
 
 chained_proxy_iterator (const chained_proxy_iterator &)=default
 
chained_proxy_iteratoroperator= (const chained_proxy_iterator &)=default
 
 chained_proxy_iterator (chained_proxy_iterator &&)=default
 
chained_proxy_iteratoroperator= (chained_proxy_iterator &&)=default
 
reference operator* ()
 
const_reference operator* () const
 
chained_proxy_iteratoroperator++ ()
 
chained_proxy_iteratoroperator+= (difference_type diff)
 

Friends

difference_type operator- (const chained_proxy_iterator &lhs, chained_proxy_iterator rhs)
 
bool operator== (const chained_proxy_iterator &lhs, const chained_proxy_iterator &rhs)
 
bool operator!= (const chained_proxy_iterator &lhs, const chained_proxy_iterator &rhs)
 

Member Typedef Documentation

template<typename InnerIterator, typename IteratorT>
using VW::chained_proxy_iterator< InnerIterator, IteratorT >::const_reference = const value_type&
template<typename InnerIterator, typename IteratorT>
using VW::chained_proxy_iterator< InnerIterator, IteratorT >::difference_type = std::ptrdiff_t
template<typename InnerIterator, typename IteratorT>
using VW::chained_proxy_iterator< InnerIterator, IteratorT >::iterator_category = std::forward_iterator_tag
template<typename InnerIterator, typename IteratorT>
using VW::chained_proxy_iterator< InnerIterator, IteratorT >::reference = value_type&
template<typename InnerIterator, typename IteratorT>
using VW::chained_proxy_iterator< InnerIterator, IteratorT >::value_type = IteratorT

Constructor & Destructor Documentation

template<typename InnerIterator, typename IteratorT>
VW::chained_proxy_iterator< InnerIterator, IteratorT >::chained_proxy_iterator ( InnerIterator  outer_current,
InnerIterator  outer_end,
IteratorT  current 
)
inline
template<typename InnerIterator, typename IteratorT>
VW::chained_proxy_iterator< InnerIterator, IteratorT >::chained_proxy_iterator ( const chained_proxy_iterator< InnerIterator, IteratorT > &  )
default
template<typename InnerIterator, typename IteratorT>
VW::chained_proxy_iterator< InnerIterator, IteratorT >::chained_proxy_iterator ( chained_proxy_iterator< InnerIterator, IteratorT > &&  )
default

Member Function Documentation

template<typename InnerIterator, typename IteratorT>
reference VW::chained_proxy_iterator< InnerIterator, IteratorT >::operator* ( )
inline
template<typename InnerIterator, typename IteratorT>
const_reference VW::chained_proxy_iterator< InnerIterator, IteratorT >::operator* ( ) const
inline
template<typename InnerIterator, typename IteratorT>
chained_proxy_iterator& VW::chained_proxy_iterator< InnerIterator, IteratorT >::operator++ ( )
inline
template<typename InnerIterator, typename IteratorT>
chained_proxy_iterator& VW::chained_proxy_iterator< InnerIterator, IteratorT >::operator+= ( difference_type  diff)
inline
template<typename InnerIterator, typename IteratorT>
chained_proxy_iterator& VW::chained_proxy_iterator< InnerIterator, IteratorT >::operator= ( const chained_proxy_iterator< InnerIterator, IteratorT > &  )
default
template<typename InnerIterator, typename IteratorT>
chained_proxy_iterator& VW::chained_proxy_iterator< InnerIterator, IteratorT >::operator= ( chained_proxy_iterator< InnerIterator, IteratorT > &&  )
default

Friends And Related Function Documentation

template<typename InnerIterator, typename IteratorT>
bool operator!= ( const chained_proxy_iterator< InnerIterator, IteratorT > &  lhs,
const chained_proxy_iterator< InnerIterator, IteratorT > &  rhs 
)
friend
template<typename InnerIterator, typename IteratorT>
difference_type operator- ( const chained_proxy_iterator< InnerIterator, IteratorT > &  lhs,
chained_proxy_iterator< InnerIterator, IteratorT >  rhs 
)
friend
template<typename InnerIterator, typename IteratorT>
bool operator== ( const chained_proxy_iterator< InnerIterator, IteratorT > &  lhs,
const chained_proxy_iterator< InnerIterator, IteratorT > &  rhs 
)
friend

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