OpenCV  4.5.0
Open Source Computer Vision
Classes | Namespaces | Functions
s11n.hpp File Reference
#include <vector>
#include <map>
#include <unordered_map>
#include <opencv2/gapi/s11n/base.hpp>
#include <opencv2/gapi/gcomputation.hpp>

Classes

struct  cv::gapi::detail::deserialize_arg< T >
 
struct  cv::gapi::detail::deserialize_arg< std::tuple<> >
 
struct  cv::gapi::s11n::IIStream
 
struct  cv::gapi::s11n::IOStream
 

Namespaces

 cv
 "black box" representation of the file storage associated with a file on disk.
 
 cv::gapi
 Retrieves particular compilation argument by its type from cv::GCompileArgs.
 
 cv::gapi::detail
 
 cv::gapi::s11n
 
 cv::gapi::s11n::detail
 

Functions

template<typename T >
static T cv::gapi::deserialize (const std::vector< char > &p)
 
template<>
cv::GComputation cv::gapi::deserialize (const std::vector< char > &p)
 
template<>
cv::GMetaArgs cv::gapi::deserialize (const std::vector< char > &p)
 
template<>
cv::GRunArgs cv::gapi::deserialize (const std::vector< char > &p)
 
template<typename T , typename... Types>
std::enable_if< std::is_same< T, GCompileArgs >::value, GCompileArgs >::type cv::gapi::deserialize (const std::vector< char > &p)
 
template<typename... Types>
cv::GCompileArgs cv::gapi::detail::getCompileArgs (const std::vector< char > &p)
 
cv::GComputation cv::gapi::detail::getGraph (const std::vector< char > &p)
 
std::unique_ptr< IIStream > cv::gapi::s11n::detail::getInStream (const std::vector< char > &p)
 
cv::GMetaArgs cv::gapi::detail::getMetaArgs (const std::vector< char > &p)
 
cv::GRunArgs cv::gapi::detail::getRunArgs (const std::vector< char > &p)
 
IOStream & cv::gapi::s11n::operator<< (IOStream &os, const cv::Point &pt)
 
IOStream & cv::gapi::s11n::operator<< (IOStream &os, const cv::Size &sz)
 
IOStream & cv::gapi::s11n::operator<< (IOStream &os, const cv::Rect &rc)
 
IOStream & cv::gapi::s11n::operator<< (IOStream &os, const cv::Scalar &s)
 
IOStream & cv::gapi::s11n::operator<< (IOStream &os, const cv::Mat &m)
 
template<typename K , typename V >
IOStream & cv::gapi::s11n::operator<< (IOStream &os, const std::map< K, V > &m)
 
template<typename K , typename V >
IOStream & cv::gapi::s11n::operator<< (IOStream &os, const std::unordered_map< K, V > &m)
 
template<typename T >
IOStream & cv::gapi::s11n::operator<< (IOStream &os, const std::vector< T > &ts)
 
IIStream & cv::gapi::s11n::operator>> (IIStream &is, cv::Point &pt)
 
IIStream & cv::gapi::s11n::operator>> (IIStream &is, cv::Size &sz)
 
IIStream & cv::gapi::s11n::operator>> (IIStream &is, cv::Rect &rc)
 
IIStream & cv::gapi::s11n::operator>> (IIStream &is, cv::Scalar &s)
 
IIStream & cv::gapi::s11n::operator>> (IIStream &is, cv::Mat &m)
 
template<typename K , typename V >
IIStream & cv::gapi::s11n::operator>> (IIStream &is, std::map< K, V > &m)
 
template<typename K , typename V >
IIStream & cv::gapi::s11n::operator>> (IIStream &is, std::unordered_map< K, V > &m)
 
template<typename T >
IIStream & cv::gapi::s11n::operator>> (IIStream &is, std::vector< T > &ts)
 
std::vector< char > cv::gapi::serialize (const cv::GComputation &c)
 
std::vector< char > cv::gapi::serialize (const cv::GCompileArgs &)
 
std::vector< char > cv::gapi::serialize (const cv::GMetaArgs &)
 
std::vector< char > cv::gapi::serialize (const cv::GRunArgs &)