CAPD RedHom Library
capd::homAux::RedefinedIteratorRange< Rng, Func > Class Template Reference

#include <capd/homAux/RedefinedIteratorRange.h>

Public Types

typedef boost::range_iterator< typename boost::result_of< Func(It, It)>::type >::type iterator
 
typedef boost::range_const_iterator< typename boost::result_of< Func(CIt, CIt)>::type >::type const_iterator
 
typedef boost::iterator_value< iterator >::type value_type
 

Public Member Functions

 RedefinedIteratorRange (Rng rng, Func func)
 
const_iterator begin () const
 
const_iterator end () const
 
iterator begin ()
 
iterator end ()
 

Member Typedef Documentation

template<typename Rng, typename Func>
typedef boost::range_const_iterator<typename boost::result_of<Func(CIt, CIt)>::type>::type capd::homAux::RedefinedIteratorRange< Rng, Func >::const_iterator
template<typename Rng, typename Func>
typedef boost::range_iterator<typename boost::result_of<Func(It, It)>::type>::type capd::homAux::RedefinedIteratorRange< Rng, Func >::iterator
template<typename Rng, typename Func>
typedef boost::iterator_value<iterator>::type capd::homAux::RedefinedIteratorRange< Rng, Func >::value_type

Constructor & Destructor Documentation

template<typename Rng, typename Func>
capd::homAux::RedefinedIteratorRange< Rng, Func >::RedefinedIteratorRange ( Rng  rng,
Func  func 
)
inlineexplicit

Member Function Documentation

template<typename Rng, typename Func>
const_iterator capd::homAux::RedefinedIteratorRange< Rng, Func >::begin ( ) const
inline
template<typename Rng, typename Func>
iterator capd::homAux::RedefinedIteratorRange< Rng, Func >::begin ( )
inline
template<typename Rng, typename Func>
const_iterator capd::homAux::RedefinedIteratorRange< Rng, Func >::end ( ) const
inline
template<typename Rng, typename Func>
iterator capd::homAux::RedefinedIteratorRange< Rng, Func >::end ( )
inline