sbIMetadataValues Interface Reference

A map of value+type pairs, keyed by string. More...

List of all members.

Public Member Functions

AString getKey (in PRInt32 N)
 The N'th key in the internal map.
void setValue (in AString aKey, in AString aValue, in PRInt32 aType)
 Assign a value to the internal map.
AString getValue (in AString aKey)
 Retrieve a value from the internal map.
PRInt32 getType (in AString aKey)
 Retrieve a value type from the internal map.
void clear ()
 Clear the internal map and erase all the values.

Public Attributes

readonly attribute PRInt32 numValues
 The number of values stored internally.


Detailed Description

A map of value+type pairs, keyed by string.

This object is passed from and to a sbIMetadataHandler for reading or writing the metadata set of a track.

The list of supported metadata keys is:

The type enumeration is:

Todo:
Make a list of keys. Make a type enumeration.
See also:
sbIMetadataHandler

Definition at line 48 of file sbIMetadataValues.idl.


Member Function Documentation

PRInt32 sbIMetadataValues::getType ( in AString  aKey  ) 

Retrieve a value type from the internal map.

Parameters:
aKey The key index to find the value type
Returns:
The type enumeration at that key

AString sbIMetadataValues::getValue ( in AString  aKey  ) 

Retrieve a value from the internal map.

Parameters:
aKey The key index to find the value
Returns:
The value string at that key

void sbIMetadataValues::setValue ( in AString  aKey,
in AString  aValue,
in PRInt32  aType 
)

Assign a value to the internal map.

Parameters:
aKey The key index to receive the incoming value
aValue The value to assign
aType The type of the value


The documentation for this interface was generated from the following file:
Generated on Mon Aug 21 21:01:55 2006 for Songbird by  doxygen 1.4.7