Aim: Defines the concept describing a segment ie. a valid and not empty subrange, which can construct instances of its own type or of derived type.
More...
template<typename T>
struct DGtal::concepts::CSegmentFactory< T >
Aim: Defines the concept describing a segment ie. a valid and not empty subrange, which can construct instances of its own type or of derived type.
Description of concept 'CSegmentFactory'
Refinement of CSegment
Associated types
- Self, its own type
- Reverse, same as Self but using std::reverse_iterator<Self::ConstIterator> instead of Self::ConstIterator as the underlying iterator
Notation
Definitions
Valid expressions and semantics
Name | Expression | Type requirements | Return type | Precondition | Semantics | Post condition | Complexity |
getSelf method | x.getSelf() | | X::Self | | returns an instance of Self, which is constructed from the same input parameters used to construct x (if any) | | depends on the internal structures defined in x |
conversion | x.getReverse() | | X::Reverse | | returns an instance of Reverse, which is constructed from the same input parameters used to construct x (if any) | | depends on the internal structures defined in x |
Invariants
Models
Notes
- Template Parameters
-
Definition at line 92 of file CSegmentFactory.h.