TContactTextDefItem Class Reference

class TContactTextDefItem

An item in a text definition.

A TContactTextDefItem has a field type and an optional separator string with a maximum length of 4 characters.

CContactTextDef

Constructor & Destructor Documentation

TContactTextDefItem()

IMPORT_CTContactTextDefItem()

Default constructor; initialises the field type to KNullUid.

TContactTextDefItem(TFieldType)

IMPORT_CTContactTextDefItem(TFieldTypeaFieldType)

Constructs the text definition item with a field type.

Parameters

TFieldType aFieldTypeThe field type.

TContactTextDefItem(TFieldType, const TDesC &)

IMPORT_CTContactTextDefItem(TFieldTypeaFieldType,
const TDesC &aSeperator
)

C++ constructor with a field type and a separator string.

Parameters

TFieldType aFieldTypeThe field type.
const TDesC & aSeperatorThe string used to separate fields in the text definition.

Member Data Documentation

TFieldType iFieldType

TFieldType iFieldType

The field type.

TBuf< KMaxContactTextSeperator > iSeperator

TBuf< KMaxContactTextSeperator >iSeperator

The string used to separate the fields in the text definition.