| class CTruiPtiEngine : public CBase |
| Private Member Functions | |
|---|---|
| CTruiPtiEngine () | |
| void | ConstructL ( CHwrRecognizer *) |
| void | ConvertUdmRange ( THwrUdmRange &) |
| Private Attributes | |
|---|---|
| TInt | iBl |
| RFs | iFsSession |
| TInt | iHl |
| CHwrRecognizer * | iHwrEngine |
| CSymbolList * | iPreSetList |
| TInt | iScript |
| TFixedArray < CSymbolList *, EUdmMax > | iSymboList |
| void | ChangeShortcutTextL | ( | const TDesC & | aOldText, |
| const TDesC & | aNewText | |||
| ) | ||||
Change the text of an existing shortcut
| TBool | CharacterModelExist | ( | const TDesC & | aChar | ) |
Check if character has model
| const TDesC & aChar | The character which is checked |
| TBool | CheckShortcutModel | ( | const TDesC & | aText | ) |
Check if shortcut has model
| const TDesC & aText | The shortcut which is checked |
| void | ConstructL | ( | CHwrRecognizer * | aHwrEngine | ) | [private] |
| CHwrRecognizer * aHwrEngine |
| void | ConvertUdmRange | ( | THwrUdmRange & | aRange | ) | [private] |
Change the query strategy.
| THwrUdmRange & aRange | The range to change |
| TInt | DeleteCharacterModel | ( | const TDesC & | aChar | ) |
Delete character model
| const TDesC & aChar | Delete this character's model |
| TInt | DeleteShortcutModel | ( | const TDesC & | aText | ) |
Delete Shortcut model
| const TDesC & aText | Delete this Shortcut's model |
| void | GetAllPresetSymbolsL | ( | RArray < TUint > & | aPresets | ) |
Return all unicodes of preset text stored in PTI engine
| void | GetCharacterModelL | ( | const TDesC & | aChar, |
| RArray < TPoint > & | aModel | |||
| ) | ||||
Get character model
| TInt | GetGuidingLinePos | ( | const TSize & | aSize, |
| TInt & | aTop, | |||
| TInt & | aBottom | |||
| ) | ||||
Get guiding line pos
| void | GetModelIndexListL | ( | TUdmType | aType, |
| RArray < TInt > & | aList, | |||
| const THwrUdmRange & | aRange | |||
| ) | ||||
Get the indexes of the symbol modles spcified by aRange.
| TUdmType aType | Shall set the value of TUdmType |
| RArray < TInt > & aList | Store the indexed of the found symbol models. |
| const THwrUdmRange & aRange | Udm Range |
| void | GetPresetSymbolByUnicodeL | ( | TUint | aUnicode, |
| RArray < TPoint > & | aModel, | |||
| TDes & | aShortcut | |||
| ) | ||||
Get trails assigned to a preset text.
| void | GetShortcutModelL | ( | const TDesC & | aText, |
| RArray < TPoint > & | aModel, | |||
| TUint & | aUnicode | |||
| ) | ||||
Get Shortcut model
| void | GetShortcutTextListL | ( | RPointerArray < HBufC > & | aShortcutTextList | ) |
Get text list of all the shortcuts
| RPointerArray < HBufC > & aShortcutTextList | The text list. |
| void | GetSymbolModelL | ( | TUdmType | aType, |
| TInt | aIndex, | |||
| TPtrC & | aSymbolName, | |||
| RArray < TPoint > & | aModel, | |||
| TInt & | aHelpLine, | |||
| TInt & | aBaseLine | |||
| ) | ||||
Get the model properties of the specified index
| void | LoadUdmL | ( | TUdmType | aType | ) |
Load the aType models to memory.
| TUdmType aType | Shall set the value of TUdmType |
| CTruiPtiEngine * | NewL | ( | CHwrRecognizer * | aHwrEngine | ) | [static] |
Two phase constructor.
| CHwrRecognizer * aHwrEngine |
| CTruiPtiEngine * | NewLC | ( | CHwrRecognizer * | aHwrEngine | ) | [static] |
Two phase constructor.
| CHwrRecognizer * aHwrEngine |
| void | SavePresetShortcutL | ( | TUint | aUnicode, |
| const TDesC & | aShortcut | |||
| ) | ||||
Save preset shortcuts.
| void | SetCharacterModelL | ( | const TDesC & | aChar, |
| RArray < TPoint > & | aModel, | |||
| TInt | aSubRange, | |||
| TDes & | aSimilarChar | |||
| ) | ||||
Set character model
| void | SetLanguageScriptL | ( | TInt | aLanguageScript | ) |
Set current trained character's Language Script
| TInt aLanguageScript | current trained character's Language Script |
| void | SetShortcutModelL | ( | const TDesC & | aText, |
| RArray < TPoint > & | aModel, | |||
| TDes & | aSimilarText | |||
| ) | ||||
Set Shortcut model
| void | UnLoadUdm | ( | TUdmType | aType | ) |
UnLoad the aType models to memory.
| TUdmType aType | Shall set the value of TUdmType |
| TFixedArray < CSymbolList *, EUdmMax > | iSymboList | [private] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.