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

List of all members
DecompressedDataArchive Class Reference

Abstract interface class that defines methods to access and modify a serialized object. This class declares the most generic access and modification methods. More...

Class Declaration

Constructor & Destructor Documentation

DecompressedDataArchive ( daal::data_management::DecompressorImpl *  decompressor)
inline

Constructor of a decompressed data archive from decompressor

Parameters
[in]decompressorPointer to the decompressor

Member Function Documentation

size_t copyArchiveToArray ( byte *  ptr,
size_t  maxLength 
) const
inlinevirtual

Copies a data archive in the byte format to user-specified memory

Parameters
[in]ptrPointer to the byte array
[in]maxLengthSize of the array
Returns
Actual size of the data archive in bytes

Implements DataArchiveIface.

byte* getArchiveAsArray ( )
inlinevirtual

Returns a data archive in the byte format

Returns
Pointer to the byte buffer with the archive data
Deprecated:
This item will be removed in a future release. Use DataArchiveIface::getArchiveAsArraySharedPtr instead.

Reimplemented from DataArchiveIface.

services::SharedPtr<byte> getArchiveAsArraySharedPtr ( ) const
inlinevirtual

Returns a data archive in the byte format

Returns
Pointer to the byte buffer with the archive data

Implements DataArchiveIface.

std::string getArchiveAsString ( )
inlinevirtual

Returns a data archive in the STL string format

Returns
Object of the std::string type with the archive data
Deprecated:
This item will be removed in a future release.

Implements DataArchiveIface.

services::SharedPtr<services::ErrorCollection> getErrors ( )
inline

Returns errors during the computation

Returns
Errors during the computation
size_t getSizeOfArchive ( ) const
inlinevirtual

Returns the size of an archive

Returns
Size of the archive in bytes

Implements DataArchiveIface.

void read ( byte *  ptr,
size_t  size 
)
inlinevirtual

Copies the content of an archive into a byte array

Parameters
[in]ptrPointer to the array that represents the data
[in]sizeSize of the data array

Implements DataArchiveIface.

void write ( byte *  ptr,
size_t  size 
)
inlinevirtual

Copies data into an archive

Parameters
[in]ptrPointer to the data represented in the byte format
[in]sizeSize of the data array

Implements DataArchiveIface.


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

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