DGtal  1.5.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 >:
[legend]

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 >))
 
 BOOST_CONCEPT_USAGE (CSinglePassRange)
 
- 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

i
 

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).

Notation:

  • 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

Invariants

Models

Notes

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

◆ BOOST_CONCEPT_ASSERT()

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

◆ BOOST_CONCEPT_USAGE()

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

Field Documentation

◆ i

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

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