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_C CSITtpWordList ( ) [protected]

C++ default constructor.

~CSITtpWordList()

IMPORT_C ~CSITtpWordList ( ) [virtual]

Destructor.

Member Functions Documentation

AddL(MDesCArray *)

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

Parameters

MDesCArray * aWords

AppendPronunciationL(TInt, CSIPronunciationInfo *)

IMPORT_C void AppendPronunciationL ( TInt aIndex,
CSIPronunciationInfo * aPronunciation
) [virtual]
Use to set pronunciation for a word
Since
2.8

Parameters

TInt aIndex Index of word seqence
CSIPronunciationInfo * aPronunciation Pronunciation to be added

AtL(const TInt)

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

Parameters

const TInt aIndex Index of word

ConstructL()

IMPORT_C void ConstructL ( ) [protected]

By default Symbian 2nd phase constructor is private.

Count()

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

DeleteL(TInt)

IMPORT_C void DeleteL ( TInt aIndex ) [virtual]
Use to delete word at an index
Since
2.8

Parameters

TInt aIndex Index of word

GetPronunciationsL(const TInt, RPointerArray< CSIPronunciationInfo > &)

IMPORT_C void GetPronunciationsL ( const TInt aIndex,
RPointerArray < CSIPronunciationInfo > & aPronunciations
) const [virtual]
Use to get pronunciations for a word
Since
2.8

Parameters

const TInt aIndex Index of word sequence
RPointerArray < CSIPronunciationInfo > & aPronunciations Array 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]