OpenCV  4.4.0
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::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::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

- 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
 

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: