OpenCV  4.1.1-pre
Open Source Computer Vision
Looking for a C++ dev who knows OpenCV?
I'm looking for work. Hire me!
cv::GArg Class Reference

#include <opencv2/gapi/garg.hpp>

Collaboration diagram for cv::GArg:

Public Member Functions

 GArg ()
 
template<typename T , typename std::enable_if<!detail::is_garg< T >::value, int >::type = 0>
 GArg (const T &t)
 
template<typename T , typename std::enable_if<!detail::is_garg< T >::value, int >::type = 0>
 GArg (T &&t)
 
template<typename T >
T & get ()
 
template<typename T >
const T & get () const
 
template<typename T >
T & unsafe_get ()
 
template<typename T >
const T & unsafe_get () const
 

Public Attributes

detail::ArgKind kind = detail::ArgKind::OPAQUE
 

Protected Attributes

util::any value
 

Constructor & Destructor Documentation

◆ GArg() [1/3]

cv::GArg::GArg ( )
inline

◆ GArg() [2/3]

template<typename T , typename std::enable_if<!detail::is_garg< T >::value, int >::type = 0>
cv::GArg::GArg ( const T &  t)
inlineexplicit

◆ GArg() [3/3]

template<typename T , typename std::enable_if<!detail::is_garg< T >::value, int >::type = 0>
cv::GArg::GArg ( T &&  t)
inlineexplicit

Member Function Documentation

◆ get() [1/2]

template<typename T >
T& cv::GArg::get ( )
inline

References cv::util::any_cast().

Here is the call graph for this function:

◆ get() [2/2]

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

References cv::util::any_cast().

Here is the call graph for this function:

◆ unsafe_get() [1/2]

template<typename T >
T& cv::GArg::unsafe_get ( )
inline

References cv::util::unsafe_any_cast().

Here is the call graph for this function:

◆ unsafe_get() [2/2]

template<typename T >
const T& cv::GArg::unsafe_get ( ) const
inline

References cv::util::unsafe_any_cast().

Here is the call graph for this function:

Member Data Documentation

◆ kind

◆ value

util::any cv::GArg::value
protected

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