#include <app/cntfldst.h>
class CContactStoreField : public CContactFieldStorage |
Public Member Functions | |
---|---|
~CContactStoreField() | |
virtual void | ExternalizeL(RWriteStream &) |
virtual void | InternalizeL(RReadStream &) |
virtual TBool | IsFull() |
virtual void | RestoreL(CStreamStore &, RReadStream &) |
IMPORT_C void | SetThingL(const TDesC8 &) |
IMPORT_C void | SetThingL(const HBufC8 &) |
IMPORT_C void | SetThingL(const CBufBase *) |
virtual TStreamId | StoreL(CStreamStore &) |
IMPORT_C HBufC8 * | Thing() |
Provides access to the binary field data stored in an 8-bit descriptor.
An object of this class can be retrieved using CContactItemField::StoreStorage().
void | ExternalizeL | ( | RWriteStream & | aStream | ) | const [virtual] |
Reimplemented from CContactFieldStorage::ExternalizeL(RWriteStream &)const
Externalises the field data.
Parameter | Description |
---|---|
aStream | Write stream to which the contents of the field should be externalised. |
void | InternalizeL | ( | RReadStream & | aStream | ) | [virtual] |
Reimplemented from CContactFieldStorage::InternalizeL(RReadStream &)
Internalises the field data.
Parameter | Description |
---|---|
aStream | Stream from which the the contents of the field should be internalised. |
TBool | IsFull | ( | ) | const [virtual] |
Reimplemented from CContactFieldStorage::IsFull()const
Tests whether the field storage contains data.
Returns: True if the field storage contains data, false if not.
void | RestoreL | ( | CStreamStore & | aStore, |
RReadStream & | aStream | |||
) | [virtual] |
Reimplemented from CContactFieldStorage::RestoreL(CStreamStore &,RReadStream &)
Restores the field data.
Parameter | Description |
---|---|
aStore | Reference to the store from which the object is to be restored. |
aStream | Reference to the stream which should be passed to InternalizeL(). |
IMPORT_C void | SetThingL | ( | const TDesC8 & | aDes | ) |
Sets the field data from an 8-bit descriptor.
Parameter | Description |
---|---|
aDes | 8-bit descriptor containing the binary data to copy into the field. |
IMPORT_C void | SetThingL | ( | const HBufC8 & | aDes | ) |
Sets the field data from an 8-bit heap descriptor.
Parameter | Description |
---|---|
aDes | 8-bit heap descriptor containing the binary data to copy into the field. |
IMPORT_C void | SetThingL | ( | const CBufBase * | aBuf | ) |
Sets the field data from a buffer.
Parameter | Description |
---|---|
aBuf | Buffer containing the binary data to copy into the field. |
TStreamId | StoreL | ( | CStreamStore & | aStore | ) | const [virtual] |
Reimplemented from CContactFieldStorage::StoreL(CStreamStore &)const
Stores the field data.
Parameter | Description |
---|---|
aStore | Reference to the stream store to which the field data is written. |
Returns: The ID of the stream store.
IMPORT_C HBufC8 * | Thing | ( | ) | const |
Gets a pointer to the binary data stored in the field.
Returns: Pointer to the binary data stored in the field.