Represents an arbitrary compilation argument.
More...
#include <opencv2/gapi/gcommon.hpp>
Represents an arbitrary compilation argument.
Any value can be wrapped into cv::GCompileArg, but only known ones (to G-API or its backends) can be interpreted correctly.
Normally objects of this class shouldn't be created manually, use cv::compile_args() function which automatically wraps everything passed in (a variadic template parameter pack) into a vector of cv::GCompileArg objects.
◆ GCompileArg() [1/2]
cv::GCompileArg::GCompileArg |
( |
| ) |
|
|
default |
◆ GCompileArg() [2/2]
cv::GCompileArg::GCompileArg |
( |
T && |
t | ) |
|
|
inlineexplicit |
◆ get() [1/2]
template<typename T >
T & cv::GCompileArg::get |
( |
| ) |
|
|
inline |
◆ get() [2/2]
template<typename T >
const T & cv::GCompileArg::get |
( |
| ) |
const |
|
inline |
◆ serialize()
◆ tag
std::string cv::GCompileArg::tag |
The documentation for this struct was generated from the following file: