CSDClientResult Class Reference

class CSDClientResult : public CBase

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

Since
8.0

Inherits from

Constructor & Destructor Documentation

CSDClientResult()

CSDClientResult ( ) [private]

CSDClientResult(TGrammarID, TRuleID)

CSDClientResult ( TGrammarID aGrammarID,
TRuleID aRuleID
) [private]

Parameters

TGrammarID aGrammarID
TRuleID aRuleID

~CSDClientResult()

IMPORT_C ~CSDClientResult ( )

Destructor.

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

ExternalizeL(RWriteStream &)

void ExternalizeL ( RWriteStream & aStream ) const

Writes the class to a stream.

Since
8.0

Parameters

RWriteStream & aStream A RWriteStream to write the class to.

GrammarID()

IMPORT_C TGrammarID GrammarID ( ) const

Retrieves the grammar ID of the result.

Since
8.0

InternalizeL(RReadStream &)

void InternalizeL ( RReadStream & aStream )

Reads the class from a stream.

Since
8.0

Parameters

RReadStream & aStream A 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

NewL(TGrammarID, TRuleID)

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

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.

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.

NewLC(TGrammarID, TRuleID)

IMPORT_C CSDClientResult * NewLC ( TGrammarID aGrammarID,
TRuleID aRuleID
) [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.

Parameters

TGrammarID aGrammarID The grammar ID of the result
TRuleID aRuleID The rule ID of the result

RuleID()

IMPORT_C TRuleID RuleID ( ) const

Returns the rule ID of the 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.

Member Data Documentation

TGrammarID iGrammarID

TGrammarID iGrammarID [private]

TRuleID iRuleID

TRuleID iRuleID [private]