Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: speechrecognitiondatadevasr.h
Link against: speechrecognitiondata.lib

This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.

Class CSDResult

class CSDResult : public CBase;

Description

Class to encapsulate a Recognition Result

Derivation

Members

Defined in CSDResult:
GrammarID(), NewL(), NewL(), NewLC(), NewLC(), RuleID(), Score(), SetGrammarID(), SetRuleID(), SetScore(), ~CSDResult()

Inherited from CBase:
Delete(), Extension_(), operator new()


Construction and destruction


~CSDResult()

IMPORT_C ~CSDResult();

Description

Destructor.


NewL()

static IMPORT_C CSDResult *NewL();

Description

Instantiates an instance of a CSDResult.

Return value

CSDResult *

A pointer to a CSDResult object.


NewLC()

static IMPORT_C 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()

static IMPORT_C 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()

static IMPORT_C 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()

IMPORT_C void SetGrammarID(TGrammarID aGrammarID);

Description

Sets the grammar ID on the result.

Parameters

TGrammarID aGrammarID

The grammar identifier.


GrammarID()

IMPORT_C TGrammarID GrammarID() const;

Description

Returns the grammar ID of the result.

Return value

TGrammarID

The grammar identifier.


SetRuleID()

IMPORT_C void SetRuleID(TRuleID aRuleID);

Description

Sets the rule ID of the result.

Parameters

TRuleID aRuleID

The rule identifier.


RuleID()

IMPORT_C TRuleID RuleID() const;

Description

Returns the rule ID of the result.

Return value

TRuleID

The rule identifier.


SetScore()

IMPORT_C void SetScore(const TInt32 aScore);

Description

Sets the score for this result.

Parameters

const TInt32 aScore

The score of this result.


Score()

IMPORT_C TInt32 Score() const;

Description

Returns the score of this result.

Return value

TInt32

The score of this result.