Go to the source code of this file.
|
template<template< typename > class Index, typename Distance , typename T > |
NNIndex< Distance > * | rtflann::create_index_ (rtflann::Matrix< T > data, const rtflann::IndexParams ¶ms, const Distance &distance, typename disable_if< valid_combination< Index, Distance, T >::value, void >::type *=0) |
|
template<template< typename > class Index, typename Distance , typename T > |
NNIndex< Distance > * | rtflann::create_index_ (rtflann::Matrix< T > data, const rtflann::IndexParams ¶ms, const Distance &distance, typename enable_if< valid_combination< Index, Distance, T >::value, void >::type *=0) |
|
template<typename Distance > |
NNIndex< Distance > * | rtflann::create_index_by_type (const flann_algorithm_t index_type, const Matrix< typename Distance::ElementType > &dataset, const IndexParams ¶ms, const Distance &distance) |
|
◆ HAS_MEMBER
#define HAS_MEMBER |
( |
|
member | ) |
|
Value: template<typename T> \
struct member { \
typedef char No; \
typedef long Yes; \
template<typename C>
static Yes
test(
typename C::member* ); \
template<typename C>
static No
test( ... ); \
enum {
value =
sizeof (test<T>(0))==
sizeof(Yes) }; \
};
Definition at line 105 of file all_indices.h.