![Symbian Developer Library](../../../../a_stock/images/mainheading.gif)
![]() |
![]() |
|
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.
CBase
-
Base class for all classes to be instantiated on the heap.
CMMFMetaDataEntry
-
A piece of meta data.
Defined in CMMFMetaDataEntry
:
ExternalizeL(RWriteStream &)const
Writes the data contained within the object to a stream so it can be copied over...InternalizeL(RReadStream &)
Reads data from a stream and copies it into this object. Used when copying a met...Name()const
Returns the name, or category, of the meta data.NewL()
Default constructor. Returns a blank meta data object. To be used when internali...NewL(const CMMFMetaDataEntry &)
Copy constructor. Returns a replica of the meta data passed in.NewL(const TDesC &,const TDesC &)
Constructs a new meta data object using a name and value.SetNameL(const TDesC &)
Sets the name, or category, of the meta data.SetValueL(const TDesC &)
Sets the value field of the meta data.Value()const
Returns the value field of the meta data.~CMMFMetaDataEntry()
Destructor.Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.Extension_(TUint,TAny *&,TAny *)
Extension function operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...IMPORT_C static CMMFMetaDataEntry* NewL(const TDesC &aName, const TDesC &aValue);
Constructs a new meta data object using a name and value.
This method can leave with one of the standard system-wide error codes.
An example of a name might be:
For example, <Copyright>
An example of a value might be:
<Symbian (c) 2002>
|
|
IMPORT_C static CMMFMetaDataEntry* NewL(const CMMFMetaDataEntry &aOther);
Copy constructor. Returns a replica of the meta data passed in.
This method can leave with one of the standard system-wide error codes.
|
|
IMPORT_C static CMMFMetaDataEntry* NewL();
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 const TDesC& Name() const;
Returns the name, or category, of the meta data.
|
IMPORT_C const TDesC& Value() const;
Returns the value field of the meta data.
|
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.
|
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.
|
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.
|
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.
|