EPOC   SDK Home Glossary Indexes Previous Next Up

TContactTextDefItem class


Contents


TContactTextDefItem class — Text definition item

Section Contents


Overview

Compatibility

Applications that use this class will not work correctly on a version of EPOC earlier than ER5.

Derivation

Not applicable.

Defined in

cntdb.h

Link against

cntmodel.lib

Description

An item within a text definition (see class CContactTextDef). A TContactTextDefItem has a field type and an optional separator string with a maximum length of 4 characters.


Construction


TContactTextDefItem() — Trivial default C++ constructor

TContactTextDefItem();

Description

The default C++ constructor constructs a TContactTextDefItem. The field type is initialised to KNullUid.


TContactTextDefItem() — C++ constructor with a field type

TContactTextDefItem(TFieldType aFieldType);

Description

The C++ constructor is used to construct the TContactTextDefItem object with a field type.

Arguments

TFieldType aFieldType

The field type.


TContactTextDefItem() — C++ constructor with a field type and a separator

TContactTextDefItem(TFieldType aFieldType, const TDesC& aSeperator);

Description

The C++ constructor is used to construct the TContactTextDefItem object with a field type and a separator string.

Arguments

TFieldType aFieldType

The field type.

const TDesC& aSeperator

The string used to separate fields within the text definition.


Data members

TFieldType iFieldType

The field type.

TBuf<KMaxContactTextSeperator> iSeperator

Specifies the string used to separate the fields within the text definition.

EPOC       SDK Home Glossary Indexes Previous Next Up