DGtal  1.4.beta
DGtal::IteratorCompletionTraits< TDerived > Class Template Reference

Aim: Traits that must be specialized for each IteratorCompletion derived class. More...

Detailed Description

template<typename TDerived>
class DGtal::IteratorCompletionTraits< TDerived >

Aim: Traits that must be specialized for each IteratorCompletion derived class.

This traits must shown:

  • a typedef Iterator corresponding to the derived class mutable random-access iterator.
  • a typedef ConstIterator corresponding to the derived class constant random-access iterator.
  • a class DistanceFunctor, constructible from a pointer to the derived class and that behaves like a distance functor from the begin() iterator to a given point. (see SimpleRandomAccessRangeFromPoint and SimpleRandomAccessConstRangeFromPoint)
See also
IteratorCompletion
the specialization of IteratorCompletionTraits for ArrayImageView.
Template Parameters
TDerivedType of the derived class (CRTP).

Definition at line 66 of file IteratorCompletion.h.


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