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

#include <DGtal/base/CBidirectionalRange.h>

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

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

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

Definition at line 94 of file CBidirectionalRange.h.

Member Function Documentation

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

Field Documentation

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

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