C++ API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

List of all members
OutputDataArchive Class Reference

Provides methods to restore an object from its serialized counterpart and access the restored object. More...

Class Declaration

Constructor & Destructor Documentation

OutputDataArchive ( InputDataArchive arch)
inline

Constructor of an output data archive from an input data archive

OutputDataArchive ( DataArchiveIface arch)
inline

Constructor of an output data archive from a DataArchiveIface The new OutputDataArchive object will own the provided pointer and free it when it gets deleted.

OutputDataArchive ( byte *  ptr,
size_t  size 
)
inline

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

Member Function Documentation

void archiveFooter ( ) const
inline

Reads the footer from a data archive

void archiveHeader ( ) const
inline

Reads the header from a data archive

services::SharedPtr<SerializationIface> getAsSharedPtr ( ) const
inline

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
Tbasic datatype
Parameters
[in]valReference 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
Tbasic datatype
Parameters
[in]valReference 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
TBasic datatype
Parameters
[in]ptrPointer to the array of data to convert from the serialized format
[in]sizeSize 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
TClass that implements SerializationIface
Parameters
[in]ptrPointer to an array of empty objects of the T class to deserialized data
[in]sizeSize of the array pointed to by ptr
void setSharedPtrObj ( services::SharedPtr< T > &  obj) const
inline

Performs data serialization creating a data segment

Parameters
[in]objThe serializable object
void setSingleObj ( SerializationIface **  ptr) const
inline

Performs data deserialization creating a data segment

Parameters
[in]ptrPointer to the serializable object

The documentation for this class was generated from the following file:

For more complete information about compiler optimizations, see our Optimization Notice.