OpenCV  4.8.0
Open Source Computer Vision
Public Types | Public Member Functions | Public Attributes | List of all members
cv::util::static_visitor< R, Impl > Struct Template Reference

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

Inheritance diagram for cv::util::static_visitor< R, Impl >:
cv::util::detail::visitor_interface cv::util::detail::visitor_return_type_deduction_helper< R >

Public Types

using return_type = typename detail::visitor_return_type_deduction_helper< R >::return_type
 
- Public Types inherited from cv::util::detail::visitor_return_type_deduction_helper< R >
using return_type = R
 

Public Member Functions

template<typename VariantValue , typename ... Args>
return_type operator() (std::size_t index, VariantValue &&value, Args &&...args)
 
- Public Member Functions inherited from cv::util::detail::visitor_return_type_deduction_helper< R >
template<typename T >
return_type operator() (T &&)
 

Public Attributes

friend Impl
 

Member Typedef Documentation

◆ return_type

template<typename R , typename Impl >
using cv::util::static_visitor< R, Impl >::return_type = typename detail::visitor_return_type_deduction_helper<R>::return_type

Member Function Documentation

◆ operator()()

template<typename R , typename Impl >
template<typename VariantValue , typename ... Args>
return_type cv::util::static_visitor< R, Impl >::operator() ( std::size_t  index,
VariantValue &&  value,
Args &&...  args 
)
inline

Member Data Documentation

◆ Impl

template<typename R , typename Impl >
friend cv::util::static_visitor< R, Impl >::Impl

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