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

#include <capd/complex/Iterators.hpp>

Public Types

typedef boost::mpl::if_c< isConst, const CollectionT &, CollectionT & >::type Collection
 
typedef boost::transform_iterator< TransformT, typename boost::mpl::if_c< isConst, typename CollectionT::const_iterator, typename CollectionT::iterator >::type > iterator
 
typedef boost::transform_iterator< TransformT, typename CollectionT::const_iterator > const_iterator
 

Public Member Functions

 CollectionBeginEnd (Collection _collection)
 
iterator begin () const
 
iterator end () const
 

Member Typedef Documentation

template<bool isConst, typename CollectionT , typename TransformT >
typedef boost::mpl::if_c<isConst, const CollectionT&, CollectionT& >::type Util::Iterators::CollectionBeginEnd< isConst, CollectionT, TransformT >::Collection
template<bool isConst, typename CollectionT , typename TransformT >
typedef boost::transform_iterator<TransformT, typename CollectionT::const_iterator> Util::Iterators::CollectionBeginEnd< isConst, CollectionT, TransformT >::const_iterator
template<bool isConst, typename CollectionT , typename TransformT >
typedef boost::transform_iterator<TransformT, typename boost::mpl::if_c<isConst, typename CollectionT::const_iterator, typename CollectionT::iterator>::type> Util::Iterators::CollectionBeginEnd< isConst, CollectionT, TransformT >::iterator

Constructor & Destructor Documentation

template<bool isConst, typename CollectionT , typename TransformT >
Util::Iterators::CollectionBeginEnd< isConst, CollectionT, TransformT >::CollectionBeginEnd ( Collection  _collection)
inlineexplicit

Member Function Documentation

template<bool isConst, typename CollectionT , typename TransformT >
iterator Util::Iterators::CollectionBeginEnd< isConst, CollectionT, TransformT >::begin ( ) const
inline
template<bool isConst, typename CollectionT , typename TransformT >
iterator Util::Iterators::CollectionBeginEnd< isConst, CollectionT, TransformT >::end ( ) const
inline