SHORE API
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
shore::conversion_proxy< Iter, Converted, ConversionFunc > Class Template Reference

Proxy iterator that converts the referenced values using a user-defined functor / function. More...

Inherits iterator_facade< conversion_proxy< Iter, Converted, ConversionFunc >, const Converted, boost::random_access_traversal_tag, const Converted >.

Public Types

typedef Iter iterator_type
 
typedef Converted converted_type
 
typedef ConversionFunc conversion_func_type
 

Public Member Functions

 conversion_proxy (conversion_func_type fun=conversion_func_type())
 
 conversion_proxy (iterator_type iter, conversion_func_type fun=conversion_func_type())
 
iterator_type base () const
 Get the underlying base iterator.
 

Friends

class boost::iterator_core_access
 

Detailed Description

template<typename Iter, typename Converted, typename ConversionFunc = Converted (*)(const typename std::iterator_traits<Iter>::value_type)>
class shore::conversion_proxy< Iter, Converted, ConversionFunc >

Proxy iterator that converts the referenced values using a user-defined functor / function.


The documentation for this class was generated from the following file: