| class ContentAccess::CEmbeddedObject : public CBase | 
Represents a content object embedded within a file The agent defined uniqueId field describes the location of the object within the file.
| Public Member Functions | |
|---|---|
| ~CEmbeddedObject() | |
| IMPORT_C void | ExternalizeL(RWriteStream &) | 
| IMPORT_C const TDesC8 & | MimeType() | 
| IMPORT_C const TDesC & | Name() | 
| IMPORT_C CEmbeddedObject * | NewL(const TDesC &, const TDesC &, const TDesC8 &, TEmbeddedType) | 
| IMPORT_C CEmbeddedObject * | NewL(const TDesC &, const TDesC8 &, TEmbeddedType) | 
| IMPORT_C CEmbeddedObject * | NewL(RReadStream &) | 
| IMPORT_C TEmbeddedType | Type() | 
| IMPORT_C const TDesC & | UniqueId() | 
| Private Member Functions | |
|---|---|
| CEmbeddedObject(TEmbeddedType) | |
| void | ConstructL(const TDesC &, const TDesC &, const TDesC8 &) | 
| void | InternalizeL(RReadStream &) | 
| Private Attributes | |
|---|---|
| TBuf8< KMaxDataTypeLength > | iMimeType | 
| HBufC * | iName | 
| TEmbeddedType | iType | 
| HBufC * | iUniqueId | 
| CEmbeddedObject | ( | TEmbeddedType | aType | ) | [private] | 
| TEmbeddedType aType | 
| void | ConstructL | ( | const TDesC & | aUniqueId, | 
| const TDesC & | aName, | |||
| const TDesC8 & | aMimeType | |||
| ) | [private] | |||
| IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const | 
Allow the class write itself out to a stream
| RWriteStream & aStream | The stream to write to | 
| void | InternalizeL | ( | RReadStream & | aStream | ) | [private] | 
| RReadStream & aStream | 
| IMPORT_C const TDesC8 & | MimeType | ( | ) | const | 
Mime type of the object The mime type of the object or KNullDesC8() if this is a container object
| IMPORT_C CEmbeddedObject * | NewL | ( | const TDesC & | aUniqueId, | 
| const TDesC & | aName, | |||
| const TDesC8 & | aMimeType, | |||
| TEmbeddedType | aType | |||
| ) | [static] | |||
Create a new CEmbeddedObject with a different name and uniqueId
| const TDesC & aUniqueId | The UniqueId of the embedded object | 
| const TDesC & aName | A user friendly name for the object | 
| const TDesC8 & aMimeType | The mime type of the object (if it not a container object) | 
| TEmbeddedType aType | The type of object (Content, container, agentspecific etc) | 
| IMPORT_C CEmbeddedObject * | NewL | ( | const TDesC & | aUniqueId, | 
| const TDesC8 & | aMimeType, | |||
| TEmbeddedType | aType | |||
| ) | [static] | |||
Create a new CEmbeddedObject where the Name field is the same as the uniqueId
| const TDesC & aUniqueId | The UniqueId of the embedded object | 
| const TDesC8 & aMimeType | The mime type of the object (if it not a container object) | 
| TEmbeddedType aType | The type of object (Content, container, agentspecific etc) | 
| IMPORT_C CEmbeddedObject * | NewL | ( | RReadStream & | aStream | ) | [static] | 
Create a new CEmbeddedObject from a stream
| RReadStream & aStream | The stream to read the CEmbeddedObject from |