class TPictureHeader |
Picture header providing an interface to a stored picture. The header holds:
the picture's type, encoded as a UID, which ensures that it will be restored to the correct picture type
the picture's size, which facilitates deferred loading
the stream ID of the picture body, which is replaced by a pointer to the picture object when it has been restored.
Public Member Functions | |
---|---|
TPictureHeader() | |
IMPORT_C void | DeletePicture() |
IMPORT_C void | ExternalizeL(RWriteStream &) |
IMPORT_C void | InternalizeL(RReadStream &) |
Public Attributes | |
---|---|
TSwizzle< CPicture > | iPicture |
TUid | iPictureType |
TSize | iSize |
IMPORT_C void | DeletePicture | ( | ) |
Deletes the internalised picture.
The picture can only be deleted if the picture has been internalized.
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
Externalises a picture header object to a write stream.
The presence of this function means that the standard templated stream operator<<() is available to externalise objects of this class.
RWriteStream & aStream | The write stream. |
IMPORT_C void | InternalizeL | ( | RReadStream & | aStream | ) |
Internalises a picture header object from a read stream.
The presence of this function means that the standard templated stream operator>>() is available to internalise objects of this class.
RReadStream & aStream | The read stream. |
TSwizzle< CPicture > | iPicture |
A swizzle storing either the ID of the stream in which the picture is stored, or a pointer to the internalised picture.
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.