Murl::Resource::IMetaData Interface Referenceabstract
An interface providing meta data to a given resource object or pacakge. More...
#include "murl_resource_i_meta_data.h"
Inherited by Murl::Resource::MetaData.
Public Member Functions | |
virtual UInt32 | GetNumberOfKeys () const =0 |
Get the number of meta data entries present. More... | |
virtual SInt32 | GetKeyIndex (const Char *key) const =0 |
Get the index of a meta data entry with a given key name. More... | |
virtual const Char * | GetKey (UInt32 keyIndex) const =0 |
Get the key string of the meta data entry at a given index. More... | |
virtual const Char * | GetValue (UInt32 keyIndex) const =0 |
Get the value string of the meta data entry at a given index. More... | |
Detailed Description
An interface providing meta data to a given resource object or pacakge.
Member Function Documentation
◆ GetNumberOfKeys()
|
pure virtual |
Get the number of meta data entries present.
- Returns
- The number of present keys.
◆ GetKeyIndex()
Get the index of a meta data entry with a given key name.
- Parameters
-
key The key to find:
- Returns
- The zero-based index of the key, or -1 if not found.
◆ GetKey()
Get the key string of the meta data entry at a given index.
- Parameters
-
keyIndex The index of the key, in the range [0..GetNumberOfKeys()-1].
- Returns
- The key string, or null if keyIndex is out of range.
◆ GetValue()
Get the value string of the meta data entry at a given index.
- Parameters
-
keyIndex The index of the key, in the range [0..GetNumberOfKeys()-1].
- Returns
- The value string, or null if keyIndex is out of range.
The documentation for this interface was generated from the following file:
- murl_resource_i_meta_data.h