CContactTextField Class Reference

class CContactTextField : public CContactFieldStorage

Provides access to the text stored in a contact item field.

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

Inherits from

Constructor & Destructor Documentation

~CContactTextField()

IMPORT_C~CContactTextField()

Member Functions Documentation

CContactFieldStorage_Reserved1()

IMPORT_C voidCContactFieldStorage_Reserved1()[private, virtual]

EncodeL(const TDesC &, TUid)

HBufC *EncodeL(const TDesC &aText,
TUidaConversion
)const [private]

Parameters

const TDesC & aText
TUid aConversion

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.

ExternalizeL(RWriteStream &, TBool, TInt)

voidExternalizeL(RWriteStream &aStream,
TBoolaIsInlineBlob,
TIntaTextFieldIndex
)const

Parameters

RWriteStream & aStream
TBool aIsInlineBlob
TInt aTextFieldIndex

InternalizeL(HBufC *, TInt)

voidInternalizeL(HBufC *aTextStream,
TIntaTextFieldIndex
)

Parameters

HBufC * aTextStream
TInt aTextFieldIndex

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.

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

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().

SetStandardTextArray(MDesCArray *)

IMPORT_C voidSetStandardTextArray(MDesCArray *anArray)

Parameters

MDesCArray * anArray

SetStandardTextL(const TDesC &)

IMPORT_C voidSetStandardTextL(const TDesC &aText)

Parameters

const TDesC & aText

SetText(HBufC *)

IMPORT_C voidSetText(HBufC *aHbuf)

Parameters

HBufC * aHbuf

SetTextArray(MDesCArray *)

IMPORT_C voidSetTextArray(MDesCArray *anArray)

Parameters

MDesCArray * anArray

SetTextL(const TDesC &)

IMPORT_C voidSetTextL(const TDesC &aText)

Parameters

const TDesC & aText

StandardTextLC()

IMPORT_C TPtrCStandardTextLC()const

StoreL(CStreamStore &)

TStreamId StoreL(CStreamStore &aStore)const [virtual]

Stores the field data.

The ID of the stream store.

Parameters

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

Text()

IMPORT_C TPtrCText()const

Member Data Documentation

HBufC * iText

HBufC *iText[private]