C++ API Reference for Intel® Data Analytics Acceleration Library 2018 Update 2

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() [1/4]

OutputDataArchive ( InputDataArchive arch)
inline

Constructor of an output data archive from an input data archive

◆ OutputDataArchive() [2/4]

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() [3/4]

OutputDataArchive ( byte *  ptr,
size_t  size 
)
inline

Constructor of an output data archive from a byte array

◆ OutputDataArchive() [4/4]

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

◆ 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()

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

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
Tbasic datatype
Parameters
[in]valReference to the data to deserialize

◆ set() [2/3]

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

◆ 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
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

◆ setObj()

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

◆ setSharedPtrObj()

void setSharedPtrObj ( services::SharedPtr< T > &  obj) const
inline

Performs data serialization creating a data segment

Parameters
[in]objThe serializable object

◆ setSingleObj()

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.