31 #ifndef OPENCV_FLANN_GENERAL_H_
32 #define OPENCV_FLANN_GENERAL_H_
34 #include "opencv2/core/version.hpp"
36 #if CV_VERSION_MAJOR <= 4
40 #include "opencv2/core.hpp"
48 FLANNException(
const char* message) :
cv::Exception(0, message,
"", __FILE__, __LINE__) { }
50 FLANNException(
const cv::String& message) :
cv::Exception(0, message,
"", __FILE__, __LINE__) { }
55 #define FLANN_THROW(TYPE, STR) throw FLANNException(STR)
59 #define FLANN_THROW(TYPE, STR) CV_Error(TYPE, STR)
Class passed to an error.
Definition: core.hpp:115
"black box" representation of the file storage associated with a file on disk.
Definition: calib3d.hpp:441