#include <mmf/common/speechrecognitiondataclient.h>
class CSDClientResultSet : public CBase |
Public Member Functions | |
---|---|
~CSDClientResultSet() | |
IMPORT_C const CSDClientResult & | At(TInt) |
IMPORT_C const TDiagnostic & | Diagnostic() |
IMPORT_C void | ExternalizeL(RWriteStream &) |
IMPORT_C void | InternalizeL(RReadStream &) |
IMPORT_C TInt | MaxResults() |
IMPORT_C CSDClientResultSet * | NewL() |
IMPORT_C CSDClientResultSet * | NewLC() |
IMPORT_C TInt | ResultCount() |
IMPORT_C void | SetDiagnostic(TDiagnostic &) |
IMPORT_C void | SetMaxResultsL(TInt) |
IMPORT_C void | SetResultCount(TInt) |
Class to encapsulate a client recogntion result set This is a lightweight result set formulated for client consumption
IMPORT_C const CSDClientResult & | At | ( | TInt | aIndex | ) | const |
Returns a result at a given index within the result set.
Parameter | Description |
---|---|
aIndex | The index of result to return. |
Returns: A pointer to CSDClientResult object.
IMPORT_C const TDiagnostic & | Diagnostic | ( | ) | const |
Gets the diagnostic of this result set.
Returns: A reference to TDiagnostic object.
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
Writes the state of the class to a stream.
Parameter | Description |
---|---|
aStream | The stream to write to. |
IMPORT_C void | InternalizeL | ( | RReadStream & | aStream | ) |
Restores the state of the object from a stream.
Parameter | Description |
---|---|
aStream | The stream to read from. |
IMPORT_C TInt | MaxResults | ( | ) | const |
Returns the current value of the max number of expected after recognition.
Returns: The maximum number of best matches (N-best) expected in the recognition result.
IMPORT_C CSDClientResultSet * | NewL | ( | ) | [static] |
Two-phased constructor.
Returns: CSDClientResultSet object.
IMPORT_C CSDClientResultSet * | NewLC | ( | ) | [static] |
Two-phased constructor. Pushes the newly created object onto the cleanup stack
Returns: CSDClientResultSet object.
IMPORT_C TInt | ResultCount | ( | ) | const |
Returns the number of results actually returned after recogntion.
Returns: The number of results actually returned after recogntion.
IMPORT_C void | SetDiagnostic | ( | TDiagnostic & | aDiagnostic | ) |
Sets the diagnostic of this result set.
Parameter | Description |
---|---|
aDiagnostic | The reference to the diagostic object. |
IMPORT_C void | SetMaxResultsL | ( | TInt | aMaxResults | ) |
Sets the maximum number of best matches (N-best) expected in the recognition result after recognition.
Parameter | Description |
---|---|
aMaxResults | The maximum number of matches expected in the recognition result. |
IMPORT_C void | SetResultCount | ( | TInt | aResultCount | ) |
Sets the number of results actually returned after recogntion.
Parameter | Description |
---|---|
aResultCount | The number of results returned by the recognizer. |