OTB  9.0.0
Orfeo Toolbox
Namespaces | Classes | Typedefs | Functions
Geometry Internals
+ Collaboration diagram for Geometry Internals:

Namespaces

 otb::ogr::internal
 

Classes

class  otb::ogr::internal::CppToOGRConverter_trait< T >
 
struct  otb::ogr::internal::CppToOGRConverter_trait< std::string >
 
struct  otb::ogr::internal::CppToOGRConverter_trait< T[N]>
 
struct  otb::ogr::internal::GeometryDeleter
 
class  otb::ogr::internal::MemberContainerGetterPtr< T, ptr_to_function, FinalReturnType >
 
class  otb::ogr::internal::MemberContainerSetterPtr< T, ptr_to_function, ActualParamType >
 
class  otb::ogr::internal::MemberGetterPtr< T, ptr_to_function, FinalReturnType >
 
class  otb::ogr::internal::MemberSetterPtr< T, ptr_to_function, ActualParamType >
 
class  otb::ogr::internal::StringListMemberGetterPtr< FinalReturnType >
 
class  otb::ogr::internal::StringListMemberSetterPtr< ActualParamType >
 
class  otb::ogr::internal::TagDispatchMemberContainerSetterPtr
 
class  otb::ogr::internal::TagDispatchMemberContainerSetterPtr< T, ptr_to_function, ActualParamType, false >
 
class  otb::ogr::internal::TagDispatchMemberContainerSetterPtr< T, ptr_to_function, ActualParamType, true >
 

Typedefs

typedef mpl::map< mpl::pair< int, mpl::int_< OFTInteger > >, mpl::pair< std::vector< int >, mpl::int_< OFTIntegerList > >, mpl::pair< double, mpl::int_< OFTReal > >, mpl::pair< std::vector< double >, mpl::int_< OFTRealList > >, mpl::pair< std::string, mpl::int_< OFTString > >, mpl::pair< char *, mpl::int_< OFTString > >, mpl::pair< char const *, mpl::int_< OFTString > >, mpl::pair< std::vector< std::string >, mpl::int_< OFTStringList > >, mpl::pair< GIntBig, mpl::int_< OFTInteger64 > >, mpl::pair< std::vector< GIntBig >, mpl::int_< OFTInteger64List > > > otb::ogr::internal::FieldType_Map
 
typedef T otb::ogr::internal::CppToOGRConverter_trait< T >::type
 
typedef T * otb::ogr::internal::CppToOGRConverter_trait< T[N]>::type
 
typedef char * otb::ogr::internal::CppToOGRConverter_trait< std::string >::type
 

Functions

static FinalReturnType otb::ogr::internal::MemberGetterPtr< T, ptr_to_function, FinalReturnType >::call (OGRFeature &f, int index)
 
static FinalReturnType otb::ogr::internal::StringListMemberGetterPtr< FinalReturnType >::call (OGRFeature &f, int index)
 
static FinalReturnType otb::ogr::internal::MemberContainerGetterPtr< T, ptr_to_function, FinalReturnType >::call (OGRFeature &f, int index)
 
static void otb::ogr::internal::TagDispatchMemberContainerSetterPtr< T, ptr_to_function, ActualParamType, true >::call (OGRFeature &f, int index, ActualParamType const &container)
 
static void otb::ogr::internal::TagDispatchMemberContainerSetterPtr< T, ptr_to_function, ActualParamType, false >::call (OGRFeature &f, int index, ActualParamType const &container)
 
static void otb::ogr::internal::StringListMemberSetterPtr< ActualParamType >::call (OGRFeature &f, int index, ActualParamType const &container)
 
static void otb::ogr::internal::MemberContainerSetterPtr< T, ptr_to_function, ActualParamType >::call (OGRFeature &f, int index, ActualParamType const &container)
 
static void otb::ogr::internal::MemberSetterPtr< T, ptr_to_function, ActualParamType >::call (OGRFeature &f, int index, T const &value)
 
static T const * otb::ogr::internal::CppToOGRConverter_trait< T[N]>::convert (const T value[N])
 
static char const * otb::ogr::internal::CppToOGRConverter_trait< std::string >::convert (std::string const &value)
 
static T const & otb::ogr::internal::CppToOGRConverter_trait< T >::convert (T const &value)
 
