Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::sub_range< ForwardRange > Class Template Reference

#include <sub_range.hpp>

Inheritance diagram for boost::sub_range< ForwardRange >:
Collaboration diagram for boost::sub_range< ForwardRange >:

Public Types

typedef BOOST_DEDUCED_TYPENAME
range_value< ForwardRange >
::type 
value_type
 
typedef BOOST_DEDUCED_TYPENAME
range_iterator< ForwardRange >
::type 
iterator
 
typedef BOOST_DEDUCED_TYPENAME
range_iterator< const
ForwardRange >::type 
const_iterator
 
typedef BOOST_DEDUCED_TYPENAME
range_difference< ForwardRange >
::type 
difference_type
 
typedef BOOST_DEDUCED_TYPENAME
range_size< ForwardRange >
::type 
size_type
 
typedef BOOST_DEDUCED_TYPENAME
range_reference< ForwardRange >
::type 
reference
 
typedef BOOST_DEDUCED_TYPENAME
range_reference< const
ForwardRange >::type 
const_reference
 
typedef iterator_range
< BOOST_DEDUCED_TYPENAME
range_iterator< ForwardRange >
::type
type
 
typedef BOOST_DEDUCED_TYPENAME
safe_bool_t::unspecified_bool_type 
unspecified_bool_type
 

Public Member Functions

 sub_range ()
 
template<class ForwardRange2 >
 sub_range (ForwardRange2 &r, BOOST_DEDUCED_TYPENAME::boost::enable_if< is_compatible_range< ForwardRange2 > >::type *=0)
 
template<class ForwardRange2 >
 sub_range (const ForwardRange2 &r, BOOST_DEDUCED_TYPENAME::boost::enable_if< is_compatible_range< const ForwardRange2 > >::type *=0)
 
BOOST_DEDUCED_TYPENAME
base::const_iterator 
begin () const
 
BOOST_DEDUCED_TYPENAME
base::iterator 
begin ()
 
BOOST_DEDUCED_TYPENAME
base::const_iterator 
end () const
 
BOOST_DEDUCED_TYPENAME
base::iterator 
end ()
 
template<class Iter >
 sub_range (Iter first, Iter last)
 
template<class ForwardRange2 >
BOOST_DEDUCED_TYPENAME::boost::enable_if
< is_compatible_range
< ForwardRange2 >, sub_range & >
::type 
operator= (ForwardRange2 &r)
 
template<class ForwardRange2 >
BOOST_DEDUCED_TYPENAME::boost::enable_if
< is_compatible_range< const
ForwardRange2 >, sub_range & >
::type 
operator= (const ForwardRange2 &r)
 
sub_rangeoperator= (const sub_range &r)
 
sub_rangeadvance_begin (BOOST_DEDUCED_TYPENAME base::difference_type n)
 
sub_rangeadvance_end (BOOST_DEDUCED_TYPENAME base::difference_type n)
 
reference front ()
 
const_reference front () const
 
iterator_rangeadvance_begin (BOOST_DEDUCED_TYPENAME base_type::difference_type n)
 
iterator_rangeadvance_end (BOOST_DEDUCED_TYPENAME base_type::difference_type n)
 
bool empty () const
 
 operator unspecified_bool_type () const
 
bool operator! () const
 
bool equal (const iterator_range_base &r) const
 
void drop_front ()
 
void drop_front (difference_type n)
 
void pop_front ()
 

Protected Types

typedef BOOST_DEDUCED_TYPENAME
base::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

typedef BOOST_DEDUCED_TYPENAME range_iterator<const ForwardRange>::type boost::range_detail::sub_range_base< ForwardRange, BOOST_DEDUCED_TYPENAME iterator_traversal< BOOST_DEDUCED_TYPENAME range_iterator< ForwardRange >::type >::type >::const_iterator
inherited
typedef BOOST_DEDUCED_TYPENAME range_reference<const ForwardRange>::type boost::range_detail::sub_range_base< ForwardRange, BOOST_DEDUCED_TYPENAME iterator_traversal< BOOST_DEDUCED_TYPENAME range_iterator< ForwardRange >::type >::type >::const_reference
inherited
typedef BOOST_DEDUCED_TYPENAME range_iterator<ForwardRange>::type boost::range_detail::sub_range_base< ForwardRange, BOOST_DEDUCED_TYPENAME iterator_traversal< BOOST_DEDUCED_TYPENAME range_iterator< ForwardRange >::type >::type >::iterator
inherited
template<class ForwardRange >
typedef BOOST_DEDUCED_TYPENAME base::iterator_range_ boost::sub_range< ForwardRange >::iterator_range_
protected
typedef BOOST_DEDUCED_TYPENAME range_reference<ForwardRange>::type boost::range_detail::sub_range_base< ForwardRange, BOOST_DEDUCED_TYPENAME iterator_traversal< BOOST_DEDUCED_TYPENAME range_iterator< ForwardRange >::type >::type >::reference
inherited
typedef BOOST_DEDUCED_TYPENAME range_size<ForwardRange>::type boost::range_detail::sub_range_base< ForwardRange, BOOST_DEDUCED_TYPENAME iterator_traversal< BOOST_DEDUCED_TYPENAME range_iterator< ForwardRange >::type >::type >::size_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
typedef BOOST_DEDUCED_TYPENAME range_value<ForwardRange>::type boost::range_detail::sub_range_base< ForwardRange, BOOST_DEDUCED_TYPENAME iterator_traversal< BOOST_DEDUCED_TYPENAME range_iterator< ForwardRange >::type >::type >::value_type
inherited

Constructor & Destructor Documentation

template<class ForwardRange >
boost::sub_range< ForwardRange >::sub_range ( )
inline
template<class ForwardRange >
template<class ForwardRange2 >
boost::sub_range< ForwardRange >::sub_range ( ForwardRange2 &  r,
BOOST_DEDUCED_TYPENAME::boost::enable_if< is_compatible_range< ForwardRange2 > >::type = 0 
)
inline
template<class ForwardRange >
template<class ForwardRange2 >
boost::sub_range< ForwardRange >::sub_range ( const ForwardRange2 &  r,
BOOST_DEDUCED_TYPENAME::boost::enable_if< is_compatible_range< const ForwardRange2 > >::type = 0 
)
inline
template<class ForwardRange >
template<class Iter >
boost::sub_range< ForwardRange >::sub_range ( Iter  first,
Iter  last 
)
inline

Member Function Documentation

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>
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 ForwardRange >
template<class ForwardRange2 >
BOOST_DEDUCED_TYPENAME ::boost::enable_if< is_compatible_range<ForwardRange2>, sub_range& >::type boost::sub_range< ForwardRange >::operator= ( ForwardRange2 &  r)
inline
template<class ForwardRange >
template<class ForwardRange2 >
BOOST_DEDUCED_TYPENAME ::boost::enable_if< is_compatible_range<const ForwardRange2>, sub_range& >::type boost::sub_range< ForwardRange >::operator= ( const ForwardRange2 &  r)
inline
template<class ForwardRange >
sub_range& boost::sub_range< ForwardRange >::operator= ( const sub_range< ForwardRange > &  r)
inline
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 class was generated from the following files: