Orfeo Toolbox  4.0
Classes | Typedefs | Functions
otb::ogr::internal Namespace Reference

Classes

class  CppToOGRConverter_trait
 Trait class for converting C++ types into OGR field setter compatible types. More...
 
struct  CppToOGRConverter_trait< std::string >
 Specialisation for C++ std::string. More...
 
struct  CppToOGRConverter_trait< T[N]>
 Specialisation for C static arrays. More...
 
struct  GeometryDeleter
 
struct  IsSetTester
 
class  MemberContainerGetterPtr
 
class  MemberContainerSetterPtr
 
class  MemberGetterPtr
 
class  MemberSetterPtr
 
struct  Printer
 
class  StringListMemberGetterPtr
 
class  StringListMemberSetterPtr
 
class  TagDispatchMemberContainerSetterPtr
 Dispatcher function for the Field Setter. The container-field setters from OGR API have a C API. This dispatcher will check whether the parameter container has a contiguous storage. If so it will directly inject the address of the first element of the contiguous container in the OGR C API. If not, the container will be converted into a container with contiguous storage. More...
 
class  TagDispatchMemberContainerSetterPtr< T, ptr_to_function, ActualParamType, false >
 
class  TagDispatchMemberContainerSetterPtr< T, ptr_to_function, ActualParamType, true >
 

Typedefs

typedef map< pair< int_
< OFTInteger >
, MemberGetterPtr< int,&OGRFeature::GetFieldAsInteger >
>, pair< int_< OFTIntegerList >
, MemberContainerGetterPtr
< int,&OGRFeature::GetFieldAsIntegerList >
>, pair< int_< OFTReal >
, MemberGetterPtr< double,&OGRFeature::GetFieldAsDouble >
>, pair< int_< OFTRealList >
, MemberContainerGetterPtr
< double,&OGRFeature::GetFieldAsDoubleList >
>, pair< int_< OFTString >
, MemberGetterPtr< char const
*,&OGRFeature::GetFieldAsString,
std::string > >, pair< int_
< OFTStringList >
, StringListMemberGetterPtr
< std::vector< std::string > > > > 
FieldGetters_Map
 
typedef map< pair< int_
< OFTInteger >
, MemberSetterPtr< int,&OGRFeature::SetField >
>, pair< int_< OFTIntegerList >
, MemberContainerSetterPtr
< int,&OGRFeature::SetField >
>, pair< int_< OFTReal >
, MemberSetterPtr< double,&OGRFeature::SetField >
>, pair< int_< OFTRealList >
, MemberContainerSetterPtr
< double,&OGRFeature::SetField >
>, pair< int_< OFTString >
, MemberSetterPtr< char const
*,&OGRFeature::SetField >
>, pair< int_< OFTStringList >
, StringListMemberSetterPtr
< std::vector< std::string > > > > 
FieldSetters_Map
 
typedef boost::mpl::map< pair
< int, int_< OFTInteger >
>, pair< std::vector< int >
, int_< OFTIntegerList >
>, pair< double, int_
< OFTReal > >, pair
< std::vector< double >, int_
< OFTRealList > >, pair
< std::string, int_< OFTString >
>, pair< char *, int_
< OFTString > >, pair< char
const *, int_< OFTString >
>, pair< std::vector
< std::string >, int_
< OFTStringList > > > 
FieldType_Map
 

