Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: speechrecognitiondataclient.h
Link against: speechrecognitiondata.lib

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

Class CSDClientResult

class CSDClientResult : public CBase;

Description

Class to encapsulate a client recognition result. The result is formulated for client consumption.

Derivation

Members

Defined in CSDClientResult:
GrammarID(), NewL(), NewL(), NewLC(), NewLC(), RuleID(), SetGrammarID(), SetRuleID(), ~CSDClientResult()

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


Construction and destruction


~CSDClientResult()

IMPORT_C ~CSDClientResult();

Description

Destructor.


NewL()

static IMPORT_C CSDClientResult *NewL();

Description

Two-phased constructor. Creates an uninitialised recognition result.

Can leave with one of the system-wide error codes

Return value

CSDClientResult *

CSDClientResult object


NewLC()

static IMPORT_C CSDClientResult *NewLC();

Description

Two-phased constructor. Creates an uninitialised recognition result. A copy of the newly created class is pushed onto the cleanup stack.

Can leave with one of the system-wide error codes.

Return value

CSDClientResult *

CSDClientResult object


NewL()

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

Description

Two-phased constructor. Creates a result with a grammar and rule ID.

Can leave with one of the system-wide error codes.

Parameters

TGrammarID aGrammarID

The grammar ID of the result.

TRuleID aRuleID

The rule ID of the result.

Return value

CSDClientResult *

CSDClientResult object.


NewLC()

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

Description

Two-phased constructor. Creates a result with a grammar and rule ID. A copy of the newly created class is pushed onto the cleanup stack.

Can leave with one of the system-wide error codes.

Parameters

TGrammarID aGrammarID

The grammar ID of the result

TRuleID aRuleID

The rule ID of the result

Return value

CSDClientResult *

CSDClientResult 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

Retrieves the grammar ID of the result.

Return value

TGrammarID

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.