Provides methods to restore an object from its serialized counterpart and access the restored object.
More...
◆ OutputDataArchive() [1/4]
Constructor of an output data archive from an input data archive
◆ OutputDataArchive() [2/4]
◆ OutputDataArchive() [3/4]
Constructor of an output data archive from a byte array
◆ OutputDataArchive() [4/4]
Constructor of an output data archive from a byte array of compressed data
◆ archiveFooter()
void archiveFooter |
( |
| ) |
const |
|
inline |
Reads the footer from a data archive
◆ archiveHeader()
void archiveHeader |
( |
| ) |
const |
|
inline |
Reads the header from a data archive
◆ getAsSharedPtr()
Performs deserialization of the objects stored in output data archive
- Returns
- Shared pointer for the deserialized object
◆ getErrors()
Returns errors during the computation
- Returns
- Errors during the computation
◆ getMajorVersion()
int getMajorVersion |
( |
| ) |
const |
|
inline |
Returns the major version of the library used for object serialization
- Returns
- Version of the library
◆ getMinorVersion()
int getMinorVersion |
( |
| ) |
const |
|
inline |
Returns the minor version of the library used for object serialization
- Returns
- Version of the library
◆ getUpdateVersion()
int getUpdateVersion |
( |
| ) |
const |
|
inline |
Returns the update version of the library used for object serialization
- Returns
- Version of the library
◆ segmentFooter()
void segmentFooter |
( |
| ) |
const |
|
inline |
Reads the footer for a segment from the DataArchive object
◆ segmentHeader()
int segmentHeader |
( |
| ) |
const |
|
inline |
Reads the header for a segment from the DataArchive object
◆ set() [1/3]
void set |
( |
T & |
val | ) |
const |
|
inline |
Performs data deserialization of one value of the basic datatype
- Template Parameters
-
- Parameters
-
[in] | val | Reference to the data to deserialize |
◆ set() [2/3]
Performs data deserialization of Collection of the basic datatype
- Template Parameters
-
- Parameters
-
[in] | val | Reference to the data to serialize |
◆ set() [3/3]
void set |
( |
T * |
ptr, |
|
|
size_t |
size |
|
) |
| const |
|
inline |
Performs data deserialization of an array of values of the basic datatype
- Template Parameters
-
- Parameters
-
[in] | ptr | Pointer to the array of data to convert from the serialized format |
[in] | size | Size of the array pointed to by ptr |
◆ setObj()
void setObj |
( |
T * |
ptr, |
|
|
size_t |
size = 1 |
|
) |
| const |
|
inline |
Performs data deserialization of a data segment
- Template Parameters
-
- Parameters
-
[in] | ptr | Pointer to an array of empty objects of the T class to deserialized data |
[in] | size | Size of the array pointed to by ptr |
◆ setSharedPtrObj()
Performs data serialization creating a data segment
- Parameters
-
[in] | obj | The serializable object |
◆ setSingleObj()
Performs data deserialization creating a data segment
- Parameters
-
[in] | ptr | Pointer to the serializable object |
The documentation for this class was generated from the following file: