Loading...
Searching...
No Matches
Classes |
Public Member Functions |
Static Public Member Functions |
Protected Attributes |
Friends |
List of all members
cv::util::variant< Ts > Class Template Reference
#include <opencv2/gapi/util/variant.hpp>
Inheritance diagram for cv::util::variant< Ts >:
Public Member Functions | |
variant () noexcept | |
variant (const variant &other) | |
template<typename T , typename = util::are_different_t<variant, T>> | |
variant (T &&t) | |
variant (variant &&other) noexcept | |
~variant () | |
std::size_t | index () const noexcept |
variant & | operator= (const variant &rhs) |
template<typename... Ts> | |
variant< Ts... > & | operator= (const variant< Ts... > &rhs) |
template<typename T , typename = util::are_different_t<variant, T>> | |
variant & | operator= (T &&t) noexcept |
template<typename T , typename > | |
variant< Ts... > & | operator= (T &&t) noexcept |
variant & | operator= (variant &&rhs) noexcept |
template<typename... Ts> | |
variant< Ts... > & | operator= (variant< Ts... > &&rhs) noexcept |
void | swap (variant &rhs) noexcept |
Static Public Member Functions | |
template<typename T > | |
static constexpr std::size_t | index_of () |
Protected Attributes | |
Memory | memory |
Friends | |
template<typename T , typename... Us> | |
const T & | get (const variant< Us... > &v) |
template<typename T , typename... Us> | |
T & | get (variant< Us... > &v) |
template<typename T , typename... Us> | |
const T * | get_if (const variant< Us... > *v) noexcept |
template<typename T , typename... Us> | |
T * | get_if (variant< Us... > *v) noexcept |
template<typename... Us> | |
bool | operator== (const variant< Us... > &lhs, const variant< Us... > &rhs) |
Constructor & Destructor Documentation
◆ variant() [1/4]
template<typename... Ts>
|
noexcept |
◆ variant() [2/4]
template<typename... Ts>
cv::util::variant< Ts >::variant | ( | const variant< Ts > & | other | ) |
◆ variant() [3/4]
template<typename... Ts>
|
noexcept |
◆ variant() [4/4]
template<typename... Ts>
template<class T , typename >
|
explicit |
◆ ~variant()
template<typename... Ts>
cv::util::variant< Ts >::~variant |
Member Function Documentation
◆ index()
template<typename... Ts>
|
noexcept |
◆ index_of()
template<typename... Ts>
template<typename T >
|
staticconstexpr |
◆ operator=() [1/6]
template<typename... Ts>
variant & cv::util::variant< Ts >::operator= | ( | const variant< Ts > & | rhs | ) |
◆ operator=() [2/6]
template<typename... Ts>
template<typename... Ts>
variant< Ts... > & cv::util::variant< Ts >::operator= | ( | const variant< Ts... > & | rhs | ) |
◆ operator=() [3/6]
template<typename... Ts>
template<typename T , typename = util::are_different_t<variant, T>>
|
noexcept |
◆ operator=() [4/6]
template<typename... Ts>
template<typename T , typename >
|
noexcept |
◆ operator=() [5/6]
template<typename... Ts>
|
noexcept |
◆ operator=() [6/6]
template<typename... Ts>
template<typename... Ts>
|
noexcept |
◆ swap()
template<typename... Ts>
|
noexcept |
Friends And Related Function Documentation
◆ get [1/2]
template<typename... Ts>
template<typename T , typename... Us>
|
friend |
◆ get [2/2]
template<typename... Ts>
template<typename T , typename... Us>
|
friend |
◆ get_if [1/2]
template<typename... Ts>
template<typename T , typename... Us>
|
friend |
◆ get_if [2/2]
template<typename... Ts>
template<typename T , typename... Us>
|
friend |
◆ operator==
template<typename... Ts>
template<typename... Us>
|
friend |
Member Data Documentation
◆ memory
template<typename... Ts>
|
protected |
The documentation for this class was generated from the following file:
- opencv2/gapi/util/variant.hpp