Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::range_detail::indirected_range< R > Struct Template Reference

#include <indirected.hpp>

Inheritance diagram for boost::range_detail::indirected_range< R >:
Collaboration diagram for boost::range_detail::indirected_range< R >:

Public Types

typedef iterator_range
< boost::indirect_iterator
< BOOST_DEDUCED_TYPENAME
range_iterator< R >::type > > 
type
 
typedef BOOST_DEDUCED_TYPENAME
safe_bool_t::unspecified_bool_type 
unspecified_bool_type
 
typedef BOOST_DEDUCED_TYPENAME
iterator_value< IteratorT >
::type 
value_type
 
typedef BOOST_DEDUCED_TYPENAME
iterator_difference< IteratorT >
::type 
difference_type
 
typedef std::size_t size_type
 
typedef BOOST_DEDUCED_TYPENAME
iterator_reference< IteratorT >
::type 
reference
 
typedef IteratorT const_iterator
 const_iterator type More...
 
typedef IteratorT iterator
 iterator type More...
 

Public Member Functions

 indirected_range (R &r)
 
iterator_rangeadvance_begin (BOOST_DEDUCED_TYPENAME base_type::difference_type n)
 
iterator_rangeadvance_end (BOOST_DEDUCED_TYPENAME base_type::difference_type n)
 
IteratorT begin () const
 
IteratorT end () const
 
bool empty () const
 
 operator unspecified_bool_type () const
 
bool operator! () const
 
bool equal (const iterator_range_base &r) const
 
reference front () const
 
void drop_front ()
 
void drop_front (difference_type n)
 
void pop_front ()
 

Protected Types

typedef
iterator_range_detail::iterator_range_impl
< boost::indirect_iterator
< BOOST_DEDUCED_TYPENAME
range_iterator< R >::type > > 
impl
 
typedef iterator_range iterator_range_
 

Protected Member Functions

template<class Iterator >
void assign (Iterator first, Iterator last)
 
template<class SinglePassRange >
void assign (const SinglePassRange &r)
 
template<class SinglePassRange >
void assign (SinglePassRange &r)
 

Protected Attributes

IteratorT m_Begin
 
IteratorT m_End
 

Member Typedef Documentation

template<class IteratorT, class TraversalTag>
typedef IteratorT boost::iterator_range_detail::iterator_range_base< IteratorT, TraversalTag >::const_iterator
inherited

const_iterator type

There is no distinction between const_iterator and iterator. These typedefs are provides to fulfill container interface

template<class IteratorT, class TraversalTag>
typedef BOOST_DEDUCED_TYPENAME iterator_difference<IteratorT>::type boost::iterator_range_detail::iterator_range_base< IteratorT, TraversalTag >::difference_type
inherited
typedef iterator_range_detail::iterator_range_impl<boost::indirect_iterator< BOOST_DEDUCED_TYPENAME range_iterator< R >::type > > boost::iterator_range< boost::indirect_iterator< BOOST_DEDUCED_TYPENAME range_iterator< R >::type > >::impl
protectedinherited
template<class IteratorT, class TraversalTag>
typedef IteratorT boost::iterator_range_detail::iterator_range_base< IteratorT, TraversalTag >::iterator
inherited

iterator type

typedef iterator_range boost::iterator_range< boost::indirect_iterator< BOOST_DEDUCED_TYPENAME range_iterator< R >::type > >::iterator_range_
protectedinherited
template<class IteratorT, class TraversalTag>
typedef BOOST_DEDUCED_TYPENAME iterator_reference<IteratorT>::type boost::iterator_range_detail::iterator_range_base< IteratorT, TraversalTag >::reference
inherited
template<class IteratorT, class TraversalTag>
typedef std::size_t boost::iterator_range_detail::iterator_range_base< IteratorT, TraversalTag >::size_type
inherited
typedef iterator_range<boost::indirect_iterator< BOOST_DEDUCED_TYPENAME range_iterator< R >::type > > boost::iterator_range< boost::indirect_iterator< BOOST_DEDUCED_TYPENAME range_iterator< R >::type > >::type
inherited
template<class IteratorT, class TraversalTag>
typedef BOOST_DEDUCED_TYPENAME safe_bool_t::unspecified_bool_type boost::iterator_range_detail::iterator_range_base< IteratorT, TraversalTag >::unspecified_bool_type
inherited
template<class IteratorT, class TraversalTag>
typedef BOOST_DEDUCED_TYPENAME iterator_value<IteratorT>::type boost::iterator_range_detail::iterator_range_base< IteratorT, TraversalTag >::value_type
inherited

Constructor & Destructor Documentation

template<class R >
boost::range_detail::indirected_range< R >::indirected_range ( R &  r)
inlineexplicit

Member Function Documentation

iterator_range& boost::iterator_range< boost::indirect_iterator< BOOST_DEDUCED_TYPENAME range_iterator< R >::type > >::advance_begin ( BOOST_DEDUCED_TYPENAME base_type::difference_type  n)
inlineinherited
iterator_range& boost::iterator_range< boost::indirect_iterator< BOOST_DEDUCED_TYPENAME range_iterator< R >::type > >::advance_end ( BOOST_DEDUCED_TYPENAME base_type::difference_type  n)
inlineinherited
template<class IteratorT, class TraversalTag>
template<class Iterator >
void boost::iterator_range_detail::iterator_range_base< IteratorT, TraversalTag >::assign ( Iterator  first,
Iterator  last 
)
inlineprotectedinherited
template<class IteratorT, class TraversalTag>
template<class SinglePassRange >
void boost::iterator_range_detail::iterator_range_base< IteratorT, TraversalTag >::assign ( const SinglePassRange &  r)
inlineprotectedinherited
template<class IteratorT, class TraversalTag>
template<class SinglePassRange >
void boost::iterator_range_detail::iterator_range_base< IteratorT, TraversalTag >::assign ( SinglePassRange &  r)
inlineprotectedinherited
template<class IteratorT, class TraversalTag>
void boost::iterator_range_detail::iterator_range_base< IteratorT, TraversalTag >::drop_front ( )
inlineinherited
template<class IteratorT, class TraversalTag>
void boost::iterator_range_detail::iterator_range_base< IteratorT, TraversalTag >::drop_front ( difference_type  n)
inlineinherited
template<class IteratorT, class TraversalTag>
IteratorT boost::iterator_range_detail::iterator_range_base< IteratorT, TraversalTag >::end ( void  ) const
inlineinherited
template<class IteratorT, class TraversalTag>
bool boost::iterator_range_detail::iterator_range_base< IteratorT, TraversalTag >::equal ( const iterator_range_base< IteratorT, TraversalTag > &  r) const
inlineinherited
template<class IteratorT, class TraversalTag>
boost::iterator_range_detail::iterator_range_base< IteratorT, TraversalTag >::operator unspecified_bool_type ( ) const
inlineinherited
template<class IteratorT, class TraversalTag>
bool boost::iterator_range_detail::iterator_range_base< IteratorT, TraversalTag >::operator! ( ) const
inlineinherited
template<class IteratorT, class TraversalTag>
void boost::iterator_range_detail::iterator_range_base< IteratorT, TraversalTag >::pop_front ( )
inlineinherited

Member Data Documentation


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