DGtal
1.5.beta
|
Aim: Defines the concept describing a bidirectional const range. More...
#include <DGtal/base/CConstBidirectionalRange.h>
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 | |
T | i |
ConstReverseIterator | it |
Aim: Defines the concept describing a bidirectional const range.
Description of concept 'CConstBidirectionalRange'
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 |
T | the type that is checked. T should be a model of CConstBidirectionalRange. |
Definition at line 89 of file CConstBidirectionalRange.h.
typedef T::ConstReverseIterator DGtal::concepts::CConstBidirectionalRange< T >::ConstReverseIterator |
Definition at line 93 of file CConstBidirectionalRange.h.
DGtal::concepts::CConstBidirectionalRange< T >::BOOST_CONCEPT_ASSERT | ( | (boost_concepts::SinglePassIteratorConcept< ConstReverseIterator >) | ) |
|
inline |
Definition at line 97 of file CConstBidirectionalRange.h.
References DGtal::concepts::CConstBidirectionalRange< T >::checkConstConstraints().
|
inline |
Definition at line 101 of file CConstBidirectionalRange.h.
References DGtal::concepts::CConstBidirectionalRange< T >::i, DGtal::concepts::CConstBidirectionalRange< T >::it, and DGtal::concepts::ConceptUtils::sameType().
Referenced by DGtal::concepts::CConstBidirectionalRange< T >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 108 of file CConstBidirectionalRange.h.
Referenced by DGtal::concepts::CConstBidirectionalRange< T >::checkConstConstraints().
|
private |
Definition at line 109 of file CConstBidirectionalRange.h.
Referenced by DGtal::concepts::CConstBidirectionalRange< T >::checkConstConstraints().