Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <APGCLI.H>
Link against: apgrfx.lib

Class CDataRecognitionResultArray

class CDataRecognitionResultArray : public CBase;

Description

This class holds the recognition results of a recognized directory.

Derivation

Members

Defined in CDataRecognitionResultArray:

Inherited from CBase:


Construction and destruction


CDataRecognitionResultArray()

IMPORT_C CDataRecognitionResultArray();

Description

Constructor


~CDataRecognitionResultArray()

IMPORT_C virtual ~CDataRecognitionResultArray();

Description

Destructor

[Top]


Member functions


Path()const

IMPORT_C const TFileName& Path() const;

Description

Returns the path of the recognition results.

Return value

const TBuf &

The path of the recognition results


Count()const

IMPORT_C TUint Count() const;

Description

Returns the number of entries in the CDataRecognitionResultArray.

Return value

TUint

The number of entries in the CDataRecognitionResultArray.


GetDataRecognitionResultL(TDataRecognitionResult &,const TUint)const

IMPORT_C void GetDataRecognitionResultL(TDataRecognitionResult &aResult, const TUint aIndex) const;

Description

Returns the recognition result of the given index.

Parameters

TDataRecognitionResult &aResult

On successful completion, this parameter contains the recognition result at the given index.

const TUint aIndex

The index of the recognition result to be returned. An invalid index causes the function to leave with KErrNotFound.

Leave codes

KErrNotFound

An invalid index is passed


GetFileNameL(TFileName &,const TUint)const

IMPORT_C void GetFileNameL(TFileName &aFileName, const TUint aIndex) const;

Description

Returns the file name of the object at the given index.

Parameters

TBuf &aFileName

On successful completion, this parameter contains the file name of the object at the given index.

const TUint aIndex

Specifies which file name to be returned. An invalid index causes the function to leave with KErrNotFound.

Leave codes

KErrNotFound

An invalid index is passed