CContactStoreField Class Reference

#include <app/cntfldst.h>

class CContactStoreField : public CContactFieldStorage

Inherits from

Detailed Description

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

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

Constructor & Destructor Documentation

~CContactStoreField ( )

~CContactStoreField()

Member Function Documentation

ExternalizeL ( RWriteStream & )

voidExternalizeL(RWriteStream &aStream)const [virtual]

Externalises the field data.

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

InternalizeL ( RReadStream & )

voidInternalizeL(RReadStream &aStream)[virtual]

Internalises the field data.

ParameterDescription
aStreamStream from which the the contents of the field should be internalised.

IsFull ( )

TBool IsFull()const [virtual]

Tests whether the field storage contains data.

Returns: True if the field storage contains data, false if not.

RestoreL ( CStreamStore &, RReadStream & )

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

Restores the field data.

ParameterDescription
aStoreReference to the store from which the object is to be restored.
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.

ParameterDescription
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.

ParameterDescription
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.

ParameterDescription
aBufBuffer containing the binary data to copy into the field.

StoreL ( CStreamStore & )

TStreamId StoreL(CStreamStore &aStore)const [virtual]

Stores the field data.

ParameterDescription
aStoreReference to the stream store to which the field data is written.

Returns: The ID of the stream store.

Thing ( )

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.