DGtal 1.3.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes
DGtal::concepts::CConstSinglePassRange< T > Struct Template Reference

Aim: Defines the concept describing a const single pass range. More...

#include <DGtal/base/CConstSinglePassRange.h>

Inheritance diagram for DGtal::concepts::CConstSinglePassRange< T >:
DGtal::concepts::CConstSinglePassRangeFromPoint< T, Value > DGtal::concepts::CConstBidirectionalRange< T > DGtal::concepts::CConstSinglePassRangeFromPoint< T > DGtal::concepts::CDomain< T > DGtal::concepts::CPositiveIrreducibleFraction< T > DGtal::concepts::CSinglePassRange< T > DGtal::concepts::CSinglePassRangeWithWritableIterator< T, Value > DGtal::concepts::CUndirectedSimpleGraph< T >

Public Types

typedef T::ConstIterator ConstIterator
 

Public Member Functions

 BOOST_CONCEPT_ASSERT ((boost_concepts::SinglePassIteratorConcept< ConstIterator >))
 
 BOOST_CONCEPT_USAGE (CConstSinglePassRange)
 
void checkConstConstraints () const
 

Private Attributes

i
 
ConstIterator it
 

Detailed Description

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

Aim: Defines the concept describing a const single pass range.

Description of concept 'CConstSinglePassRange'

Template Parameters
Tthe type that should be a model of CConstSinglePassRange.

Refinement of

Associated types

Notation

Valid expressions and semantics

Name Expression Type requirements Return type Precondition Semantics Post condition Complexity
begin of range x.begin() ConstIterator returns a forward iterator on the beginning of the range
end of range x.end() ConstIterator returns a forward iterator after the end of the range

Invariants

Models

Definition at line 92 of file CConstSinglePassRange.h.

Member Typedef Documentation

◆ ConstIterator

template<typename T >
typedef T::ConstIterator DGtal::concepts::CConstSinglePassRange< T >::ConstIterator

Definition at line 96 of file CConstSinglePassRange.h.

Member Function Documentation

◆ BOOST_CONCEPT_ASSERT()

template<typename T >
DGtal::concepts::CConstSinglePassRange< T >::BOOST_CONCEPT_ASSERT ( (boost_concepts::SinglePassIteratorConcept< ConstIterator >)  )

◆ BOOST_CONCEPT_USAGE()

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

◆ checkConstConstraints()

template<typename T >
void DGtal::concepts::CConstSinglePassRange< T >::checkConstConstraints ( ) const
inline

Field Documentation

◆ i

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

◆ it

template<typename T >
ConstIterator DGtal::concepts::CConstSinglePassRange< T >::it
private

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