DGtal  0.9.4beta
Public Types | Public Member Functions | Private Attributes
DGtal::concepts::CConstSinglePassRange< T > Struct Template Reference

#include <DGtal/base/CConstSinglePassRange.h>

Inheritance diagram for DGtal::concepts::CConstSinglePassRange< T >:
[legend]
Collaboration diagram for DGtal::concepts::CConstSinglePassRange< T >:
[legend]

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

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

Definition at line 96 of file CConstSinglePassRange.h.

Member Function Documentation

template<typename T >
DGtal::concepts::CConstSinglePassRange< T >::BOOST_CONCEPT_ASSERT ( (boost_concepts::SinglePassIteratorConcept< ConstIterator >)  )
template<typename T >
DGtal::concepts::CConstSinglePassRange< T >::BOOST_CONCEPT_USAGE ( CConstSinglePassRange< T >  )
inline
template<typename T >
void DGtal::concepts::CConstSinglePassRange< T >::checkConstConstraints ( ) const
inline

Field Documentation

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

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