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().
Public Member Functions | |
---|---|
~CContactTextField() | |
void | ExternalizeL(RWriteStream &) |
void | ExternalizeL(RWriteStream &, TBool, TInt) |
void | InternalizeL(HBufC *, TInt) |
void | InternalizeL(RReadStream &) |
TBool | IsFull() |
void | RestoreL(CStreamStore &, RReadStream &) |
IMPORT_C void | SetStandardTextArray(MDesCArray *) |
IMPORT_C void | SetStandardTextL(const TDesC &) |
IMPORT_C void | SetText(HBufC *) |
IMPORT_C void | SetTextArray(MDesCArray *) |
IMPORT_C void | SetTextL(const TDesC &) |
IMPORT_C TPtrC | StandardTextLC() |
TStreamId | StoreL(CStreamStore &) |
IMPORT_C TPtrC | Text() |
Private Member Functions | |
---|---|
IMPORT_C void | CContactFieldStorage_Reserved1() |
HBufC * | EncodeL(const TDesC &, TUid) |
Private Attributes | |
---|---|
HBufC * | iText |
void | ExternalizeL | ( | RWriteStream & | aStream | ) | const [virtual] |
Externalises the field data.
RWriteStream & aStream | Write stream to which the contents of the field should be externalised. |
void | ExternalizeL | ( | RWriteStream & | aStream, |
TBool | aIsInlineBlob, | |||
TInt | aTextFieldIndex | |||
) | const |
RWriteStream & aStream | |
TBool aIsInlineBlob | |
TInt aTextFieldIndex |
void | InternalizeL | ( | RReadStream & | aStream | ) | [virtual] |
Internalises the field data.
RReadStream & aStream | Stream from which the the contents of the field should be internalised. |
TBool | IsFull | ( | ) | const [virtual] |
Tests whether the field storage contains data.
True if the field storage contains data, false if not.
void | RestoreL | ( | CStreamStore & | aStore, |
RReadStream & | aStream | |||
) | [virtual] |
Restores the field data.
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(). |
IMPORT_C void | SetStandardTextArray | ( | MDesCArray * | anArray | ) |
MDesCArray * anArray |
IMPORT_C void | SetStandardTextL | ( | const TDesC & | aText | ) |
const TDesC & aText |
IMPORT_C void | SetTextArray | ( | MDesCArray * | anArray | ) |
MDesCArray * anArray |
TStreamId | StoreL | ( | CStreamStore & | aStore | ) | const [virtual] |
Stores the field data.
The ID of the stream store.
CStreamStore & aStore | Reference to the stream store to which the field data is written. |