Generic Image Library: MemoryBasedIteratorConcept< Iterator > Struct Template Reference

###  | #  |

Public Member Functions | List of all members
MemoryBasedIteratorConcept< Iterator > Struct Template Reference
Pixel Iterator » Concepts » StepIteratorConcept

Concept of a random-access iterator that can be advanced in memory units (bytes or bits) More...

`#include <pixel_iterator.hpp>`

## Public Member Functions
void | constraints ()

## Detailed Description

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

Concept of a random-access iterator that can be advanced in memory units (bytes or bits)

concept MemoryBasedIteratorConcept<boost_concepts::RandomAccessTraversalConcept Iterator>
{
typename byte_to_memunit<Iterator>; where metafunction<byte_to_memunit<Iterator> >;
std::ptrdiff_t memunit_step(const Iterator&);
std::ptrdiff_t memunit_distance(const Iterator& , const Iterator&);
void memunit_advance(Iterator&, std::ptrdiff_t diff);
Iterator memunit_advanced(const Iterator& p, std::ptrdiff_t diff) { Iterator tmp; memunit_advance(tmp,diff); return tmp; }
Iterator::reference memunit_advanced_ref(const Iterator& p, std::ptrdiff_t diff) { return *memunit_advanced(p,diff); }
};
boost::gil::MemoryBasedIteratorConcept
Concept of a random-access iterator that can be advanced in memory units (bytes or bits)
Definition concepts/pixel_iterator.hpp:237
boost::gil::byte_to_memunit
Definition pixel_iterator.hpp:124

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

- concepts/pixel_iterator.hpp