DGtal 1.3.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes
DGtal::concepts::CSegmentFactory< T > Struct Template Reference

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...

#include <DGtal/geometry/curves/CSegmentFactory.h>

Inheritance diagram for DGtal::concepts::CSegmentFactory< T >:
DGtal::concepts::CSegment< T > boost::DefaultConstructible< T > boost::CopyConstructible< T > boost::Assignable< T > boost::EqualityComparable< T > DGtal::concepts::CIncrementalSegmentComputer< T > DGtal::concepts::CForwardSegmentComputer< T > DGtal::concepts::CBidirectionalSegmentComputer< T > DGtal::concepts::CDynamicSegmentComputer< T > DGtal::concepts::CDynamicBidirectionalSegmentComputer< T > DGtal::concepts::CDynamicBidirectionalSegmentComputer< T >

Public Types

typedef T::Self Self
 
typedef T::Reverse Reverse
 
- Public Types inherited from DGtal::concepts::CSegment< T >
typedef T::ConstIterator ConstIterator
 

Public Member Functions

 BOOST_STATIC_ASSERT ((boost::is_same< T, Self >::value))
 
 BOOST_CONCEPT_USAGE (CSegmentFactory)
 
- Public Member Functions inherited from DGtal::concepts::CSegment< T >
 BOOST_CONCEPT_USAGE (CSegment)
 

Private Attributes

myT
 
Reverse myRT
 

Detailed Description

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

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
Tthe type that should be a model of CSegmentFactory.

Definition at line 92 of file CSegmentFactory.h.

Member Typedef Documentation

◆ Reverse

template<typename T >
typedef T::Reverse DGtal::concepts::CSegmentFactory< T >::Reverse

Definition at line 99 of file CSegmentFactory.h.

◆ Self

template<typename T >
typedef T::Self DGtal::concepts::CSegmentFactory< T >::Self

Definition at line 97 of file CSegmentFactory.h.

Member Function Documentation

◆ BOOST_CONCEPT_USAGE()

template<typename T >
DGtal::concepts::CSegmentFactory< T >::BOOST_CONCEPT_USAGE ( CSegmentFactory< T >  )
inline

◆ BOOST_STATIC_ASSERT()

template<typename T >
DGtal::concepts::CSegmentFactory< T >::BOOST_STATIC_ASSERT ( (boost::is_same< T, Self >::value)  )

Field Documentation

◆ myRT

template<typename T >
Reverse DGtal::concepts::CSegmentFactory< T >::myRT
private

◆ myT

template<typename T >
T DGtal::concepts::CSegmentFactory< T >::myT
private

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