Abstract interface class that defines methods to access and modify a serialized object. This class declares the most generic access and modification methods.
More...
Constructor of a compressed data archive from compressor
- Parameters
-
[in] | compressor | Pointer to the compressor |
size_t copyArchiveToArray |
( |
byte * |
ptr, |
|
|
size_t |
maxLength |
|
) |
| const |
|
inlinevirtual |
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
Implements DataArchiveIface.
byte* getArchiveAsArray |
( |
| ) |
|
|
inlinevirtual |
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] | ptr | Pointer to the array that represents the data |
[in] | size | Size of the data array |
Implements DataArchiveIface.
void write |
( |
byte * |
ptr, |
|
|
size_t |
size |
|
) |
| |
|
inlinevirtual |
Copies data into an archive
- Parameters
-
[in] | ptr | Pointer to the data represented in the byte format |
[in] | size | Size of the data array |
Implements DataArchiveIface.
The documentation for this class was generated from the following file: