CApaDataRecognizer Class Reference

class CApaDataRecognizer : public CBase

Inherits from

Public Member Functions
~CApaDataRecognizer()
IMPORT_C TIntAcceptedConfidence()
IMPORT_C voidDataTypeL(CDataTypeArray &)
RFile *FilePassedByHandle()
IMPORT_C TIntPreferredBufSize()
IMPORT_C TDataRecognitionResultRecognizeL(const TDesC &, const TDesC8 &)
IMPORT_C TDataRecognitionResultRecognizeL(RFile &, TInt)
IMPORT_C TBoolRecognizeL(const TDesC &, const TDesC8 &, const TDataType &)
IMPORT_C TBoolRecognizeL(RFile &, TInt, const TDataType &)
IMPORT_C voidSetAcceptedConfidence(TInt)
voidSetFilePassedByHandle(RFile *)
IMPORT_C voidUpdateDataTypesL()
Protected Member Functions
CApaDataRecognizer(RFs &)
voidAddDataRecognizerType(CApaDataRecognizerType *)
IMPORT_C voidAddDataRecognizerTypeL(CApaDataRecognizerType *)
IMPORT_C voidDestroyRecognizerList()
IMPORT_C TIntRemoveDataRecognizerType(const CApaDataRecognizerType *)
Private Member Functions
voidAddDataTypeL(const TDataType &)
IMPORT_C voidCApaDataRecognizer_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_CCApaDataRecognizer(RFs &aFs)[protected]

Parameters

RFs & aFs

~CApaDataRecognizer()

IMPORT_C~CApaDataRecognizer()

Member Functions Documentation

AcceptedConfidence()

IMPORT_C TIntAcceptedConfidence()const

AddDataRecognizerType(CApaDataRecognizerType *)

voidAddDataRecognizerType(CApaDataRecognizerType *aDataRecognizerType)[protected, inline]

7.0s

Parameters

CApaDataRecognizerType * aDataRecognizerType

AddDataRecognizerTypeL(CApaDataRecognizerType *)

IMPORT_C voidAddDataRecognizerTypeL(CApaDataRecognizerType *aDataRecognizerType)[protected]

Parameters

CApaDataRecognizerType * aDataRecognizerType

AddDataTypeL(const TDataType &)

voidAddDataTypeL(const TDataType &aDataType)[private]

Parameters

const TDataType & aDataType

CApaDataRecognizer_Reserved_1()

IMPORT_C voidCApaDataRecognizer_Reserved_1()[private, virtual]

DataTypeL(CDataTypeArray &)

IMPORT_C voidDataTypeL(CDataTypeArray &aArray)

Parameters

CDataTypeArray & aArray

DestroyRecognizerList()

IMPORT_C voidDestroyRecognizerList()[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 TIntPreferredBufSize()const

RecognizeL(const TDesC &, const TDesC8 &)

IMPORT_C TDataRecognitionResultRecognizeL(const TDesC &aName,
const TDesC8 &aBuffer
)

Parameters

const TDesC & aName
const TDesC8 & aBuffer

RecognizeL(RFile &, TInt)

IMPORT_C TDataRecognitionResultRecognizeL(RFile &aFile,
TIntaPreferredBufSize
)

Parameters

RFile & aFile
TInt aPreferredBufSize

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

IMPORT_C TBoolRecognizeL(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 TBoolRecognizeL(RFile &aFile,
TIntaPreferredBufSize,
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 TIntRemoveDataRecognizerType(const CApaDataRecognizerType *aDataRecognizerType)[protected]

Parameters

const CApaDataRecognizerType * aDataRecognizerType

SetAcceptedConfidence(TInt)

IMPORT_C voidSetAcceptedConfidence(TIntaConfidence)

Parameters

TInt aConfidence

SetFilePassedByHandle(RFile *)

voidSetFilePassedByHandle(RFile *aFilePassedByHandle)[inline]

Parameters

RFile * aFilePassedByHandle

UpdateDataTypesL()

IMPORT_C voidUpdateDataTypesL()

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]