CDataRecognitionResultArray Class Reference

#include <mw/apgcli.h>

class CDataRecognitionResultArray : public CBase, public CBase

Inherits from

Detailed Description

This class holds the MIME-type recognition results of a recognized directory.

Constructor & Destructor Documentation

CDataRecognitionResultArray ( )

IMPORT_CCDataRecognitionResultArray()

Constructor

~CDataRecognitionResultArray ( )

IMPORT_C~CDataRecognitionResultArray()

Destructor

Member Function Documentation

Count ( )

IMPORT_C TUintCount()const

Returns the number of entries in the CDataRecognitionResultArray.

Return Value
The number of entries in the CDataRecognitionResultArray.

GetDataRecognitionResultL ( TDataRecognitionResult &, const TUint )

IMPORT_C voidGetDataRecognitionResultL(TDataRecognitionResult &aResult,
const TUintaIndex
)const
Returns the recognition result of the given index.
Parameters
aResultOn successful completion, this parameter contains the recognition result at the given index.
aIndexThe index of the recognition result to be returned. An invalid index causes the function to leave with KErrNotFound.
Return Value
The requested TDataRecognitionResult object
Leave Codes
KErrNotFoundAn invalid index is passed

GetFileNameL ( TFileName &, const TUint )

IMPORT_C voidGetFileNameL(TFileName &aFileName,
const TUintaIndex
)const
Returns the file name of the object at the given index.
Parameters
aFileNameOn successful completion, this parameter contains the file name of the object at the given index.
aIndexSpecifies which file name to be returned. An invalid index causes the function to leave with KErrNotFound.
Return Value
The requested file name
Leave Codes
KErrNotFoundAn invalid index is passed

InternalizeL ( const CBufFlat & )

TUint InternalizeL(const CBufFlat &aBuffer)

Path ( )

IMPORT_C const TFileName &Path()const

Returns the path of the recognition results.

Return Value
The path of the recognition results

SetPath ( const TFileName & )

voidSetPath(const TFileName &aPath)