CSDResult Class Reference

class CSDResult : public CBase

Class to encapsulate a Recognition Result

Since
8.0

Inherits from

Constructor & Destructor Documentation

CSDResult()

CSDResult ( ) [private]

CSDResult(TGrammarID, TRuleID)

CSDResult ( TGrammarID aGrammarID,
TRuleID aRuleID
) [private]

Parameters

TGrammarID aGrammarID
TRuleID aRuleID

~CSDResult()

IMPORT_C ~CSDResult ( )

Destructor.

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

GrammarID()

IMPORT_C TGrammarID GrammarID ( ) const

Returns the grammar ID of the result.

Since
8.0

NewL()

IMPORT_C CSDResult * NewL ( ) [static]

Instantiates an instance of a CSDResult .

NewL(TGrammarID, TRuleID)

IMPORT_C CSDResult * NewL ( TGrammarID aGrammarID,
TRuleID aRuleID
) [static]

Instantiates an instance of a CSDResult .

Parameters

TGrammarID aGrammarID The grammar identifier.
TRuleID aRuleID The rule identifier.

NewLC()

IMPORT_C CSDResult * NewLC ( ) [static]

Instantiates an instance of CSDResult and leaves a pointer on the cleanup stack.

NewLC(TGrammarID, TRuleID)

IMPORT_C CSDResult * NewLC ( TGrammarID aGrammarID,
TRuleID aRuleID
) [static]

Instantiates an instance of a CSDResult and leaves a pointer on the cleanup stack.

Parameters

TGrammarID aGrammarID The grammar identifier.
TRuleID aRuleID The rule identifier.

RuleID()

IMPORT_C TRuleID RuleID ( ) const

Returns the rule ID of the result.

Since
8.0

Score()

IMPORT_C TInt32 Score ( ) const

Returns the score of this result.

Since
8.0

SetGrammarID(TGrammarID)

IMPORT_C void SetGrammarID ( TGrammarID aGrammarID )

Sets the grammar ID on the result.

Since
8.0

Parameters

TGrammarID aGrammarID The grammar identifier.

SetRuleID(TRuleID)

IMPORT_C void SetRuleID ( TRuleID aRuleID )

Sets the rule ID of the result.

Since
8.0

Parameters

TRuleID aRuleID The rule identifier.

SetScore(const TInt32)

IMPORT_C void SetScore ( const TInt32 aScore )

Sets the score for this result.

Since
8.0

Parameters

const TInt32 aScore The score of this result.

Member Data Documentation

TGrammarID iGrammarID

TGrammarID iGrammarID [private]

TRuleID iRuleID

TRuleID iRuleID [private]

TInt32 iScore

TInt32 iScore [private]