OpenCV  4.5.5-dev
Open Source Computer Vision
Public Member Functions | List of all members
cv::gapi::wip::Data Struct Reference

This aggregate type represents all types which G-API can handle (via variant). More...

#include <opencv2/gapi/garg.hpp>

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

Public Member Functions

template<typename T >
Dataoperator= (const T &t)
 
template<typename T >
Dataoperator= (T &&t)
 
- Public Member Functions inherited from cv::GRunArg
 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
 

Additional Inherited Members

- Public Types inherited from cv::GRunArg
using Meta = std::unordered_map< std::string, util::any >
 
- Static Public Member Functions inherited from cv::util::variant< Ts >
template<typename T >
static constexpr std::size_t index_of ()
 
- Public Attributes inherited from cv::GRunArg
Meta meta
 
- Protected Attributes inherited from cv::util::variant< Ts >
Memory memory
 

Detailed Description

This aggregate type represents all types which G-API can handle (via variant).

It only exists to overcome C++ language limitations (where a using-defined class can't be forward-declared).

Member Function Documentation

◆ operator=() [1/2]

template<typename T >
Data& cv::gapi::wip::Data::operator= ( const T &  t)
inline

◆ operator=() [2/2]

template<typename T >
Data& cv::gapi::wip::Data::operator= ( T &&  t)
inline

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