OpenCV 4.12.0
開源計算機視覺
載入中...
搜尋中...
無匹配項
cv::GCompileArg 結構體參考

表示任意編譯引數。 更多...

#include <opencv2/gapi/gcommon.hpp>

cv::GCompileArg 的協作圖

公共成員函式

 GCompileArg ()=default
 
template<typename T , typename std::enable_if<!detail::is_compile_arg< T >::value, int >::type = 0>
 GCompileArg (T &&t)
 
template<typename T >
T & get ()
 
template<typename T >
const T & get () const
 
void serialize (cv::gapi::s11n::IOStream &os) const
 

公共屬性

std::string tag
 

詳細描述

表示任意編譯引數。

任何值都可以包裝到 cv::GCompileArg 中,但只有 G-API 或其後端已知的引數才能被正確解釋。

通常不應手動建立此類的物件,請使用 cv::compile_args() 函式,它會自動將傳入的所有內容(可變模板引數包)包裝到 cv::GCompileArg 物件的向量中。

建構函式 & 解構函式文件

◆ GCompileArg() [1/2]

cv::GCompileArg::GCompileArg ( )
default

◆ GCompileArg() [2/2]

template<typename T , typename std::enable_if<!detail::is_compile_arg< T >::value, int >::type = 0>
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()

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

成員資料文件

◆ tag

std::string cv::GCompileArg::tag

此結構體的文件由以下檔案生成