CSDClientResult Class Reference

class CSDClientResult : public CBase

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

8.0

Inherits from

Constructor & Destructor Documentation

CSDClientResult()

CSDClientResult()[private]

CSDClientResult(TGrammarID, TRuleID)

CSDClientResult(TGrammarIDaGrammarID,
TRuleIDaRuleID
)[private]

Parameters

TGrammarID aGrammarID
TRuleID aRuleID

~CSDClientResult()

IMPORT_C~CSDClientResult()

Destructor.

Member Functions Documentation

ConstructL()

voidConstructL()[private]

ExternalizeL(RWriteStream &)

voidExternalizeL(RWriteStream &aStream)const

Writes the class to a stream.

8.0

Parameters

RWriteStream & aStreamA RWriteStream to write the class to.

GrammarID()

IMPORT_C TGrammarIDGrammarID()const

Retrieves the grammar ID of the result.

Grammar identifier.

8.0

InternalizeL(RReadStream &)

voidInternalizeL(RReadStream &aStream)

Reads the class from a stream.

8.0

Parameters

RReadStream & aStreamA RReadStream to read from.

NewL()

IMPORT_C CSDClientResult *NewL()[static]

Two-phased constructor. Creates an uninitialised recognition result.

Can leave with one of the system-wide error codes

CSDClientResult object

NewL(TGrammarID, TRuleID)

IMPORT_C CSDClientResult *NewL(TGrammarIDaGrammarID,
TRuleIDaRuleID
)[static]

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

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

CSDClientResult object.

Parameters

TGrammarID aGrammarIDThe grammar ID of the result.
TRuleID aRuleIDThe rule ID of the result.

NewLC()

IMPORT_C CSDClientResult *NewLC()[static]

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.

CSDClientResult object

NewLC(TGrammarID, TRuleID)

IMPORT_C CSDClientResult *NewLC(TGrammarIDaGrammarID,
TRuleIDaRuleID
)[static]

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.

CSDClientResult object.

Parameters

TGrammarID aGrammarIDThe grammar ID of the result
TRuleID aRuleIDThe rule ID of the result

RuleID()

IMPORT_C TRuleIDRuleID()const

Returns the rule ID of the result.

The rule identifier.

8.0

SetGrammarID(TGrammarID)

IMPORT_C voidSetGrammarID(TGrammarIDaGrammarID)

Sets the grammar ID on the result.

8.0

Parameters

TGrammarID aGrammarIDThe grammar identifier.

SetRuleID(TRuleID)

IMPORT_C voidSetRuleID(TRuleIDaRuleID)

Sets the rule ID of the result.

8.0

Parameters

TRuleID aRuleIDThe rule identifier.

Member Data Documentation

TGrammarID iGrammarID

TGrammarID iGrammarID[private]

TRuleID iRuleID

TRuleID iRuleID[private]