OpenCV  4.7.0-dev
Open Source Computer Vision
Public Member Functions | List of all members
cv::gapi::s11n::IIStream Struct Referenceabstract

This structure is an interface for deserialization routines. More...

#include <opencv2/gapi/s11n.hpp>

Public Member Functions

virtual ~IIStream ()=default
 
virtual IIStreamoperator>> (bool &)=0
 
virtual IIStreamoperator>> (std::vector< bool >::reference)=0
 
virtual IIStreamoperator>> (char &)=0
 
virtual IIStreamoperator>> (unsigned char &)=0
 
virtual IIStreamoperator>> (short &)=0
 
virtual IIStreamoperator>> (unsigned short &)=0
 
virtual IIStreamoperator>> (int &)=0
 
virtual IIStreamoperator>> (float &)=0
 
virtual IIStreamoperator>> (double &)=0
 
virtual IIStreamoperator>> (uint32_t &)=0
 
virtual IIStreamoperator>> (uint64_t &)=0
 
virtual IIStreamoperator>> (std::string &)=0
 

Detailed Description

This structure is an interface for deserialization routines.

It's main purpose is to provide multiple overloads for operator>>() with basic C++ in addition to OpenCV/G-API types.

This structure can be inherited and further extended with additional types.

For example, it is utilized in cv::gapi::s11n::detail::S11N as input parameter in deserialize() method.

Constructor & Destructor Documentation

◆ ~IIStream()

virtual cv::gapi::s11n::IIStream::~IIStream ( )
virtualdefault

Member Function Documentation

◆ operator>>() [1/12]

virtual IIStream& cv::gapi::s11n::IIStream::operator>> ( bool &  )
pure virtual

◆ operator>>() [2/12]

virtual IIStream& cv::gapi::s11n::IIStream::operator>> ( std::vector< bool >::reference  )
pure virtual

◆ operator>>() [3/12]

virtual IIStream& cv::gapi::s11n::IIStream::operator>> ( char &  )
pure virtual

◆ operator>>() [4/12]

virtual IIStream& cv::gapi::s11n::IIStream::operator>> ( unsigned char &  )
pure virtual

◆ operator>>() [5/12]

virtual IIStream& cv::gapi::s11n::IIStream::operator>> ( short &  )
pure virtual

◆ operator>>() [6/12]

virtual IIStream& cv::gapi::s11n::IIStream::operator>> ( unsigned short &  )
pure virtual

◆ operator>>() [7/12]

virtual IIStream& cv::gapi::s11n::IIStream::operator>> ( int &  )
pure virtual

◆ operator>>() [8/12]

virtual IIStream& cv::gapi::s11n::IIStream::operator>> ( float &  )
pure virtual

◆ operator>>() [9/12]

virtual IIStream& cv::gapi::s11n::IIStream::operator>> ( double &  )
pure virtual

◆ operator>>() [10/12]

virtual IIStream& cv::gapi::s11n::IIStream::operator>> ( uint32_t )
pure virtual

◆ operator>>() [11/12]

virtual IIStream& cv::gapi::s11n::IIStream::operator>> ( uint64_t )
pure virtual

◆ operator>>() [12/12]

virtual IIStream& cv::gapi::s11n::IIStream::operator>> ( std::string &  )
pure virtual

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