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 void CContactFieldStorage_Reserved1 ( ) [private, virtual]

ExternalizeL(RWriteStream &)

void ExternalizeL ( RWriteStream & aStream ) const [virtual]

Externalises the field data.

Parameters

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

InternalizeL(RReadStream &)

void InternalizeL ( RReadStream & aStream ) [virtual]

Internalises the field data.

Parameters

RReadStream & aStream Stream 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 &)

void RestoreL ( CStreamStore & aStore,
RReadStream & aStream
) [virtual]

Restores the field data.

Parameters

CStreamStore & aStore Reference to the store from which the object is to be restored.
RReadStream & aStream Reference to the stream which should be passed to InternalizeL().

SetThingL(const TDesC8 &)

IMPORT_C void SetThingL ( const TDesC8 & aDes )

Sets the field data from an 8-bit descriptor.

Parameters

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

SetThingL(const HBufC8 &)

IMPORT_C void SetThingL ( const HBufC8 & aDes )

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

Parameters

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

SetThingL(const CBufBase *)

IMPORT_C void SetThingL ( const CBufBase * aBuf )

Sets the field data from a buffer.

Parameters

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

StoreL(CStreamStore &)

TStreamId StoreL ( CStreamStore & aStore ) const [virtual]

Stores the field data.

Parameters

CStreamStore & aStore Reference 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]