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

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

  • ConstReverseIterator: the const reverse iterator type, a model of const iterator concept.
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()

◆ checkConstConstraints()

Field Documentation

◆ i

◆ it


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