Functions

 BOOST_MPL_ASSERT ((boost::is_array< int[42]>))
 
 BOOST_MPL_ASSERT ((boost::is_same< int, CppToOGRConverter_trait< int >::type >))
 
 BOOST_MPL_ASSERT ((boost::is_same< char *, CppToOGRConverter_trait< char[8]>::type >))
 
 BOOST_MPL_ASSERT_NOT ((boost::is_array< boost::array< int, 42 > >))
 
 BOOST_MPL_ASSERT_NOT ((boost::is_array< std::vector< int > >))
 
 BOOST_MPL_ASSERT_NOT ((boost::is_same< char *, char[8] >))
 
 BOOST_STATIC_ASSERT (!(boost::is_same< MemberGetterPtr< int,&OGRFeature::GetFieldAsInteger >, MemberGetterPtr< double,&OGRFeature::GetFieldAsDouble > >::value))
 
 BOOST_STATIC_ASSERT (!(boost::is_same< int, float >::value))
 
 BOOST_STATIC_ASSERT (!(boost::is_same< int_< OFTReal >::type, int_< OFTString >::type >::value))
 
 BOOST_STATIC_ASSERT (!(boost::is_same< at< FieldType_Map, float >, void_ >::value))
 
 BOOST_STATIC_ASSERT (!(boost::is_same< at< FieldType_Map, double >, int_< OFTReal > >::value))
 
 BOOST_STATIC_ASSERT (!(boost::is_same< at< FieldType_Map, double >::type, at< FieldType_Map, int >::type >::value))
 
 BOOST_STATIC_ASSERT ((at< FieldType_Map, double >::type::value!=at< FieldType_Map, int >::type::value))
 
 BOOST_STATIC_ASSERT (!(boost::is_same< at< FieldGetters_Map, int_< OFTReal > >, at< FieldGetters_Map, int_< OFTString > > >::value))
 
 BOOST_STATIC_ASSERT ((boost::is_contiguous< int * >::value))
 
 BOOST_STATIC_ASSERT ((boost::is_contiguous< int[42]>::value))
 
 BOOST_STATIC_ASSERT ((boost::is_contiguous< boost::array< int, 42 > >::value))
 
 BOOST_STATIC_ASSERT ((boost::is_contiguous< std::vector< int > >::value))
 
template<typename DataType >
DataType & getRef (typename itk::SmartPointer< DataType > const &ds)
 
otb::ogr::Layer const & getRef (otb::ogr::Layer const &layer)
 
otb::ogr::LayergetRef (otb::ogr::Layer &layer)
 

Detailed Description

Namespace used to host internal meta-prog definitions.

Since
OTB v 3.14.0

Function Documentation

otb::ogr::internal::BOOST_MPL_ASSERT ( (boost::is_array< int[42]>)  )
otb::ogr::internal::BOOST_MPL_ASSERT ( (boost::is_same< int, CppToOGRConverter_trait< int >::type >)  )
otb::ogr::internal::BOOST_MPL_ASSERT ( (boost::is_same< char *, CppToOGRConverter_trait< char[8]>::type >)  )
otb::ogr::internal::BOOST_MPL_ASSERT_NOT ( (boost::is_array< boost::array< int, 42 > >)  )
otb::ogr::internal::BOOST_MPL_ASSERT_NOT ( (boost::is_array< std::vector< int > >)  )
otb::ogr::internal::BOOST_MPL_ASSERT_NOT ( (boost::is_same< char *, char[8] >)  )
otb::ogr::internal::BOOST_STATIC_ASSERT ( boost::is_same< MemberGetterPtr< int,&OGRFeature::GetFieldAsInteger >, MemberGetterPtr< double,&OGRFeature::GetFieldAsDouble > >::value)
otb::ogr::internal::BOOST_STATIC_ASSERT ( boost::is_same< int, float >::value)
otb::ogr::internal::BOOST_STATIC_ASSERT ( boost::is_same< int_< OFTReal >::type, int_< OFTString >::type >::value)
otb::ogr::internal::BOOST_STATIC_ASSERT ( boost::is_same< at< FieldType_Map, float >, void_ >::value)
otb::ogr::internal::BOOST_STATIC_ASSERT ( boost::is_same< at< FieldType_Map, double >, int_< OFTReal > >::value)
otb::ogr::internal::BOOST_STATIC_ASSERT ( boost::is_same< at< FieldType_Map, double >::type, at< FieldType_Map, int >::type >::value)
otb::ogr::internal::BOOST_STATIC_ASSERT ( (at< FieldType_Map, double >::type::value!=at< FieldType_Map, int >::type::value)  )
otb::ogr::internal::BOOST_STATIC_ASSERT ( boost::is_same< at< FieldGetters_Map, int_< OFTReal > >, at< FieldGetters_Map, int_< OFTString > > >::value)
otb::ogr::internal::BOOST_STATIC_ASSERT ( (boost::is_contiguous< int * >::value)  )
otb::ogr::internal::BOOST_STATIC_ASSERT ( (boost::is_contiguous< int[42]>::value)  )
otb::ogr::internal::BOOST_STATIC_ASSERT ( (boost::is_contiguous< boost::array< int, 42 > >::value)  )
otb::ogr::internal::BOOST_STATIC_ASSERT ( (boost::is_contiguous< std::vector< int > >::value)  )

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