DGtal 1.3.0
|
Aim: Defines the concept describing a bidirectional range. More...
#include <DGtal/base/CBidirectionalRange.h>
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 | |
T | i |
ReverseIterator | it |
Aim: Defines the concept describing a bidirectional range.
Description of concept 'CBidirectionalRange'
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 |
T | the type that is checked. T should be a model of CBidirectionalRange. |
Definition at line 90 of file CBidirectionalRange.h.
typedef T::ReverseIterator DGtal::concepts::CBidirectionalRange< T >::ReverseIterator |
Definition at line 94 of file CBidirectionalRange.h.
DGtal::concepts::CBidirectionalRange< T >::BOOST_CONCEPT_ASSERT | ( | (boost_concepts::SinglePassIteratorConcept< ReverseIterator >) | ) |
|
inline |
Definition at line 98 of file CBidirectionalRange.h.
References DGtal::concepts::CBidirectionalRange< T >::i, DGtal::concepts::CBidirectionalRange< T >::it, and DGtal::concepts::ConceptUtils::sameType().
|
private |
Definition at line 105 of file CBidirectionalRange.h.
Referenced by DGtal::concepts::CBidirectionalRange< T >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 106 of file CBidirectionalRange.h.
Referenced by DGtal::concepts::CBidirectionalRange< T >::BOOST_CONCEPT_USAGE().