OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Private Attributes | List of all members
otb::TransformationFunctorDispatcher< TransformationFunctor, ogr::Layer, FieldTransformationPolicy > Struct Template Reference

#include <otbGeometriesToGeometriesFilter.h>

+ Inheritance diagram for otb::TransformationFunctorDispatcher< TransformationFunctor, ogr::Layer, FieldTransformationPolicy >:
+ Collaboration diagram for otb::TransformationFunctorDispatcher< TransformationFunctor, ogr::Layer, FieldTransformationPolicy >:

Public Types

typedef TransformationFunctor::TransformedElementType TransformedElementType
 

Public Member Functions

 BOOST_MPL_ASSERT ((boost::is_same< ogr::Layer, TransformedElementType >))
 
void operator() (ogr::Layer &inout) const
 
void operator() (ogr::Layer const &in, ogr::Layer &out) const
 
TransformationFunctor * operator-> ()
 
 TransformationFunctorDispatcher ()
 
 TransformationFunctorDispatcher (TransformationFunctor functor)
 

Private Attributes

TransformationFunctor m_functor
 

Detailed Description

template<class TransformationFunctor, class FieldTransformationPolicy>
struct otb::TransformationFunctorDispatcher< TransformationFunctor, ogr::Layer, FieldTransformationPolicy >

Specialization for ogr::Layer. It simply forwards the call to the internal functor that'll have to do all the transformation work.

If you need to change the number of elements in a layer, use a TransformationFunctor that works on layers. The dispatching mechanism will automatically end up here.

Template Parameters
TransformationFunctoractual transformation functor
Since
OTB v 3.14.0

Definition at line 287 of file otbGeometriesToGeometriesFilter.h.

Member Typedef Documentation

◆ TransformedElementType

template<class TransformationFunctor , class FieldTransformationPolicy >
typedef TransformationFunctor::TransformedElementType otb::TransformationFunctorDispatcher< TransformationFunctor, ogr::Layer, FieldTransformationPolicy >::TransformedElementType

Definition at line 289 of file otbGeometriesToGeometriesFilter.h.

Constructor & Destructor Documentation

◆ TransformationFunctorDispatcher() [1/2]

template<class TransformationFunctor , class FieldTransformationPolicy >
otb::TransformationFunctorDispatcher< TransformationFunctor, ogr::Layer, FieldTransformationPolicy >::TransformationFunctorDispatcher ( )
inline

Definition at line 291 of file otbGeometriesToGeometriesFilter.h.

◆ TransformationFunctorDispatcher() [2/2]

template<class TransformationFunctor , class FieldTransformationPolicy >
otb::TransformationFunctorDispatcher< TransformationFunctor, ogr::Layer, FieldTransformationPolicy >::TransformationFunctorDispatcher ( TransformationFunctor  functor)
inline

Definition at line 294 of file otbGeometriesToGeometriesFilter.h.

Member Function Documentation

◆ BOOST_MPL_ASSERT()

template<class TransformationFunctor , class FieldTransformationPolicy >
otb::TransformationFunctorDispatcher< TransformationFunctor, ogr::Layer, FieldTransformationPolicy >::BOOST_MPL_ASSERT ( (boost::is_same< ogr::Layer, TransformedElementType >)  )

◆ operator()() [1/2]

template<class TransformationFunctor , class FieldTransformationPolicy >
void otb::TransformationFunctorDispatcher< TransformationFunctor, ogr::Layer, FieldTransformationPolicy >::operator() ( ogr::Layer inout) const

◆ operator()() [2/2]

template<class TransformationFunctor , class FieldTransformationPolicy >
void otb::TransformationFunctorDispatcher< TransformationFunctor, ogr::Layer, FieldTransformationPolicy >::operator() ( ogr::Layer const &  in,
ogr::Layer out 
) const

◆ operator->()

template<class TransformationFunctor , class FieldTransformationPolicy >
TransformationFunctor* otb::TransformationFunctorDispatcher< TransformationFunctor, ogr::Layer, FieldTransformationPolicy >::operator-> ( )
inline

Definition at line 299 of file otbGeometriesToGeometriesFilter.h.

Member Data Documentation

◆ m_functor

template<class TransformationFunctor , class FieldTransformationPolicy >
TransformationFunctor otb::TransformationFunctorDispatcher< TransformationFunctor, ogr::Layer, FieldTransformationPolicy >::m_functor
private

Definition at line 306 of file otbGeometriesToGeometriesFilter.h.


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