#include <mmf/common/mmfcontrollerframeworkbase.h>
class CMMFMetaDataEntry : public CBase |
Public Member Functions | |
---|---|
~CMMFMetaDataEntry() | |
IMPORT_C void | ExternalizeL(RWriteStream &) |
IMPORT_C void | InternalizeL(RReadStream &) |
IMPORT_C const TDesC & | Name() |
IMPORT_C CMMFMetaDataEntry * | NewL(const TDesC &, const TDesC &) |
IMPORT_C CMMFMetaDataEntry * | NewL(const CMMFMetaDataEntry &) |
IMPORT_C CMMFMetaDataEntry * | NewL() |
IMPORT_C void | SetNameL(const TDesC &) |
IMPORT_C void | SetValueL(const TDesC &) |
IMPORT_C const TDesC & | Value() |
A piece of meta data.
Meta data is often contained in the header of multimedia clips and is used to define attributes such as the author and copyright details.
Each piece of meta data has a name, or category, and a value.
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
Writes the data contained within the object to a stream so it can be copied over IPC or written to a file.
This method can leave with one of the standard system-wide error codes.
Parameter | Description |
---|---|
aStream | The stream to be written to. |
IMPORT_C void | InternalizeL | ( | RReadStream & | aStream | ) |
Reads data from a stream and copies it into this object. Used when copying a meta data object over IPC or reading it from a file.
This method can leave with one of the standard system-wide error codes.
Parameter | Description |
---|---|
aStream | The stream to be read. |
IMPORT_C const TDesC & | Name | ( | ) | const |
Returns the name, or category, of the meta data.
Returns: The name of the meta data object.
IMPORT_C CMMFMetaDataEntry * | NewL | ( | const TDesC & | aName, |
const TDesC & | aValue | |||
) | [static] |
Constructs a new meta data object using a name and value.
This method can leave with one of the standard system-wide error codes.
For example, <Copyright>
<Symbian (c) 2002>
Parameter | Description |
---|---|
aName | The name, or category, to be given to this piece of meta data. |
aValue | The value of this piece of meta data. |
Returns: The newly created meta data object.
IMPORT_C CMMFMetaDataEntry * | NewL | ( | const CMMFMetaDataEntry & | aOther | ) | [static] |
Copy constructor. Returns a replica of the meta data passed in.
This method can leave with one of the standard system-wide error codes.
Parameter | Description |
---|---|
aOther | The meta data to be copied. |
Returns: The newly created meta data object.
IMPORT_C CMMFMetaDataEntry * | NewL | ( | ) | [static] |
Default constructor. Returns a blank meta data object. To be used when internalizing data into the object.
This method can leave with one of the standard system-wide error codes.
Returns: The newly created meta data object.
IMPORT_C void | SetNameL | ( | const TDesC & | aName | ) |
Sets the name, or category, of the meta data.
This method can leave with one of the standard system-wide error codes.
Parameter | Description |
---|---|
aName | The new name of the meta data object |
IMPORT_C void | SetValueL | ( | const TDesC & | aValue | ) |
Sets the value field of the meta data.
This method can leave with one of the standard system-wide error codes.
Parameter | Description |
---|---|
aValue | The new value field of the meta data object |
IMPORT_C const TDesC & | Value | ( | ) | const |
Returns the value field of the meta data.
Returns: The value field of the meta data object.