34#if defined(ConstRangeFromPointAdapter_RECURSES)
35#error Recursive header files inclusion detected in ConstRangeFromPointAdapter.h
38#define ConstRangeFromPointAdapter_RECURSES
40#if !defined ConstRangeFromPointAdapter_h
42#define ConstRangeFromPointAdapter_h
46#include "DGtal/base/ConstAlias.h"
47#include "DGtal/base/BasicFunctors.h"
48#include "DGtal/base/Circulator.h"
49#include "DGtal/base/CConstBidirectionalRangeFromPoint.h"
50#include "DGtal/base/ConstIteratorAdapter.h"
51#include "boost/concept_check.hpp"
85 template <
typename TRange,
typename TFunctor,
typename TReturnType>
94 typedef typename TRange::Point
Point;
124 if (
this != &other )
196 if ( it != this->
end() ) ++it;
218#undef ConstRangeFromPointAdapter_RECURSES
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
This class adapts any iterator so that operator* returns another element than the one pointed to by t...
Aim: model of CConstBidirectionalRangeFromPoint that adapts any bidirectional range and provides serv...
ConstRangeFromPointAdapter & operator=(const ConstRangeFromPointAdapter &other)
const TFunctor * myFunctorPtr
BOOST_CONCEPT_ASSERT((CConstBidirectionalRangeFromPoint< TRange >))
std::reverse_iterator< ConstIterator > ConstReverseIterator
ConstIterator begin() const
const TRange * myRangePtr
ConstIterator begin(const Point &aPoint) const
ConstReverseIterator rend() const
ConstReverseIterator rbegin() const
~ConstRangeFromPointAdapter()
ConstRangeFromPointAdapter(const ConstRangeFromPointAdapter &other)
ConstReverseIterator rbegin(const Point &aPoint) const
ConstRangeFromPointAdapter(ConstAlias< TRange > aRange, ConstAlias< TFunctor > aFunctor)
ConstIteratorAdapter< typename TRange::ConstIterator, TFunctor, TReturnType > ConstIterator
ConstIterator end() const
DGtal is the top-level namespace which contains all DGtal functions and types.