DGtal 2.0.0
Loading...
Searching...
No Matches
DGtal::concepts::CConstBidirectionalRangeFromPoint< T > Struct Template Reference

Aim: refined concept of const bidirectional range with a begin() method from a point. More...

#include <DGtal/base/CConstBidirectionalRangeFromPoint.h>

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

Public Types

typedef T::Point Point
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_USAGE (CConstBidirectionalRangeFromPoint)
void checkConstConstraints () const
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

myX
Point myPoint
T::ConstReverseIterator myB

Detailed Description

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

Aim: refined concept of const bidirectional range with a begin() method from a point.

DescriptionDescription of concept 'CConstBidirectionalRangeFromPoint'

Refinement of CConstBidirectionalRange

Associated types

Notation

Definitions

Valid expressions and semantics

Name Expression Type requirements Return type Precondition Semantics Post condition Complexity
reverse begin rbegin(const Point &aPoint) aPoint of type Point ConstIterator Returns a const reverse iterator on the range first element

Invariants

Models

ImageContainerBySTLVector::Range

Notes

Template Parameters
Tthe type that should be a model of CConstBidirectionalRangeFromPoint.

Definition at line 92 of file CConstBidirectionalRangeFromPoint.h.

Member Typedef Documentation

◆ Point

template<typename T>
typedef T::Point DGtal::concepts::CConstBidirectionalRangeFromPoint< T >::Point

Definition at line 97 of file CConstBidirectionalRangeFromPoint.h.

Member Function Documentation

◆ BOOST_CONCEPT_USAGE()

◆ checkConstConstraints()

template<typename T>
void DGtal::concepts::CConstBidirectionalRangeFromPoint< T >::checkConstConstraints ( ) const
inline

Definition at line 104 of file CConstBidirectionalRangeFromPoint.h.

105 {
106 // const method dummyConst should take parameter myA of type A and return
107 // something of type B
109 }
void sameType(const T &, const T &)

References myB, myPoint, myX, and DGtal::concepts::ConceptUtils::sameType().

Referenced by BOOST_CONCEPT_USAGE().

Field Documentation

◆ myB

template<typename T>
T::ConstReverseIterator DGtal::concepts::CConstBidirectionalRangeFromPoint< T >::myB
private

Definition at line 114 of file CConstBidirectionalRangeFromPoint.h.

Referenced by checkConstConstraints().

◆ myPoint

template<typename T>
Point DGtal::concepts::CConstBidirectionalRangeFromPoint< T >::myPoint
private

Definition at line 113 of file CConstBidirectionalRangeFromPoint.h.

Referenced by checkConstConstraints().

◆ myX

template<typename T>
T DGtal::concepts::CConstBidirectionalRangeFromPoint< T >::myX
private

Definition at line 112 of file CConstBidirectionalRangeFromPoint.h.

Referenced by checkConstConstraints().


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