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::replaced_if_range< Pred, R > Class Template Reference

#include <replaced_if.hpp>

Inheritance diagram for boost::range_detail::replaced_if_range< Pred, R >:
Collaboration diagram for boost::range_detail::replaced_if_range< Pred, R >:

Public Types

typedef BOOST_DEDUCED_TYPENAME
range_value< R >::type 
value_type
 
typedef iterator_range
< boost::transform_iterator
< replace_value_if< Pred,
BOOST_DEDUCED_TYPENAME
range_value< R >::type >
, 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_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

 replaced_if_range (R &r, const Pred &pred, value_type to)
 
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::transform_iterator
< replace_value_if< Pred,
BOOST_DEDUCED_TYPENAME
range_value< R >::type >
, 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
template<class IteratorT, class TraversalTag>
typedef IteratorT boost::iterator_range_detail::iterator_range_base< IteratorT, TraversalTag >::iterator
inherited

iterator type

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
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 Pred, class R>
typedef BOOST_DEDUCED_TYPENAME range_value<R>::type boost::range_detail::replaced_if_range< Pred, R >::value_type

Constructor & Destructor Documentation

template<class Pred, class R>
boost::range_detail::replaced_if_range< Pred, R >::replaced_if_range ( R &  r,
const Pred &  pred,
value_type  to 
)
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>
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 class was generated from the following file: