![]() |
Qore Programming Language 1.19.5
|
serialization context object used in builtin serializer methods More...
#include <common.h>
Public Member Methods | |
| DLLEXPORT void | addModule (const char *module) |
| adds a module to be loaded when the data is deserialized | |
| DLLEXPORT int | serializeObject (const QoreObject &obj, std::string &index, ExceptionSink *xsink) |
| serializes the given object and return the serialization index More... | |
| DLLEXPORT QoreValue | serializeValue (const QoreValue val, ExceptionSink *xsink) |
| serializes the given value and returns a serialized value representing the value to be serialized More... | |
serialization context object used in builtin serializer methods
| DLLEXPORT int QoreSerializationContext::serializeObject | ( | const QoreObject & | obj, |
| std::string & | index, | ||
| ExceptionSink * | xsink | ||
| ) |
serializes the given object and return the serialization index
throws a Qore-language exception if there is an error serializing the object
| DLLEXPORT QoreValue QoreSerializationContext::serializeValue | ( | const QoreValue | val, |
| ExceptionSink * | xsink | ||
| ) |
serializes the given value and returns a serialized value representing the value to be serialized
throws a Qore-language exception if there is an error serializing the object