moduleSerialization library
The task of the serialization library is to marshal and demarshal complex data structures.
It uses a rather complex template mechanism to generate (de)serialization code at compile time. The result is efficient, compact and almost unreadable code. The documentation links below try to cast some light into the philosophy.
Namespaces
| namespace |
A namespace that wraps global serialization functions and serialization-related global symbols. |
| namespace |
A namespace that contains classes for specifying traits for serializable types. |
Other classes
| class |
Default implementation of the generic input archive interface. |
| class |
Common base class for all archive types. |
| struct |
A wrapper for serializing a base class. |
| class |
PiiBinaryInputArchive reads raw binary data. |
| struct |
A serialization wrapper for binary data. |
| class |
Binary output archive stores data in a raw binary format. |
| class |
A polymorphic implementation of the archive interface. |
| class |
A polymorphic implementation of the archive interface. |
| class |
A base class for input archive implementations. |
| class |
Meta objects store information specific to a certain data type. |
| struct |
A template that wraps a name and a value into a pair. |
| class |
A base class for output archive implementations. |
| class |
A serialization wrapper for user types in QVariants. |
| class |
Thrown when an error occurs in (de)serializing data. |
| class |
Serializer is an object that takes care of serializing objects. |
| class |
A template class that is statically instantiated to add serializable classes to an archive's serializer registry. |
| class |
TextInputArchive reads space-separated textual data. |
| class |
Text output archive stores data in a space-separated textual format. |
| class |
A class that is used by PiiOutputArchive to store tracked pointers while serializing them. |
| class |
A template that is instantiated for all user types intended to be serialized as QVariants. |
Typedefs
|
A shorthand for a binary input archive derived from PiiGenericInputArchive. |
|
|
A shorthand for a binary output archive derived from PiiGenericOutputArchive. |
|
|
typedef PiiGenericInputArchive::Impl<
PiiTextInputArchive
>
|
A shorthand for a text input archive derived from PiiGenericInputArchive. |
|
A shorthand for a text output archive derived from PiiGenericOutputArchive. |
Typedef details
-
typedef PiiGenericInputArchive::Impl< PiiBinaryInputArchive > PiiGenericBinaryInputArchive
A shorthand for a binary input archive derived from PiiGenericInputArchive.
-
typedef PiiGenericOutputArchive::Impl< PiiBinaryOutputArchive > PiiGenericBinaryOutputArchive
A shorthand for a binary output archive derived from PiiGenericOutputArchive.
-
typedef PiiGenericInputArchive::Impl< PiiTextInputArchive > PiiGenericTextInputArchive
A shorthand for a text input archive derived from PiiGenericInputArchive.
-
typedef PiiGenericOutputArchive::Impl< PiiTextOutputArchive > PiiGenericTextOutputArchive
A shorthand for a text output archive derived from PiiGenericOutputArchive.
Add a note
Not a single note added yet. Be the first, add yours.