Provides methods to restore an object from its serialized counterpart and access the restored object.
More...
Constructor of an output data archive from an input data archive
Constructor of an output data archive from a byte array
OutputDataArchive |
( |
daal::data_management::DecompressorImpl * |
decompressor, |
|
|
byte * |
ptr, |
|
|
size_t |
size |
|
) |
| |
|
inline |
Constructor of an output data archive from a byte array of compressed data
void archiveFooter |
( |
| ) |
const |
|
inline |
Reads the footer from a data archive
void archiveHeader |
( |
| ) |
const |
|
inline |
Reads the header from a data archive
Performs deserialization of the objects stored in output data archive
- Returns
- Shared pointer for the deserialized object
services::SharedPtr<services::ErrorCollection> getErrors |
( |
| ) |
|
|
inline |
Returns errors during the computation
- Returns
- Errors during the computation
int getMajorVersion |
( |
| ) |
const |
|
inline |
Returns the major version of the library used for object serialization
- Returns
- Version of the library
int getMinorVersion |
( |
| ) |
const |
|
inline |
Returns the minor version of the library used for object serialization
- Returns
- Version of the library
int getUpdateVersion |
( |
| ) |
const |
|
inline |
Returns the update version of the library used for object serialization
- Returns
- Version of the library
void segmentFooter |
( |
| ) |
const |
|
inline |
Reads the footer for a segment from the DataArchive object
int segmentHeader |
( |
| ) |
const |
|
inline |
Reads the header for a segment from the DataArchive object
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 |
void set |
( |
daal::services::Collection< T > & |
val | ) |
const |
|
inline |
Performs data deserialization of Collection of the basic datatype
- Template Parameters
-
- Parameters
-
[in] | val | Reference to the data to serialize |
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 |
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 |
void setSharedPtrObj |
( |
services::SharedPtr< T > & |
obj | ) |
const |
|
inline |
Performs data serialization creating a data segment
- Parameters
-
[in] | obj | The serializable object |
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: