class CMMFMetaDataEntry : public CBase |
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.
7.0s
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() |
Private Member Functions | |
---|---|
CMMFMetaDataEntry() | |
void | ConstructL(const TDesC &, const TDesC &) |
Private Attributes | |
---|---|
HBufC * | iName |
HBufC * | iValue |
void | ConstructL | ( | const TDesC & | aName, |
const TDesC & | aValue | |||
) | [private] |
Second phase constructor.
<Copyright>
<Symbian (c) 2002>
This method can leave with one of the standard system-wide error codes.
7.0s
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.
7.0s
RWriteStream & 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.
7.0s
RReadStream & aStream | The stream to be read. |
IMPORT_C const TDesC & | Name | ( | ) | const |
Returns the name, or category, of the meta data.
The name of the meta data object.
7.0s
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>
The newly created meta data object.
7.0s
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.
The newly created meta data object.
7.0s
const CMMFMetaDataEntry & aOther | The meta data to be copied. |
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.
The newly created meta data object.
7.0s
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.
7.0s
const TDesC & 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.
7.0s
const TDesC & aValue | The new value field of the meta data object |
IMPORT_C const TDesC & | Value | ( | ) | const |
Returns the value field of the meta data.
The value field of the meta data object.
7.0s