libCZI
Reading and Writing CZI documents made easy
|
Interface representing the metadata-segment. More...
#include <libCZI.h>
Public Types | |
enum | MemBlkType { XmlMetadata , Attachment } |
Values that represent the two different data types found in the metadata-segment. More... | |
Public Member Functions | |
virtual std::shared_ptr< const void > | GetRawData (MemBlkType type, size_t *ptrSize)=0 |
virtual void | DangerousGetRawData (MemBlkType type, const void *&ptr, size_t &size) const =0 |
std::shared_ptr< ICziMetadata > | CreateMetaFromMetadataSegment () |
Interface representing the metadata-segment.
|
inline |
Creates metadata object from this metadata segment.
|
pure virtual |
Get a pointer to the raw data. Note that the pointer returned is only valid during the lifetime of the sub-block-object.
type | The metadata-segment memory-block type. | |
[out] | ptr | The pointer to the data is stored here. |
[out] | size | The size of the data. |
|
pure virtual |
Gets raw data.
type | The metadata-segment memory-block type. | |
[out] | ptrSize | If non-null, thus size of the data (in bytes) is stored here. |