Modules | Alphabetical List | Class List | Directories | File List | GIL Home Page

# step_iterator.hpp File Reference

## Detailed Description

pixel step iterator

Author:
  Lubomir Bourdev and Hailin Jin
  Adobe Systems Incorporated

Date:
  2005-2007
  Last updated on September 18, 2007

`#include <cstddef>`
`#include <iterator>`
`#include <boost/iterator/iterator_facade.hpp>`
`#include "gil_config.hpp"`
`#include "utilities.hpp"`
`#include "pixel_iterator.hpp"`
`#include "pixel_iterator_adaptor.hpp"`

Go to the source code of this file.

## Namespaces

namespace | boost
namespace | boost::gil
namespace | boost::gil::detail

## Classes

class | step_iterator_adaptor
| An adaptor over an existing iterator that changes the step unit. More...
struct | memunit_step_fn
| 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...
class | memory_based_step_iterator
| Iterator with dynamically specified step in memory units (bytes or bits). Models StepIteratorConcept, IteratorAdaptorConcept, MemoryBasedIteratorConcept, PixelIteratorConcept, HasDynamicXStepTypeConcept. More...

## Functions

template<typename D, typename Iterator, typename SFn>
bool | operator> (const step_iterator_adaptor< D, Iterator, SFn > &p1, const step_iterator_adaptor< D, Iterator, SFn > &p2)
template<typename D, typename Iterator, typename SFn>
bool | operator< (const step_iterator_adaptor< D, Iterator, SFn > &p1, const step_iterator_adaptor< D, Iterator, SFn > &p2)
template<typename D, typename Iterator, typename SFn>
bool | operator>= (const step_iterator_adaptor< D, Iterator, SFn > &p1, const step_iterator_adaptor< D, Iterator, SFn > &p2)
template<typename D, typename Iterator, typename SFn>
bool | operator<= (const step_iterator_adaptor< D, Iterator, SFn > &p1, const step_iterator_adaptor< D, Iterator, SFn > &p2)
template<typename D, typename Iterator, typename SFn>
bool | operator== (const step_iterator_adaptor< D, Iterator, SFn > &p1, const step_iterator_adaptor< D, Iterator, SFn > &p2)
template<typename D, typename Iterator, typename SFn>
bool | operator!= (const step_iterator_adaptor< D, Iterator, SFn > &p1, const step_iterator_adaptor< D, Iterator, SFn > &p2)
template<typename Iterator>
std::ptrdiff_t | memunit_step (const memory_based_step_iterator< Iterator > &p)
template<typename Iterator>
std::ptrdiff_t | memunit_distance (const memory_based_step_iterator< Iterator > &p1, const memory_based_step_iterator< Iterator > &p2)
template<typename Iterator>
void | memunit_advance (memory_based_step_iterator< Iterator > &p, std::ptrdiff_t diff)
template<typename Iterator>
memory_based_step_iterator < Iterator > | memunit_advanced (const memory_based_step_iterator< Iterator > &p, std::ptrdiff_t diff)
template<typename Iterator>
std::iterator_traits< Iterator > ::reference | memunit_advanced_ref (const memory_based_step_iterator< Iterator > &p, std::ptrdiff_t diff)
template<typename I>
dynamic_x_step_type< I >::type | make_step_iterator (const I &it, std::ptrdiff_t step)
| Constructs a step iterator from a base iterator and a step.
template<typename I>
dynamic_x_step_type< I >::type | make_step_iterator_impl (const I &it, std::ptrdiff_t step, mpl::false_)
template<typename I>
dynamic_x_step_type< I >::type | make_step_iterator_impl (const I &it, std::ptrdiff_t step, mpl::true_)
template<typename BaseIt>
memory_based_step_iterator < BaseIt > | make_step_iterator_impl (const memory_based_step_iterator< BaseIt > &it, std::ptrdiff_t step, mpl::true_)