OpenCV  4.1.0
Open Source Computer Vision
Classes | Public Member Functions | List of all members
cv::util::optional< T > Class Template Reference

#include <opencv2/gapi/util/optional.hpp>

Public Member Functions

 optional ()
 
 optional (const optional &)=default
 
 optional (T &&value) noexcept
 
 optional (const T &value) noexcept
 
 optional (optional &&) noexcept
 
bool has_value () const noexcept
 
 operator bool () const noexcept
 
T & operator* ()
 
const T & operator* () const
 
T * operator-> ()
 
const T * operator-> () const
 
optionaloperator= (const optional &rhs)=default
 
optionaloperator= (optional &&rhs)
 
void reset () noexcept
 
void swap (optional &other) noexcept
 
T & value ()
 
const T & value () const
 
template<class U >
value_or (U &&default_value) const
 

Constructor & Destructor Documentation

template<typename T>
cv::util::optional< T >::optional ( )
inline
template<typename T>
cv::util::optional< T >::optional ( const optional< T > &  )
default
template<class T >
cv::util::optional< T >::optional ( T &&  value)
explicitnoexcept
template<class T >
cv::util::optional< T >::optional ( const T &  value)
explicitnoexcept
template<class T >
cv::util::optional< T >::optional ( optional< T > &&  rhs)
noexcept

Member Function Documentation

template<class T >
bool cv::util::optional< T >::has_value ( ) const
noexcept
template<class T >
cv::util::optional< T >::operator bool ( ) const
noexcept
template<class T >
T & cv::util::optional< T >::operator* ( )
template<class T >
const T & cv::util::optional< T >::operator* ( ) const
template<class T >
T * cv::util::optional< T >::operator-> ( )
template<class T >
const T * cv::util::optional< T >::operator-> ( ) const
template<typename T>
optional& cv::util::optional< T >::operator= ( const optional< T > &  rhs)
default
template<class T >
optional< T > & cv::util::optional< T >::operator= ( optional< T > &&  rhs)
template<class T >
void cv::util::optional< T >::reset ( )
noexcept
template<class T >
void cv::util::optional< T >::swap ( optional< T > &  other)
noexcept
template<class T >
T & cv::util::optional< T >::value ( )
template<class T >
const T & cv::util::optional< T >::value ( ) const
template<class T >
template<class U >
T cv::util::optional< T >::value_or ( U &&  default_value) const

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