DGtal  0.9.3beta
Public Types | Public Member Functions | Private Attributes
DGtal::concepts::CSegmentFactory< T > Struct Template Reference

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

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

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

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

Definition at line 99 of file CSegmentFactory.h.

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

Definition at line 97 of file CSegmentFactory.h.

Member Function Documentation

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

Field Documentation

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

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