Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::gil::memunit_step_fn< Iterator > Struct Template Reference

function object that returns the memory unit distance between two iterators and advances a given iterator a given number of mem units (bytes or bits) More...

#include <step_iterator.hpp>

Public Types

typedef std::ptrdiff_t difference_type
 

Public Member Functions

 memunit_step_fn (difference_type step=memunit_step(Iterator()))
 
difference_type difference (const Iterator &it1, const Iterator &it2) const
 
void advance (Iterator &it, difference_type d) const
 
difference_type step () const
 
void set_step (std::ptrdiff_t step)
 

Detailed Description

template<typename Iterator>
struct boost::gil::memunit_step_fn< Iterator >

function object that returns the memory unit distance between two iterators and advances a given iterator a given number of mem units (bytes or bits)

Member Typedef Documentation

template<typename Iterator>
typedef std::ptrdiff_t boost::gil::memunit_step_fn< Iterator >::difference_type

Constructor & Destructor Documentation

template<typename Iterator>
boost::gil::memunit_step_fn< Iterator >::memunit_step_fn ( difference_type  step = memunit_step(Iterator()))
inline

Member Function Documentation

template<typename Iterator>
void boost::gil::memunit_step_fn< Iterator >::advance ( Iterator &  it,
difference_type  d 
) const
inline
template<typename Iterator>
difference_type boost::gil::memunit_step_fn< Iterator >::difference ( const Iterator &  it1,
const Iterator &  it2 
) const
inline
template<typename Iterator>
void boost::gil::memunit_step_fn< Iterator >::set_step ( std::ptrdiff_t  step)
inline

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