33#if defined(SimpleRandomAccessConstRangeFromPoint_RECURSES)
34#error Recursive header files inclusion detected in SimpleRandomAccessConstRangeFromPoint.h
37#define SimpleRandomAccessConstRangeFromPoint_RECURSES
39#if !defined SimpleRandomAccessConstRangeFromPoint_h
41#define SimpleRandomAccessConstRangeFromPoint_h
45#include "DGtal/base/BasicFunctors.h"
46#include "DGtal/base/Circulator.h"
47#include "DGtal/base/ConstIteratorAdapter.h"
48#include "DGtal/base/CConstBidirectionalRangeFromPoint.h"
49#include "boost/concept_check.hpp"
71 template <
typename TConstIterator,
typename DistanceFunctor>
84 typedef typename DistanceFunctor::Point
Point;
119 if (
this != &other )
151 out <<
"[SimpleRandomAccessConstRangeFromPoint]" << std::endl;
153 std::copy (
myBegin,
myEnd, std::ostream_iterator<Value> ( out,
", " ) );
162 return "SimpleRandomAccessConstRangeFromPoint";
258 ConstReverseCirculator
rc()
const
272#undef SimpleRandomAccessConstRangeFromPoint_RECURSES
Aim: Provides an adapter for classical iterators that can iterate through the underlying data structu...
Aim: model of CConstBidirectionalRangeFromPoint that adapts any range of elements bounded by two iter...
ConstReverseIterator rbegin(const Point &aPoint) const
~SimpleRandomAccessConstRangeFromPoint()
ConstIterator begin() const
DistanceFunctor myDistance
SimpleRandomAccessConstRangeFromPoint(const TConstIterator &itb, const TConstIterator &ite, const DistanceFunctor &aDistance)
ConstCirculator c() const
ConstReverseIterator rbegin() const
ConstIterator end() const
std::reverse_iterator< ConstCirculator > ConstReverseCirculator
DistanceFunctor::Point Point
SimpleRandomAccessConstRangeFromPoint & operator=(const SimpleRandomAccessConstRangeFromPoint &other)
std::string className() const
BOOST_CONCEPT_ASSERT((boost::UnaryFunction< DistanceFunctor, typename DistanceFunctor::Difference, typename DistanceFunctor::Point >))
Circulator< ConstIterator > ConstCirculator
std::reverse_iterator< ConstIterator > ConstReverseIterator
ConstReverseCirculator rc() const
TConstIterator ConstIterator
BOOST_CONCEPT_ASSERT((boost::RandomAccessIterator< TConstIterator >))
ConstIterator begin(const Point &aPoint) const
ConstReverseIterator rend() const
SimpleRandomAccessConstRangeFromPoint(const SimpleRandomAccessConstRangeFromPoint &other)
void selfDisplay(std::ostream &out) const
DGtal is the top-level namespace which contains all DGtal functions and types.
Go to http://www.sgi.com/tech/stl/RandomAccessIterator.html.
Go to http://www.sgi.com/tech/stl/UnaryFunction.html.