struct IMetadata { };
IMetadataRecorder.h
virtual ~IMetadata();
virtual bool AddField(const IMetadata* metadata) = 0;
virtual bool AddField(uint32 tag, uint32 type, const uint8* data, uint8 size) = 0;
virtual IMetadata* Clone() const = 0;
static IMetadata* CreateInstance();
void Delete();
virtual const IMetadata* GetFieldByIndex(size_t i) const = 0;
virtual size_t GetNumFields() const = 0;
0 means this is a basic typed value
virtual uint32 GetTag() const = 0;
virtual bool GetValue(uint8* data, uint8* size) const = 0;
Parameters |
Description |
uint8* data |
[out] |
uint8* size |
[in|out] |
virtual uint8 GetValueSize() const = 0;
virtual uint32 GetValueType() const = 0;
virtual void Reset() = 0;
virtual void SetTag(uint32 tag) = 0;
virtual bool SetValue(uint32 type, const uint8* data, uint8 size) = 0;