31#if defined(IteratorAdapter_RECURSES)
32#error Recursive header files inclusion detected in IteratorAdapter.h
35#define IteratorAdapter_RECURSES
37#if !defined IteratorAdapter_h
39#define IteratorAdapter_h
44#include "DGtal/base/Common.h"
45#include <boost/iterator/transform_iterator.hpp>
75 template <
typename TIterator,
typename TFunctor,
typename TReturnType =
typename TFunctor::Value>
77 public boost::transform_iterator< TFunctor, TIterator, TReturnType&, TReturnType >
87 typedef boost::transform_iterator< TFunctor, TIterator, TReturnType&, TReturnType >
Parent;
121 Parent::operator=(
static_cast<const Parent&
>(other) );
133 Parent::operator=(other);
155#undef IteratorAdapter_RECURSES
This class adapts any lvalue iterator so that operator* returns a member on the element pointed to by...
Self & operator=(const Parent &other)
BOOST_CONCEPT_ASSERT((boost_concepts::LvalueIteratorConcept< TIterator >))
IteratorAdapter(const Self &other)
boost::transform_iterator< TFunctor, TIterator, TReturnType &, TReturnType > Parent
IteratorAdapter(const TIterator &iter, TFunctor func)
IteratorAdapter(const Parent &other)
Self & operator=(const Self &other)
IteratorAdapter< TIterator, TFunctor, TReturnType > Self
DGtal is the top-level namespace which contains all DGtal functions and types.
Go to http://www.boost.org/doc/libs/1_52_0/libs/iterator/doc/LvalueIteratorConcept....