31
#ifndef OPENCV_FLANN_GENERAL_H_
32
#define OPENCV_FLANN_GENERAL_H_
34
#if CV_VERSION_MAJOR <= 4
38
#include "opencv2/core.hpp"
46
FLANNException(
const
char* message) :
cv::Exception(0, message,
"", __FILE__, __LINE__) { }
48
FLANNException(
const
cv::String& message) :
cv::Exception(0, message,
"", __FILE__, __LINE__) { }
53
#define FLANN_THROW(TYPE, STR) throw FLANNException(STR)
57
#define FLANN_THROW(TYPE, STR) CV_Error(TYPE, STR)
Class passed to an error.
Definition:
core.hpp:119
"black box" representation of the file storage associated with a file on disk.
Definition:
aruco.hpp:75