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.
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.
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.
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.
RReadStream & aStream | The stream to be read. |
IMPORT_C const TDesC & | Name | ( | ) | const |
Returns the name, or category, of the meta data.
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>
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.
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.
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.
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.
const TDesC & aValue | The new value field of the meta data object |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.