CContactStoreField Class Reference

class CContactStoreField : public CContactFieldStorage

Provides access to the binary field data stored in an 8-bit descriptor.

An object of this class can be retrieved using CContactItemField::StoreStorage().

Inherits from

Constructor & Destructor Documentation

~CContactStoreField()

~CContactStoreField()

Member Functions Documentation

CContactFieldStorage_Reserved1()

IMPORT_C voidCContactFieldStorage_Reserved1()[private, virtual]

ExternalizeL(RWriteStream &)

voidExternalizeL(RWriteStream &aStream)const [virtual]

Externalises the field data.

Parameters

RWriteStream & aStreamWrite stream to which the contents of the field should be externalised.

InternalizeL(RReadStream &)

voidInternalizeL(RReadStream &aStream)[virtual]

Internalises the field data.

Parameters

RReadStream & aStreamStream from which the the contents of the field should be internalised.

IsFull()

TBool IsFull()const [virtual]

Tests whether the field storage contains data.

RestoreL(CStreamStore &, RReadStream &)

voidRestoreL(CStreamStore &aStore,
RReadStream &aStream
)[virtual]

Restores the field data.

Parameters

CStreamStore & aStoreReference to the store from which the object is to be restored.
RReadStream & aStreamReference to the stream which should be passed to InternalizeL().

SetThingL(const TDesC8 &)

IMPORT_C voidSetThingL(const TDesC8 &aDes)

Sets the field data from an 8-bit descriptor.

Parameters

const TDesC8 & aDes8-bit descriptor containing the binary data to copy into the field.

SetThingL(const HBufC8 &)

IMPORT_C voidSetThingL(const HBufC8 &aDes)

Sets the field data from an 8-bit heap descriptor.

Parameters

const HBufC8 & aDes8-bit heap descriptor containing the binary data to copy into the field.

SetThingL(const CBufBase *)

IMPORT_C voidSetThingL(const CBufBase *aBuf)

Sets the field data from a buffer.

Parameters

const CBufBase * aBufBuffer containing the binary data to copy into the field.

StoreL(CStreamStore &)

TStreamId StoreL(CStreamStore &aStore)const [virtual]

Stores the field data.

Parameters

CStreamStore & aStoreReference to the stream store to which the field data is written.

Thing()

IMPORT_C HBufC8 *Thing()const

Gets a pointer to the binary data stored in the field.

Member Data Documentation

HBufC8 * iThing

HBufC8 *iThing[private]