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

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

#include <DGtal/base/CBidirectionalRange.h>

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

Public Types

typedef T::ReverseIterator ReverseIterator
 
- Public Types inherited from DGtal::concepts::CConstBidirectionalRange< T >
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< ReverseIterator >))
 
 BOOST_CONCEPT_USAGE (CBidirectionalRange)
 
- Public Member Functions inherited from DGtal::concepts::CConstBidirectionalRange< T >
 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
 
ReverseIterator it
 

Detailed Description

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

Aim: Defines the concept describing a bidirectional range.

Description of concept 'CBidirectionalRange'

Refinement of CConstBidirectionalRange

Provided types

Valid expressions and semantics

Name Expression Type requirements Return type Precondition Semantics Post condition Complexity
rbegin x.rbegin() ReverseIterator
rend x.rend() ReverseIterator
rbegin x.rbegin() const ConstReverseIterator
rend x.rend() const ConstReverseIterator

Invariants

Models

PointVector

Notes

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

Definition at line 90 of file CBidirectionalRange.h.

Member Typedef Documentation

◆ ReverseIterator

template<typename T >
typedef T::ReverseIterator DGtal::concepts::CBidirectionalRange< T >::ReverseIterator

Definition at line 94 of file CBidirectionalRange.h.

Member Function Documentation

◆ BOOST_CONCEPT_ASSERT()

template<typename T >
DGtal::concepts::CBidirectionalRange< T >::BOOST_CONCEPT_ASSERT ( (boost_concepts::SinglePassIteratorConcept< ReverseIterator >)  )

◆ BOOST_CONCEPT_USAGE()

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

Field Documentation

◆ i

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

◆ it

template<typename T >
ReverseIterator DGtal::concepts::CBidirectionalRange< T >::it
private

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