CSITtpWordList Class Reference

class CSITtpWordList : public CBase

Class to define word list. The list is used as input parameter for TTP.

SiSpeechRecognitionData.lib
Since
2.8

Inherits from

Constructor & Destructor Documentation

CSITtpWordList()

IMPORT_CCSITtpWordList()[protected]

C++ default constructor.

~CSITtpWordList()

IMPORT_C~CSITtpWordList()[virtual]

Destructor.

Member Functions Documentation

AddL(MDesCArray *)

IMPORT_C voidAddL(MDesCArray *aWords)[virtual]
Use to add a new word
Since
2.8

Parameters

MDesCArray * aWords

AppendPronunciationL(TInt, CSIPronunciationInfo *)

IMPORT_C voidAppendPronunciationL(TIntaIndex,
CSIPronunciationInfo *aPronunciation
)[virtual]
Use to set pronunciation for a word
Since
2.8

Parameters

TInt aIndexIndex of word seqence
CSIPronunciationInfo * aPronunciationPronunciation to be added

AtL(const TInt)

IMPORT_C MDesCArray &AtL(const TIntaIndex)const [virtual]
Use to return word at an index
Since
2.8

Parameters

const TInt aIndexIndex of word

ConstructL()

IMPORT_C voidConstructL()[protected]

By default Symbian 2nd phase constructor is private.

Count()

IMPORT_C TIntCount()const [virtual]
Use to get number of words
Since
2.8

DeleteL(TInt)

IMPORT_C voidDeleteL(TIntaIndex)[virtual]
Use to delete word at an index
Since
2.8

Parameters

TInt aIndexIndex of word

GetPronunciationsL(const TInt, RPointerArray< CSIPronunciationInfo > &)

IMPORT_C voidGetPronunciationsL(const TIntaIndex,
RPointerArray< CSIPronunciationInfo > &aPronunciations
)const [virtual]
Use to get pronunciations for a word
Since
2.8

Parameters

const TInt aIndexIndex of word sequence
RPointerArray< CSIPronunciationInfo > & aPronunciationsArray where to put pronunciations

NewL()

IMPORT_C CSITtpWordList *NewL()[static]

Two-phased constructor.

NewLC()

IMPORT_C CSITtpWordList *NewLC()[static]

Member Data Documentation

RArray< TInt > iIndexArray

RArray< TInt >iIndexArray[private]

RPointerArray< CSIPronunciationInfo > iPronunciationArray

RPointerArray< CSIPronunciationInfo >iPronunciationArray[private]

TAny * iReserved

TAny *iReserved[private]

RPointerArray< MDesCArray > iWordArray

RPointerArray< MDesCArray >iWordArray[private]