MVPbkContactFieldTextData Class Reference

class MVPbkContactFieldTextData : public MVPbkContactFieldData

Virtual Phonebook Contact field text data. This interface is used to manipulate text contact field data.

Inherits from

Constructor & Destructor Documentation

~MVPbkContactFieldTextData()

~MVPbkContactFieldTextData()[inline, virtual]

Destructor.

Member Functions Documentation

Cast(MVPbkContactFieldData &)

IMPORT_C MVPbkContactFieldTextData &Cast(MVPbkContactFieldData &aFieldData)[static]

Casts MVPbkContactFieldData to this interface.

aFieldData.DataType() == EVPbkFieldStorageTypeText VPbkError::Panic(VPbkError::EFieldDataTypeMismatch) is raised if the precondition does not hold. Casted inteface for the text field data.

Parameters

MVPbkContactFieldData & aFieldDataData of the field.

Cast(const MVPbkContactFieldData &)

IMPORT_C const MVPbkContactFieldTextData &Cast(const MVPbkContactFieldData &aFieldData)[static]

Casts const MVPbkContactFieldData to this interface.

aFieldData.DataType() == EVPbkFieldStorageTypeText VPbkError::Panic(VPbkError::EFieldDataTypeMismatch) is raised if the precondition does not hold. Casted inteface for the text field data.

Parameters

const MVPbkContactFieldData & aFieldDataData of the field.

ContactFieldTextDataExtension(TUid)

TAny *ContactFieldTextDataExtension(TUid)[inline, virtual]

Returns an extension point for this interface or NULL. Extension point or NULL.

Parameters

TUid

DataType()

TVPbkFieldStorageType DataType()const [inline, virtual]

Returns the derived data type id. Contact field storage type.

MaxLength()

TInt MaxLength()const [pure virtual]

Returns maximum length of the field. Maximum length of the field or KVPbkUnlimitedFieldLength if length is only limited by available memory.

SetTextL(const TDesC &)

voidSetTextL(const TDesC &aText)[pure virtual]

Sets the string data.

Parameters

const TDesC & aText

Text()

TPtrC Text()const [pure virtual]

Returns the string data. Pointer to the text data.