Provides methods to create an archive data object (serialized) and access this object.
More...
◆ InputDataArchive() [1/3]
◆ InputDataArchive() [2/3]
◆ InputDataArchive() [3/3]
Constructor of an input data archive to a byte array of compressed data
◆ archiveFooter()
Generates a footer for a data archive
◆ archiveHeader()
Generates a header for a data archive
◆ copyArchiveToArray()
size_t copyArchiveToArray |
( |
byte * |
ptr, |
|
|
size_t |
maxLength |
|
) |
| |
|
inline |
Copies a data archive in the byte format to user-specified memory
- Parameters
-
[in] | ptr | Pointer to the byte array |
[in] | maxLength | Size of the array |
- Returns
- Actual size of the data archive in bytes
◆ getArchiveAsArray() [1/2]
DAAL_DEPRECATED byte* getArchiveAsArray |
( |
| ) |
|
|
inline |
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.
◆ getArchiveAsArray() [2/2]
DAAL_DEPRECATED void getArchiveAsArray |
( |
const byte ** |
ptr, |
|
|
size_t * |
size |
|
) |
| |
|
inline |
Returns a data archive in the byte format
- Parameters
-
[in] | ptr | Pointer to the byte buffer with the archive data |
[in] | size | Pointer to the size of the array |
- Deprecated:
- This item will be removed in a future release.
◆ getArchiveAsArraySharedPtr()
Returns a data archive in the byte format
- Returns
- Pointer to the byte buffer with the archive data
◆ getArchiveAsString()
DAAL_DEPRECATED std::string getArchiveAsString |
( |
| ) |
|
|
inline |
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.
◆ getDataArchive()
Returns a data archive object of the InputDataArchive type
- Returns
- Data archive object
◆ getErrors()
Returns errors during the computation
- Returns
- Errors during the computation
◆ getSizeOfArchive()
size_t getSizeOfArchive |
( |
| ) |
|
|
inline |
Returns the size of an archive
- Returns
- Size of the archive in bytes
◆ segmentFooter()
Generates a footer for a segment in the DataArchive object
◆ segmentHeader()
void segmentHeader |
( |
int |
tag = 0 | ) |
|
|
inline |
Generates a header for a segment in the DataArchive object
◆ set() [1/3]
Performs data serialization of one value of the basic datatype
- Template Parameters
-
- Parameters
-
[in] | val | Reference to the data to serialize |
◆ set() [2/3]
Performs data serialization 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 |
|
) |
| |
|
inline |
Performs data serialization of an array of values of the basic datatype
- Template Parameters
-
- Parameters
-
[in] | ptr | Pointer to the array of data to convert to the serialized format |
[in] | size | Size of the array pointed to by ptr |
◆ setObj()
void setObj |
( |
T * |
ptr, |
|
|
size_t |
size = 1 |
|
) |
| |
|
inline |
Performs data serialization creating a data segment
- Template Parameters
-
- Parameters
-
[in] | ptr | Pointer to an array of data to convert to the serialized format |
[in] | size | Size of the array pointed to by ptr |
◆ setSharedPtrObj()
Performs data serialization creating a data segment
- Parameters
-
[in] | obj | Serializable object |
◆ setSingleObj()
Performs data serialization creating a data segment
- Parameters
-
[in] | ptr | Pointer to the serializable object |
The documentation for this class was generated from the following file: