OpenCV  4.0.0
Open Source Computer Vision
Public Member Functions | Public Attributes | Protected Attributes | List of all members
cv::GArg Class Reference

#include "garg.hpp"

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

§ get() [2/2]

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

§ unsafe_get() [1/2]

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

§ unsafe_get() [2/2]

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

Member Data Documentation

§ kind

§ value

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

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