typedef mpl::map< mpl::pair< mpl::int_< OFTInteger >, MemberGetterPtr< int, &OGRFeature::GetFieldAsInteger > >, mpl::pair< mpl::int_< OFTIntegerList >, MemberContainerGetterPtr< int, &OGRFeature::GetFieldAsIntegerList > >, mpl::pair< mpl::int_< OFTReal >, MemberGetterPtr< double, &OGRFeature::GetFieldAsDouble > >, mpl::pair< mpl::int_< OFTRealList >, MemberContainerGetterPtr< double, &OGRFeature::GetFieldAsDoubleList > >, mpl::pair< mpl::int_< OFTString >, MemberGetterPtr< char const *, &OGRFeature::GetFieldAsString, std::string > >, mpl::pair< mpl::int_< OFTStringList >, StringListMemberGetterPtr< std::vector< std::string > > >, mpl::pair< mpl::int_< OFTInteger64 >, MemberGetterPtr< GIntBig, &OGRFeature::GetFieldAsInteger64 > >, mpl::pair< mpl::int_< OFTInteger64List >, MemberContainerGetterPtr< GIntBig, &OGRFeature::GetFieldAsInteger64List > > > otb::ogr::internal::FieldGetters_Map
 
typedef mpl::map< mpl::pair< mpl::int_< OFTInteger >, MemberSetterPtr< int, &OGRFeature::SetField > >, mpl::pair< mpl::int_< OFTIntegerList >, MemberContainerSetterPtr< int, &OGRFeature::SetField > >, mpl::pair< mpl::int_< OFTReal >, MemberSetterPtr< double, &OGRFeature::SetField > >, mpl::pair< mpl::int_< OFTRealList >, MemberContainerSetterPtr< double, &OGRFeature::SetField > >, mpl::pair< mpl::int_< OFTString >, MemberSetterPtr< char const *, &OGRFeature::SetField > >, mpl::pair< mpl::int_< OFTStringList >, StringListMemberSetterPtr< std::vector< std::string > > >, mpl::pair< mpl::int_< OFTInteger64 >, MemberSetterPtr< GIntBig, &OGRFeature::SetField > >, mpl::pair< mpl::int_< OFTInteger64List >, MemberContainerSetterPtr< const GIntBig, &OGRFeature::SetField > > > otb::ogr::internal::FieldSetters_Map
 

Detailed Description

Since
OTB v 3.14.0

Typedef Documentation

◆ FieldGetters_Map

typedef mpl::map<mpl::pair<mpl::int_<OFTInteger>, MemberGetterPtr<int, &OGRFeature::GetFieldAsInteger> >, mpl::pair<mpl::int_<OFTIntegerList>, MemberContainerGetterPtr<int, &OGRFeature::GetFieldAsIntegerList> >, mpl::pair<mpl::int_<OFTReal>, MemberGetterPtr<double, &OGRFeature::GetFieldAsDouble> >, mpl::pair<mpl::int_<OFTRealList>, MemberContainerGetterPtr<double, &OGRFeature::GetFieldAsDoubleList> >, mpl::pair<mpl::int_<OFTString>, MemberGetterPtr<char const*, &OGRFeature::GetFieldAsString, std::string> >, mpl::pair<mpl::int_<OFTStringList>, StringListMemberGetterPtr<std::vector<std::string> > >, mpl::pair<mpl::int_<OFTInteger64>, MemberGetterPtr<GIntBig, &OGRFeature::GetFieldAsInteger64> >, mpl::pair<mpl::int_<OFTInteger64List>, MemberContainerGetterPtr<GIntBig, &OGRFeature::GetFieldAsInteger64List> > > otb::ogr::internal::FieldGetters_Map

Associative map of OGR field types (OGRFieldType) to their associated getters.

Definition at line 362 of file otbOGRFieldWrapper.hxx.

◆ FieldSetters_Map

typedef mpl::map<mpl::pair<mpl::int_<OFTInteger>, MemberSetterPtr<int, &OGRFeature::SetField> >, mpl::pair<mpl::int_<OFTIntegerList>, MemberContainerSetterPtr<int, &OGRFeature::SetField> >, mpl::pair<mpl::int_<OFTReal>, MemberSetterPtr<double, &OGRFeature::SetField> >, mpl::pair<mpl::int_<OFTRealList>, MemberContainerSetterPtr<double, &OGRFeature::SetField> >, mpl::pair<mpl::int_<OFTString>, MemberSetterPtr<char const*, &OGRFeature::SetField > >, mpl::pair<mpl::int_<OFTStringList>, StringListMemberSetterPtr<std::vector<std::string> > >, mpl::pair<mpl::int_<OFTInteger64>, MemberSetterPtr<GIntBig, &OGRFeature::SetField> >, mpl::pair<mpl::int_<OFTInteger64List>, MemberContainerSetterPtr<const GIntBig, &OGRFeature::SetField> > > otb::ogr::internal::FieldSetters_Map

Associative map of OGR field types (OGRFieldType) to their associated setters.

Definition at line 378 of file otbOGRFieldWrapper.hxx.

◆ FieldType_Map

