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

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

#include <DGtal/base/CConstSinglePassRangeFromPoint.h>

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

Public Types

typedef T::Point Point
Public Types inherited from DGtal::concepts::CConstSinglePassRange< T >
typedef T::ConstIterator ConstIterator

Public Member Functions

 BOOST_CONCEPT_USAGE (CConstSinglePassRangeFromPoint)
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
ConstIterartor myB

Detailed Description

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

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

Description of concept 'CConstSinglePassRangeFromPoint'

Refinement of CConstSinglePassRange

Associated types

Notation

Definitions

Valid expressions and semantics

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

Invariants

Models

Notes

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

Definition at line 85 of file CConstSinglePassRangeFromPoint.h.

Member Typedef Documentation

◆ Point

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

Definition at line 90 of file CConstSinglePassRangeFromPoint.h.

Member Function Documentation

◆ BOOST_CONCEPT_USAGE()

◆ checkConstConstraints()

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

Definition at line 97 of file CConstSinglePassRangeFromPoint.h.

98 {
99 // const method dummyConst should take parameter myA of type A and return
100 // something of type B
102 }
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>
ConstIterartor DGtal::concepts::CConstSinglePassRangeFromPoint< T >::myB
private

Definition at line 107 of file CConstSinglePassRangeFromPoint.h.

Referenced by checkConstConstraints().

◆ myPoint

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

Definition at line 106 of file CConstSinglePassRangeFromPoint.h.

Referenced by checkConstConstraints().

◆ myX

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

Definition at line 105 of file CConstSinglePassRangeFromPoint.h.

Referenced by checkConstConstraints().


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