class CSDClientResultSet : public CBase |
Class to encapsulate a client recogntion result set This is a lightweight result set formulated for client consumption
8.0
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) |
Private Member Functions | |
---|---|
CSDClientResultSet() | |
void | ConstructL() |
Private Attributes | |
---|---|
TDiagnostic * | iDiagnostic |
TInt | iMaxResults |
RPointerArray< CSDClientResult > | iResultArray |
TInt | iResultCount |
IMPORT_C const CSDClientResult & | At | ( | TInt | aIndex | ) | const |
TInt aIndex | The index of result to return. |
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
Writes the state of the class to a stream.
8.0
RWriteStream & aStream | The stream to write to. |
IMPORT_C void | InternalizeL | ( | RReadStream & | aStream | ) |
Restores the state of the object from a stream.
8.0
RReadStream & aStream | The stream to read from. |
IMPORT_C TInt | MaxResults | ( | ) | const |
Returns the current value of the max number of expected after recognition.
The maximum number of best matches (N-best) expected in the recognition result.
8.0
IMPORT_C CSDClientResultSet * | NewL | ( | ) | [static] |
Two-phased constructor.
CSDClientResultSet object.
IMPORT_C CSDClientResultSet * | NewLC | ( | ) | [static] |
Two-phased constructor. Pushes the newly created object onto the cleanup stack
CSDClientResultSet object.
IMPORT_C TInt | ResultCount | ( | ) | const |
Returns the number of results actually returned after recogntion.
The number of results actually returned after recogntion.
8.0
IMPORT_C void | SetDiagnostic | ( | TDiagnostic & | aDiagnostic | ) |
Sets the diagnostic of this result set.
8.0
TDiagnostic & 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.
8.0
TInt 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.
8.0
TInt aResultCount | The number of results returned by the recognizer. |