CApaDataRecognizer Class Reference

class CApaDataRecognizer : public CBase

Inherits from

Public Member Functions
~CApaDataRecognizer ()
IMPORT_C TInt AcceptedConfidence ()
IMPORT_C void DataTypeL ( CDataTypeArray &)
RFile * FilePassedByHandle ()
IMPORT_C TInt PreferredBufSize ()
IMPORT_C TDataRecognitionResult RecognizeL (const TDesC &, const TDesC8 &)
IMPORT_C TDataRecognitionResult RecognizeL ( RFile &, TInt )
IMPORT_C TBool RecognizeL (const TDesC &, const TDesC8 &, const TDataType &)
IMPORT_C TBool RecognizeL ( RFile &, TInt , const TDataType &)
IMPORT_C void SetAcceptedConfidence ( TInt )
void SetFilePassedByHandle ( RFile *)
IMPORT_C void UpdateDataTypesL ()
Protected Member Functions
CApaDataRecognizer ( RFs &)
void AddDataRecognizerType ( CApaDataRecognizerType *)
IMPORT_C void AddDataRecognizerTypeL ( CApaDataRecognizerType *)
IMPORT_C void DestroyRecognizerList ()
IMPORT_C TInt RemoveDataRecognizerType (const CApaDataRecognizerType *)
Private Member Functions
void AddDataTypeL (const TDataType &)
IMPORT_C void CApaDataRecognizer_Reserved_1 ()
TBool DoRecognize ( CApaDataRecognizerType *, TDataToRecognize &, const TDataType &, TInt &)
TDataRecognitionResult RecognizeL (TDataToRecognize &)
TBool RecognizeL (TDataToRecognize &, const TDataType &)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Protected Attributes
RFs & iFs
TInt iMaxBufferSize
Private Attributes
TInt iAcceptedConfidence
RArray < TDataType > iDataArray
RPointerArray < CApaDataRecognizerType > iDataRecognizerList
RFile * iFilePassedByHandle
TDataRecognitionResult iResult

Constructor & Destructor Documentation

CApaDataRecognizer(RFs &)

IMPORT_C CApaDataRecognizer ( RFs & aFs ) [protected]

Parameters

RFs & aFs

~CApaDataRecognizer()

IMPORT_C ~CApaDataRecognizer ( )

Member Functions Documentation

AcceptedConfidence()

IMPORT_C TInt AcceptedConfidence ( ) const

AddDataRecognizerType(CApaDataRecognizerType *)

void AddDataRecognizerType ( CApaDataRecognizerType * aDataRecognizerType ) [protected, inline]

7.0s

Parameters

CApaDataRecognizerType * aDataRecognizerType

AddDataRecognizerTypeL(CApaDataRecognizerType *)

IMPORT_C void AddDataRecognizerTypeL ( CApaDataRecognizerType * aDataRecognizerType ) [protected]

Parameters

CApaDataRecognizerType * aDataRecognizerType

AddDataTypeL(const TDataType &)

void AddDataTypeL ( const TDataType & aDataType ) [private]

Parameters

const TDataType & aDataType

CApaDataRecognizer_Reserved_1()

IMPORT_C void CApaDataRecognizer_Reserved_1 ( ) [private, virtual]

DataTypeL(CDataTypeArray &)

IMPORT_C void DataTypeL ( CDataTypeArray & aArray )

Parameters

CDataTypeArray & aArray

DestroyRecognizerList()

IMPORT_C void DestroyRecognizerList ( ) [protected]

DoRecognize(CApaDataRecognizerType *, TDataToRecognize &, const TDataType &, TInt &)

TBool DoRecognize ( CApaDataRecognizerType * aDataRecognizerType,
TDataToRecognize & aDataToRecognize,
const TDataType & aDataType,
TInt & aError
) [private]

Parameters

CApaDataRecognizerType * aDataRecognizerType
TDataToRecognize & aDataToRecognize
const TDataType & aDataType
TInt & aError

FilePassedByHandle()

RFile * FilePassedByHandle ( ) [inline]

PreferredBufSize()

IMPORT_C TInt PreferredBufSize ( ) const

RecognizeL(const TDesC &, const TDesC8 &)

IMPORT_C TDataRecognitionResult RecognizeL ( const TDesC & aName,
const TDesC8 & aBuffer
)

Parameters

const TDesC & aName
const TDesC8 & aBuffer

RecognizeL(RFile &, TInt)

IMPORT_C TDataRecognitionResult RecognizeL ( RFile & aFile,
TInt aPreferredBufSize
)

Parameters

RFile & aFile
TInt aPreferredBufSize

RecognizeL(const TDesC &, const TDesC8 &, const TDataType &)

IMPORT_C TBool RecognizeL ( const TDesC & aName,
const TDesC8 & aBuffer,
const TDataType & aDataType
)

Parameters

const TDesC & aName
const TDesC8 & aBuffer
const TDataType & aDataType

RecognizeL(RFile &, TInt, const TDataType &)

IMPORT_C TBool RecognizeL ( RFile & aFile,
TInt aPreferredBufSize,
const TDataType & aDataType
)

Parameters

RFile & aFile
TInt aPreferredBufSize
const TDataType & aDataType

RecognizeL(TDataToRecognize &)

TDataRecognitionResult RecognizeL ( TDataToRecognize & aDataToRecognize ) [private]

Parameters

TDataToRecognize & aDataToRecognize

RecognizeL(TDataToRecognize &, const TDataType &)

TBool RecognizeL ( TDataToRecognize & aDataToRecognize,
const TDataType & aDataType
) [private]

Parameters

TDataToRecognize & aDataToRecognize
const TDataType & aDataType

RemoveDataRecognizerType(const CApaDataRecognizerType *)

IMPORT_C TInt RemoveDataRecognizerType ( const CApaDataRecognizerType * aDataRecognizerType ) [protected]

Parameters

const CApaDataRecognizerType * aDataRecognizerType

SetAcceptedConfidence(TInt)

IMPORT_C void SetAcceptedConfidence ( TInt aConfidence )

Parameters

TInt aConfidence

SetFilePassedByHandle(RFile *)

void SetFilePassedByHandle ( RFile * aFilePassedByHandle ) [inline]

Parameters

RFile * aFilePassedByHandle

UpdateDataTypesL()

IMPORT_C void UpdateDataTypesL ( )

Member Data Documentation

TInt iAcceptedConfidence

TInt iAcceptedConfidence [private]

RArray< TDataType > iDataArray

RArray < TDataType > iDataArray [private]

RPointerArray< CApaDataRecognizerType > iDataRecognizerList

RPointerArray < CApaDataRecognizerType > iDataRecognizerList [private]

RFile * iFilePassedByHandle

RFile * iFilePassedByHandle [private]

RFs & iFs

RFs & iFs [protected]

TInt iMaxBufferSize

TInt iMaxBufferSize [protected]

TDataRecognitionResult iResult

TDataRecognitionResult iResult [private]