OTB  6.7.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 const &in, ogr::Layer &out) const
 
void operator() (ogr::Layer &inout) 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 281 of file otbGeometriesToGeometriesFilter.h.

Member Typedef Documentation

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

Definition at line 284 of file otbGeometriesToGeometriesFilter.h.

Constructor & Destructor Documentation

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

Definition at line 286 of file otbGeometriesToGeometriesFilter.h.

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

Definition at line 287 of file otbGeometriesToGeometriesFilter.h.

Member Function Documentation

template<class TransformationFunctor , class FieldTransformationPolicy >
otb::TransformationFunctorDispatcher< TransformationFunctor, ogr::Layer, FieldTransformationPolicy >::BOOST_MPL_ASSERT ( (boost::is_same< ogr::Layer, TransformedElementType >)  )
template<class TransformationFunctor , class FieldTransformationPolicy >
void otb::TransformationFunctorDispatcher< TransformationFunctor, ogr::Layer, FieldTransformationPolicy >::operator() ( ogr::Layer const &  in,
ogr::Layer out 
) const
template<class TransformationFunctor , class FieldTransformationPolicy >
void otb::TransformationFunctorDispatcher< TransformationFunctor, ogr::Layer, FieldTransformationPolicy >::operator() ( ogr::Layer inout) const
template<class TransformationFunctor , class FieldTransformationPolicy >
TransformationFunctor* otb::TransformationFunctorDispatcher< TransformationFunctor, ogr::Layer, FieldTransformationPolicy >::operator-> ( )
inline

Definition at line 290 of file otbGeometriesToGeometriesFilter.h.

Member Data Documentation

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

Definition at line 292 of file otbGeometriesToGeometriesFilter.h.


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