#include <app/cntfldst.h>
class CContactStoreField : public CContactFieldStorage, 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().
~CContactStoreField | ( | ) |
void | ExternalizeL | ( | RWriteStream & | aStream | ) | const [virtual] |
Reimplemented from CContactFieldStorage::ExternalizeL(RWriteStream &)const
Externalises the field data.
Parameters | |
---|---|
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.
Parameters | |
---|---|
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.
void | RestoreL | ( | CStreamStore & | aStore, |
RReadStream & | aStream | |||
) | [virtual] |
Reimplemented from CContactFieldStorage::RestoreL(CStreamStore &,RReadStream &)
Restores the field data.
Parameters | |
---|---|
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.
Parameters | |
---|---|
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.
Parameters | |
---|---|
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.
Parameters | |
---|---|
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.
Parameters | |
---|---|
aStore | Reference to the stream store to which the field data is written. |
IMPORT_C HBufC8 * | Thing | ( | ) | const |
Gets a pointer to the binary data stored in the field.