OpenCV 5.0.0-pre
Open Source Computer Vision
|
This structure allows to implement serialization routines for custom types. More...
#include <opencv2/gapi/s11n/base.hpp>
Static Public Member Functions | |
static T | deserialize (IIStream &) |
This function allows user to deserialize their custom type. | |
static void | serialize (IOStream &, const T &) |
This function allows user to serialize their custom type. | |
This structure allows to implement serialization routines for custom types.
The default S11N for custom types is not implemented.
Example of usage:
|
inlinestatic |
This function allows user to deserialize their custom type.
|
inlinestatic |
This function allows user to serialize their custom type.