The IArchive resource object interface.
More...
#include <murl_resource_i_archive.h>
The IArchive resource object interface.
An archive resource stores a (ZLib) compressed block of raw data, with optional encryption.
◆ GetObjectInterface() [1/2]
virtual IObject* Murl::Resource::IArchive::GetObjectInterface |
( |
| ) |
|
|
pure virtual |
◆ GetObjectInterface() [2/2]
virtual const IObject* Murl::Resource::IArchive::GetObjectInterface |
( |
| ) |
const |
|
pure virtual |
◆ GetData()
virtual const ConstData& Murl::Resource::IArchive::GetData |
( |
| ) |
const |
|
pure virtual |
Get a data object containing the uncompressed data.
Calling this method returns a constant data object containing the uncompressed payload data, performing decryption if necessary. If decryption or decompression fails, an empty data object is returned. It is necessary to make a corresponding call to ReleaseData() for every GetData() invocation.
- Returns
- A constant data object containing the uncompressed contents.
◆ ReleaseData()
virtual Bool Murl::Resource::IArchive::ReleaseData |
( |
| ) |
const |
|
pure virtual |
Release the previously obtained data.
- Returns
- true if successful.
The documentation for this interface was generated from the following file:
- murl_resource_i_archive.h