|
DGtal 2.0.0
|
Aim: Defines the concept describing a const single pass range. More...
#include <DGtal/base/CConstSinglePassRange.h>
Public Types | |
| typedef T::ConstIterator | ConstIterator |
Public Member Functions | |
| BOOST_CONCEPT_ASSERT ((boost_concepts::SinglePassIteratorConcept< ConstIterator >)) | |
| BOOST_CONCEPT_USAGE (CConstSinglePassRange) | |
| void | checkConstConstraints () const |
Private Attributes | |
| T | i |
| ConstIterator | it |
Aim: Defines the concept describing a const single pass range.
Description of concept 'CConstSinglePassRange'
| T | the type that should be a model of CConstSinglePassRange. |
| Name | Expression | Type requirements | Return type | Precondition | Semantics | Post condition | Complexity |
|---|---|---|---|---|---|---|---|
| begin of range | x.begin() | ConstIterator | returns a forward iterator on the beginning of the range | ||||
| end of range | x.end() | ConstIterator | returns a forward iterator after the end of the range |
Definition at line 92 of file CConstSinglePassRange.h.
| typedef T::ConstIterator DGtal::concepts::CConstSinglePassRange< T >::ConstIterator |
Definition at line 96 of file CConstSinglePassRange.h.
| DGtal::concepts::CConstSinglePassRange< T >::BOOST_CONCEPT_ASSERT | ( | (boost_concepts::SinglePassIteratorConcept< ConstIterator >) | ) |
|
inline |
Definition at line 100 of file CConstSinglePassRange.h.
References checkConstConstraints().
|
inline |
Definition at line 104 of file CConstSinglePassRange.h.
References i, it, and DGtal::concepts::ConceptUtils::sameType().
Referenced by BOOST_CONCEPT_USAGE().
|
private |
Definition at line 111 of file CConstSinglePassRange.h.
Referenced by checkConstConstraints().
|
private |
Definition at line 112 of file CConstSinglePassRange.h.
Referenced by DGtal::concepts::CSinglePassRange< T >::BOOST_CONCEPT_USAGE(), and checkConstConstraints().