typedef mpl::map<mpl::pair<int, mpl::int_<OFTInteger> >, mpl::pair<std::vector<int>, mpl::int_<OFTIntegerList> >, mpl::pair<double, mpl::int_<OFTReal> >, mpl::pair<std::vector<double>, mpl::int_<OFTRealList> >, mpl::pair<std::string, mpl::int_<OFTString> >, mpl::pair<char*, mpl::int_<OFTString> >, mpl::pair<char const*, mpl::int_<OFTString> >, mpl::pair<std::vector<std::string>, mpl::int_<OFTStringList> >, mpl::pair<GIntBig, mpl::int_<OFTInteger64> >, mpl::pair<std::vector<GIntBig>, mpl::int_<OFTInteger64List> > > otb::ogr::internal::FieldType_Map

Associative map of C++ types to OGR field types (OGRFieldType).

Definition at line 104 of file otbOGRFieldWrapper.hxx.

◆ type [1/3]

template<typename T >
typedef T otb::ogr::internal::CppToOGRConverter_trait< T >::type

Definition at line 392 of file otbOGRFieldWrapper.hxx.

◆ type [2/3]

template<typename T , std::vcl_size_t N>
typedef T* otb::ogr::internal::CppToOGRConverter_trait< T[N]>::type

Definition at line 406 of file otbOGRFieldWrapper.hxx.

◆ type [3/3]

typedef char* otb::ogr::internal::CppToOGRConverter_trait< std::string >::type

Definition at line 419 of file otbOGRFieldWrapper.hxx.

Function Documentation

◆ call() [1/8]

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 132 of file otbOGRFieldWrapper.hxx.

◆ call() [2/8]

template<typename FinalReturnType = std::vector<std::string>>
static FinalReturnType otb::ogr::internal::StringListMemberGetterPtr< FinalReturnType >::call ( OGRFeature &  f,
int  index 
)
inlinestatic

Definition at line 155 of file otbOGRFieldWrapper.hxx.

◆ call() [3/8]

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

Definition at line 213 of file otbOGRFieldWrapper.hxx.

◆ call() [4/8]

template<typename T , void(OGRFeature::*)(int, int, T *) ptr_to_function, typename ActualParamType >
static void otb::ogr::internal::TagDispatchMemberContainerSetterPtr< T, ptr_to_function, ActualParamType, true >::call ( OGRFeature &  f,
int  index,
ActualParamType const &  container 
)
inlinestatic

Definition at line 261 of file otbOGRFieldWrapper.hxx.

◆ call() [5/8]

template<typename T , void(OGRFeature::*)(int, int, T *) ptr_to_function, typename ActualParamType >
static void otb::ogr::internal::TagDispatchMemberContainerSetterPtr< T, ptr_to_function, ActualParamType, false >::call ( OGRFeature &  f,
int  index,
ActualParamType const &  container 
)
inlinestatic

Definition at line 284 of file otbOGRFieldWrapper.hxx.

◆ call() [6/8]

template<typename ActualParamType >
static void otb::ogr::internal::StringListMemberSetterPtr< ActualParamType >::call ( OGRFeature &  f,
int  index,
ActualParamType const &  container 
)
inlinestatic

Definition at line 308 of file otbOGRFieldWrapper.hxx.

◆ call() [7/8]

template<typename T , void(OGRFeature::*)(int, int, T *) ptr_to_function, typename ActualParamType = std::vector<T>>
static void otb::ogr::internal::MemberContainerSetterPtr< T, ptr_to_function, ActualParamType >::call ( OGRFeature &  f,
int  index,
ActualParamType const &  container 
)
inlinestatic

Definition at line 341 of file otbOGRFieldWrapper.hxx.

◆ call() [8/8]

template<typename T , void(OGRFeature::*)(int, T value) ptr_to_function, typename ActualParamType = T>
static void otb::ogr::internal::MemberSetterPtr< T, ptr_to_function, ActualParamType >::call ( OGRFeature &  f,
int  index,
T const &  value 
)
inlinestatic

Definition at line 180 of file otbOGRFieldWrapper.hxx.

◆ convert() [1/3]

template<typename T , std::vcl_size_t N>
static T const* otb::ogr::internal::CppToOGRConverter_trait< T[N]>::convert ( const T  value[N])
inlinestatic

Definition at line 407 of file otbOGRFieldWrapper.hxx.

◆ convert() [2/3]

static char const* otb::ogr::internal::CppToOGRConverter_trait< std::string >::convert ( std::string const &  value)
inlinestatic

Definition at line 420 of file otbOGRFieldWrapper.hxx.

◆ convert() [3/3]

template<typename T >
static T const& otb::ogr::internal::CppToOGRConverter_trait< T >::convert ( T const &  value)
inlinestatic

Definition at line 393 of file otbOGRFieldWrapper.hxx.