31 #if defined(IteratorAdapter_RECURSES) 32 #error Recursive header files inclusion detected in IteratorAdapter.h 33 #else // defined(IteratorAdapter_RECURSES) 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);
153 #endif // !defined IteratorAdapter_h 155 #undef IteratorAdapter_RECURSES 156 #endif // else defined(IteratorAdapter_RECURSES) Self & operator=(const Self &other)
boost::transform_iterator< TFunctor, TIterator, TReturnType &, TReturnType > Parent
Self & operator=(const Parent &other)
IteratorAdapter(const Parent &other)
Go to http://www.boost.org/doc/libs/1_52_0/libs/iterator/doc/LvalueIteratorConcept.html.
IteratorAdapter(const Self &other)
IteratorAdapter< TIterator, TFunctor, TReturnType > Self
DGtal is the top-level namespace which contains all DGtal functions and types.
IteratorAdapter(const TIterator &iter, TFunctor func)
BOOST_CONCEPT_ASSERT((boost_concepts::LvalueIteratorConcept< TIterator >))
This class adapts any lvalue iterator so that operator* returns a member on the element pointed to by...