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 CharGetKey (UInt32 keyIndex) const =0
 Get the key string of the meta data entry at a given index. More...
 
virtual const CharGetValue (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()

virtual UInt32 Murl::Resource::IMetaData::GetNumberOfKeys ( ) const
pure virtual

Get the number of meta data entries present.

Returns
The number of present keys.

◆ GetKeyIndex()

virtual SInt32 Murl::Resource::IMetaData::GetKeyIndex ( const Char key) const
pure virtual

Get the index of a meta data entry with a given key name.

Parameters
keyThe key to find:
Returns
The zero-based index of the key, or -1 if not found.

◆ GetKey()

virtual const Char* Murl::Resource::IMetaData::GetKey ( UInt32  keyIndex) const
pure virtual

Get the key string of the meta data entry at a given index.

Parameters
keyIndexThe index of the key, in the range [0..GetNumberOfKeys()-1].
Returns
The key string, or null if keyIndex is out of range.

◆ GetValue()

virtual const Char* Murl::Resource::IMetaData::GetValue ( UInt32  keyIndex) const
pure virtual

Get the value string of the meta data entry at a given index.

Parameters
keyIndexThe 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


Copyright © 2011-2023 Spraylight GmbH.