OpenCV  4.6.0
Open Source Computer Vision
Public Types | Public Member Functions | Public Attributes | List of all members
cv::GRunArg Struct Reference

#include <opencv2/gapi/garg.hpp>

Inheritance diagram for cv::GRunArg:
cv::util::variant< Ts > cv::gapi::wip::Data

Public Types

using Meta = std::unordered_map< std::string, util::any >
 

Public Member Functions

 GRunArg ()
 
 GRunArg (const cv::GRunArg &arg)
 
 GRunArg (cv::GRunArg &&arg)
 
template<typename T >
 GRunArg (const T &t, const Meta &m=Meta{}, typename std::enable_if< detail::in_variant< T, GRunArgBase >::value, int >::type=0)
 
template<typename T >
 GRunArg (T &&t, const Meta &m=Meta{}, typename std::enable_if< detail::in_variant< T, GRunArgBase >::value, int >::type=0)
 
GRunArgoperator= (const GRunArg &arg)
 
GRunArgoperator= (GRunArg &&arg)
 
template<typename T >
auto operator= (const T &t) -> typename std::enable_if< detail::in_variant< T, GRunArgBase >::value, cv::GRunArg >::type &
 
template<typename T >
auto operator= (T &&t) -> typename std::enable_if< detail::in_variant< T, GRunArgBase >::value, cv::GRunArg >::type &
 
- Public Member Functions inherited from cv::util::variant< Ts >
 variant () noexcept
 
 variant (const variant &other)
 
 variant (variant &&other) noexcept
 
template<typename T , typename = util::are_different_t<variant, T>>
 variant (T &&t)
 
 ~variant ()
 
std::size_t index () const noexcept
 
variantoperator= (const variant &rhs)
 
variantoperator= (variant &&rhs) noexcept
 
template<typename T , typename = util::are_different_t<variant, T>>
variantoperator= (T &&t) noexcept
 
template<typename... Ts>
variant< Ts... > & operator= (const variant< Ts... > &rhs)
 
template<typename... Ts>
variant< Ts... > & operator= (variant< Ts... > &&rhs) noexcept
 
template<typename T , typename >
variant< Ts... > & operator= (T &&t) noexcept
 
void swap (variant &rhs) noexcept
 

Public Attributes

Meta meta
 

Additional Inherited Members

- Static Public Member Functions inherited from cv::util::variant< Ts >
template<typename T >
static constexpr std::size_t index_of ()
 
- Protected Attributes inherited from cv::util::variant< Ts >
Memory memory
 

Member Typedef Documentation

◆ Meta

using cv::GRunArg::Meta = std::unordered_map<std::string, util::any>

Constructor & Destructor Documentation

◆ GRunArg() [1/5]

cv::GRunArg::GRunArg ( )

◆ GRunArg() [2/5]

cv::GRunArg::GRunArg ( const cv::GRunArg arg)

◆ GRunArg() [3/5]

cv::GRunArg::GRunArg ( cv::GRunArg &&  arg)

◆ GRunArg() [4/5]

template<typename T >
cv::GRunArg::GRunArg ( const T &  t,
const Meta m = Meta{},
typename std::enable_if< detail::in_variant< T, GRunArgBase >::value, int >::type  = 0 
)
inline

◆ GRunArg() [5/5]

template<typename T >
cv::GRunArg::GRunArg ( T &&  t,
const Meta m = Meta{},
typename std::enable_if< detail::in_variant< T, GRunArgBase >::value, int >::type  = 0 
)
inline

Member Function Documentation

◆ operator=() [1/4]

GRunArg& cv::GRunArg::operator= ( const GRunArg arg)

◆ operator=() [2/4]

GRunArg& cv::GRunArg::operator= ( GRunArg &&  arg)

◆ operator=() [3/4]

template<typename T >
auto cv::GRunArg::operator= ( const T &  t) -> typename std::enable_if< detail::in_variant<T, GRunArgBase>::value, cv::GRunArg>::type&
inline

◆ operator=() [4/4]

template<typename T >
auto cv::GRunArg::operator= ( T &&  t) -> typename std::enable_if< detail::in_variant<T, GRunArgBase>::value, cv::GRunArg>::type&
inline

Member Data Documentation

◆ meta

Meta cv::GRunArg::meta

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