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

Iterator adaptor is a forward iterator adapting another forward iterator. More...

#include <gil_concept.hpp>

Public Member Functions

void constraints ()
 

Public Attributes

Iterator it
 

Detailed Description

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

Iterator adaptor is a forward iterator adapting another forward iterator.

In addition to GIL iterator requirements, GIL iterator adaptors must provide the following metafunctions:

  • is_iterator_adaptor<Iterator>: Returns mpl::true_
  • iterator_adaptor_get_base<Iterator>: Returns the base iterator type
  • iterator_adaptor_rebind<Iterator,NewBase>: Replaces the base iterator with the new one

The adaptee can be obtained from the iterator via the "base()" method.

concept IteratorAdaptorConcept<boost_concepts::ForwardTraversalConcept Iterator> {
typename iterator_adaptor_get_base<Iterator>;
where Metafunction<iterator_adaptor_get_base<Iterator> >;
typename another_iterator;
where boost_concepts::ForwardTraversalConcept<another_iterator>;
const iterator_adaptor_get_base<Iterator>::type& Iterator::base() const;
};

Member Function Documentation

Member Data Documentation

template<typename Iterator >
Iterator boost::gil::IteratorAdaptorConcept< Iterator >::it

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