Struct cv::GCompileArg#

Represents an arbitrary compilation argument. View details

Collaboration diagram for cv::GCompileArg:

Detailed Description#

struct GCompileArg

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.

Constructor & Destructor Documentation#

GCompileArg()#

cv::GCompileArg::GCompileArg()

Python:

GCompileArg()#

template<typename T, typename std::enable_if<!detail::is_compile_arg< T >::value, int >::type>
cv::GCompileArg::GCompileArg(T && t)

Python:

Member Function Documentation#

get()#

template<typename T>
T & cv::GCompileArg::get()

Here is the call graph for this function:

cv::GCompileArg::get Node1 cv::GCompileArg::get Node2 cv::util::any_cast Node1->Node2

cv::GCompileArg::get Node1 cv::GCompileArg::get Node2 cv::util::any_cast Node1->Node2

get()#

template<typename T>
const T & cv::GCompileArg::get()

Here is the call graph for this function:

cv::GCompileArg::get Node1 cv::GCompileArg::get Node2 cv::util::any_cast Node1->Node2

cv::GCompileArg::get Node1 cv::GCompileArg::get Node2 cv::util::any_cast Node1->Node2

serialize()#

void cv::GCompileArg::serialize(cv::gapi::s11n::IOStream & os)

Member Data Documentation#

tag#

std::string cv::GCompileArg::tag

arg#

util::any cv::GCompileArg::arg

serializeF#

std::function< void(cv::gapi::s11n::IOStream &, const GCompileArg &)> cv::GCompileArg::serializeF

Source file#

The documentation for this struct was generated from the following file: