CNssVASDatabase Class Reference
| class CNssVASDatabase : public CBase |
The CNssVasDatabase class definition.
Constructor & Destructor Documentation
CNssVASDatabase(TInt)
| CNssVASDatabase | ( | TInt | aPriority | ) | [private] |
Member Functions Documentation
AddObserverL(MNssVASDatabaseObserver *)
Method use to add observers to vas database.
- Since
- 2.0
CloseDatabase()
Method to close vas database.
- Since
- 2.0
ConstructL()
| void | ConstructL | ( | ) | [private] |
ConvertTNssTagRefToMNssTagRefL(TNssTagReferenceListArray *, CArrayPtrFlat< MNssTagReference > *)
CreateDb()
Method to create vas database
- Since
- 2.0
DeleteContext(const TDesC &)
Method to delete context by name.
- Since
- 2.0
DeleteContext(CNssContext *)
Method to delete context.
- Since
- 2.0
DeleteTag(const TDesC &)
Method to delete tag by name.
- Since
- 2.0
DeleteTag(CNssTag *)
Initiate the Select Tag event.
- Since
- 2.0
Parameters
| CNssTag * aTag | The voice tag which was selected. |
DeleteTag(const TUint32)
Method to delete a tag by id
- Since
- 2.0
DeleteTags(const RArray< TUint32 > &)
Method to delete several tags.
- Since
- 2.8
GetAllContexts()
Method to get all contexts.
- Since
- 2.0
GetContext(const TDesC &)
Method to get context by name
- Since
- 2.0
Parameters
| const TDesC & aName | - The name of the context. |
GetDefaultModelBankId(TUint32 &)
Method to get the default model bank id
- Since
- 2.8
Parameters
| TUint32 & aId | reference where to put the model bank Id |
GetGlobalContexts()
Method to get all global contexts.
- Since
- 2.0
GetTag(const TDesC &)
Method to get a tag by name.
- Since
- 2.0
GetTag(CNssContext *)
Initiate the Select Tag event.
- Since
- 2.0
GetTag(const TInt, const TInt)
Method to get tag by grammar id and rule id.
- Since
- 2.0
Parameters
| const TInt aGrammarID | |
| const TInt aRuleID | |
GetTag(CNssContext *, const TDesC &)
Method to get a tag by context and name.
- Since
- 2.0
Parameters
| CNssContext * aContext | - The context of the tag. |
| const TDesC & aName | - The name of the tag. |
GetTag(const TUint32)
Method to get a tag by tagid.
- Since
- 2.0
Parameters
| const TUint32 aTagId | - The tagid of the voice tag. |
GetTagList(CNssContext *, TInt, TInt)
Method to get tags based on a rrd int value and position
- Since
- 2.0
Parameters
| CNssContext * aContext | |
| TInt aNum | - The rrd int value |
| TInt aPosition | - The int value position in the rrd intarray |
GetTagList(CNssContext *, TDesC &, TInt)
Method to get tags based on a rrd text value and position
- Since
- 2.0
Parameters
| CNssContext * aContext | |
| TDesC & aText | - The rrd text value |
| TInt aPosition | - The text value position in the rrd textarray |
GetTagReferenceList(CNssContext *)
GetTags(TNssGrammarIdRuleIdListArray &)
Method to tags by theirgrammar id and rule id.
ModelBankAndLexiconExist(TUint32 &, TUint32 &)
Method to determine if modelbank and lexicon ids exist.
- Since
- 2.0
OpenDatabase()
Method to open vas database
- Since
- 2.0
RemoveObserver(MNssVASDatabaseObserver *)
Method used to stop observering vas database.
- Since
- 2.0
ResetModelBank(TUint32)
Modifies the context table so that all contexts start using the new id as their model bank id.
- Since
- 2.8
SaveContext(CNssContext *, TInt &)
Method to save context.
- Since
- 2.0
SaveContextClientData(CNssContext *)
Updates the client data of the context
- Since
- 2.8
SaveTag(CNssTag *, TInt &)
Method to save a tag.
- Since
- 2.0
SaveTags(RPointerArray< CNssTag > *)
Method to save several tags.
- Since
- 2.8
StartMonitoringDatabaseL()
| void | StartMonitoringDatabaseL | ( | ) | |
Method use to start monitoring vas database.
- Since
- 2.0
TagCount(CNssContext *)
Method to get the number of tags for a context
- Since
- 2.0
TagExist(CNssContext *)
Method to determine if tags exist for a context
- Since
- 2.0
TransferContextList()
|
TInt
| TransferContextList | ( | ) | |
Method to transfer context list to client side.
- Since
- 2.0
TransferTagList()
Method to transfer tag list to client side.
- Since
- 2.0
TransferTagReferenceList()
|
TInt
| TransferTagReferenceList | ( | ) | |
UpdateTagRuleIDs(const RArray< TNssSpeechItem > &)
Changes the Rule ID of some tags. When an already trained tag is retrained, the Rule ID changes. This function updates the change to VAS DB.
- Since
- 2.8
Member Enumerations Documentation
Enum TState
Enumerators
| EStateGetContext = 0 | |
| EStateTransferContext | |
| EStateGetTag | |
| EStateTransferTag | |
| EStateDeleteContext | |
| EStateDeleteTag | |
| EStateSaveContext | |
| EStateSaveTag | |
| EStateGetTagReference | |
| EStateTransferTagReference | |
Member Data Documentation
CArrayPtrFlat< CNssContext > * iCNssContextList
CArrayPtrFlat< CNssTag > * iCNssTagList
CArrayPtrFlat< CNssTagReference > * iCNssTagRefList
CNssContextBuilder * iContextBuilder
TPckgCTNssGrammarIdRuleId * iGrammarIdRuleIdPackage
CNssSpeechItemBuilder * iSpeechItemBuilder
TNssGrammarIdRuleId
iTNssGrammarIdRuleId
TNssTagReferenceListArray * iTNssTagRefList
CNssVASDBEventMonitor * iVASDBEventMonitor
CNssVasDb * iVasDb
| CNssVasDb * | iVasDb | [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.