CAPD RedHom Library
Util::Iterators::BeginEnd< isConst, CollectionT, TransformT > Class Template Reference

#include <capd/complex/Iterators.hpp>

Public Types

typedef boost::transform_iterator< TransformT, CollectionIterator > iterator
 
typedef boost::transform_iterator< TransformT, typename CollectionT::const_iterator > const_iterator
 

Public Member Functions

 BeginEnd (Collection _collection, const TransformT &_transform=TransformT())
 
iterator begin () const
 
iterator end () const
 

Member Typedef Documentation

template<bool isConst, typename CollectionT , typename TransformT = Identity<typename CollectionT::value_type>>
typedef boost::transform_iterator<TransformT, typename CollectionT::const_iterator> Util::Iterators::BeginEnd< isConst, CollectionT, TransformT >::const_iterator
template<bool isConst, typename CollectionT , typename TransformT = Identity<typename CollectionT::value_type>>
typedef boost::transform_iterator<TransformT, CollectionIterator> Util::Iterators::BeginEnd< isConst, CollectionT, TransformT >::iterator

Constructor & Destructor Documentation

template<bool isConst, typename CollectionT , typename TransformT = Identity<typename CollectionT::value_type>>
Util::Iterators::BeginEnd< isConst, CollectionT, TransformT >::BeginEnd ( Collection  _collection,
const TransformT &  _transform = TransformT() 
)
inlineexplicit

Member Function Documentation

template<bool isConst, typename CollectionT , typename TransformT = Identity<typename CollectionT::value_type>>
iterator Util::Iterators::BeginEnd< isConst, CollectionT, TransformT >::begin ( ) const
inline
template<bool isConst, typename CollectionT , typename TransformT = Identity<typename CollectionT::value_type>>
iterator Util::Iterators::BeginEnd< isConst, CollectionT, TransformT >::end ( ) const
inline