Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <SpeechRecognitionDataDevASR.h>
Link against: speechrecognitiondata.lib
This item is not part of the S60 5th Edition SDK

Class CSDResult

class CSDResult : public CBase;

Description

Class to encapsulate a Recognition Result

Derivation

Members

Defined in CSDResult:

Inherited from CBase:


Construction and destruction


~CSDResult()

IMPORT_C ~CSDResult();

Description

Destructor.


NewL()

IMPORT_C static CSDResult* NewL();

Description

Instantiates an instance of a CSDResult.

Return value

CSDResult *

A pointer to a CSDResult object.


NewLC()

IMPORT_C static CSDResult* NewLC();

Description

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

Return value

CSDResult *

A pointer to a CSDResult object.


NewL(TGrammarID,TRuleID)

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

Description

Instantiates an instance of a CSDResult.

Parameters

TGrammarID aGrammarID

The grammar identifier.

TRuleID aRuleID

The rule identifier.

Return value

CSDResult *

A pointer to a CSDResult object.


NewLC(TGrammarID,TRuleID)

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

Description

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.

Return value

CSDResult *

A pointer to a CSDResult object.

[Top]


Member functions


SetGrammarID(TGrammarID)

IMPORT_C void SetGrammarID(TGrammarID aGrammarID);

Description

Sets the grammar ID on the result.

Parameters

TGrammarID aGrammarID

The grammar identifier.


GrammarID()const

IMPORT_C TGrammarID GrammarID() const;

Description

Returns the grammar ID of the result.

Return value

TGrammarID

The grammar identifier.


SetRuleID(TRuleID)

IMPORT_C void SetRuleID(TRuleID aRuleID);

Description

Sets the rule ID of the result.

Parameters

TRuleID aRuleID

The rule identifier.


RuleID()const

IMPORT_C TRuleID RuleID() const;

Description

Returns the rule ID of the result.

Return value

TRuleID

The rule identifier.


SetScore(const TInt32)

IMPORT_C void SetScore(const TInt32 aScore);

Description

Sets the score for this result.

Parameters

const TInt32 aScore

The score of this result.


Score()const

IMPORT_C TInt32 Score() const;

Description

Returns the score of this result.

Return value

TInt32

The score of this result.