Boost GIL


Classes | Namespaces | Functions
step_iterator.hpp File Reference

pixel step iterator More...

#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.

Classes

class  step_iterator_adaptor< Derived, Iterator, SFn >
 An adaptor over an existing iterator that changes the step unit. More...
 
struct  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) More...
 
class  memory_based_step_iterator< Iterator >
 MEMORY-BASED STEP ITERATOR. More...
 

Namespaces

 boost
 Pixel 2D LOCATOR.
 

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)
 make_step_iterator More...
 
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_)
 

Detailed Description

pixel step iterator

Author
Lubomir Bourdev and Hailin Jin
Adobe Systems Incorporated
Date
2005-2007
Last updated on September 18, 2007