OpenCV  5.0.0-pre
Open Source Computer Vision
Loading...
Searching...
No Matches
Macros
assert.hpp File Reference
#include <opencv2/gapi/util/compiler_hints.hpp>
#include <opencv2/core/base.hpp>
Include dependency graph for assert.hpp:
This graph shows which files directly or indirectly include this file:

Macros

#define GAPI_Assert   CV_Assert
 
#define GAPI_DbgAssert(expr)   GAPI_DbgAssertNoOp(expr)
 
#define GAPI_DbgAssertNoOp(expr)
 
#define GAPI_Error(msg)   CV_Error(cv::Error::StsError, msg)
 

Macro Definition Documentation

◆ GAPI_Assert

#define GAPI_Assert   CV_Assert

◆ GAPI_DbgAssert

#define GAPI_DbgAssert (   expr)    GAPI_DbgAssertNoOp(expr)

◆ GAPI_DbgAssertNoOp

#define GAPI_DbgAssertNoOp (   expr)
Value:
{ \
constexpr bool _assert_tmp = false && (expr); \
cv::util::suppress_unused_warning(_assert_tmp); \
}

◆ GAPI_Error

#define GAPI_Error (   msg)    CV_Error(cv::Error::StsError, msg)