DGtal  1.4.beta
DGtal::concepts::CSinglePassRange< T > Struct Template Reference

Aim: Defines the concept describing a range. More...

#include <DGtal/base/CSinglePassRange.h>

Inheritance diagram for DGtal::concepts::CSinglePassRange< T >:

Public Types

typedef T::Iterator Iterator
- Public Types inherited from DGtal::concepts::CConstSinglePassRange< T >
typedef T::ConstIterator ConstIterator

Public Member Functions

 BOOST_CONCEPT_ASSERT ((boost_concepts::SinglePassIteratorConcept< Iterator >))
- Public Member Functions inherited from DGtal::concepts::CConstSinglePassRange< T >
 BOOST_CONCEPT_ASSERT ((boost_concepts::SinglePassIteratorConcept< ConstIterator >))
 BOOST_CONCEPT_USAGE (CConstSinglePassRange)
void checkConstConstraints () const

Private Attributes


Detailed Description

template<typename T>
struct DGtal::concepts::CSinglePassRange< T >

Aim: Defines the concept describing a range.

DescriptionDescription of concept 'CSinglePassRange' #

Refinement of CConstSinglePassRange

Provided types:

  • Iterator: the iterator type, a model of iterator concept (see boost concept SinglePassIteratorConcept).


  • x an object of a model of CSinglePassConstRange.
Name Expression Type requirements Return type Precondition Semantics Post condition Complexity
begin x.begin() Iterator
end x.end() Iterator




Template Parameters
Tthe type that is checked. T should be a model of CSinglePassRange.

Definition at line 87 of file CSinglePassRange.h.

Member Typedef Documentation

◆ Iterator

template<typename T >
typedef T::Iterator DGtal::concepts::CSinglePassRange< T >::Iterator

Definition at line 91 of file CSinglePassRange.h.

Member Function Documentation


template<typename T >
DGtal::concepts::CSinglePassRange< T >::BOOST_CONCEPT_ASSERT ( (boost_concepts::SinglePassIteratorConcept< Iterator >)  )


template<typename T >
DGtal::concepts::CSinglePassRange< T >::BOOST_CONCEPT_USAGE ( CSinglePassRange< T >  )

Field Documentation

◆ i

template<typename T >
T DGtal::concepts::CSinglePassRange< T >::i

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