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

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

#include <DGtal/base/CConstBidirectionalRange.h>

Inheritance diagram for DGtal::concepts::CConstBidirectionalRange< T >:
DGtal::concepts::CConstSinglePassRange< T > DGtal::concepts::CBidirectionalRange< T > DGtal::concepts::CConstBidirectionalRangeFromPoint< T > DGtal::concepts::CBidirectionalRangeFromPoint< T > DGtal::concepts::CBidirectionalRangeFromPoint< T >

Public Types

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

Public Member Functions

 BOOST_CONCEPT_ASSERT ((boost_concepts::SinglePassIteratorConcept< ConstReverseIterator >))
 
 BOOST_CONCEPT_USAGE (CConstBidirectionalRange)
 
void checkConstConstraints () const
 
- 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
 
ConstReverseIterator it
 

Detailed Description

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

Aim: Defines the concept describing a bidirectional const range.

Description of concept 'CConstBidirectionalRange'

Refinement of

CConstSinglePassRange

Provided types

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

Invariants

Models

Notes

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

Definition at line 89 of file CConstBidirectionalRange.h.

Member Typedef Documentation

◆ ConstReverseIterator

template<typename T >
typedef T::ConstReverseIterator DGtal::concepts::CConstBidirectionalRange< T >::ConstReverseIterator

Definition at line 93 of file CConstBidirectionalRange.h.

Member Function Documentation

◆ BOOST_CONCEPT_ASSERT()

◆ BOOST_CONCEPT_USAGE()

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

◆ checkConstConstraints()

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

Field Documentation

◆ i

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

◆ it

template<typename T >
ConstReverseIterator DGtal::concepts::CConstBidirectionalRange< T >::it
private

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