Orfeo Toolbox  4.0
Static Public Member Functions | List of all members
otb::ogr::internal::MemberGetterPtr< T, ptr_to_function, FinalReturnType > Class Template Reference

Static Public Member Functions

static FinalReturnType call (OGRFeature &f, int index)
 

Detailed Description

template<typename T, T(OGRFeature::*)(int) ptr_to_function, typename FinalReturnType = T>
class otb::ogr::internal::MemberGetterPtr< T, ptr_to_function, FinalReturnType >

Type for hosting simple member-function pointers to field getters.

Template Parameters
Ttype of field according to OGR API.
ptr_to_functionmember function pointer to a field getter from OGRFeature.
FinalReturnTypetype of the field according to OTB wrappers (default = T)

Definition at line 103 of file otbOGRFieldWrapper.txx.

Member Function Documentation

template<typename T , T(OGRFeature::*)(int) ptr_to_function, typename FinalReturnType = T>
static FinalReturnType otb::ogr::internal::MemberGetterPtr< T, ptr_to_function, FinalReturnType >::call ( OGRFeature &  f,
int  index 
)
inlinestatic

Definition at line 106 of file otbOGRFieldWrapper.txx.


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

Generated at Sat Mar 8 2014 19:09:06 for Orfeo Toolbox with doxygen 1.8.3.1