THidFieldSearch Class Reference

class THidFieldSearch

Hid field search THidFieldSearch provides a mechanism for traversing a parsed report descriptor tree (a CReportRoot object). It is intended for a device driver to use when it is looking to see if it is compatible with a newly connected device, i.e. provides the appropriate types of report. The driver must provide an object of a class that implements the MHidFieldFinder interface.

Since
S60 v5.0
Public Member Functions
IMPORT_C voidSearchL(const CReportRoot *, MHidFieldFinder *)
Private Member Functions
TBool DoSearchL(const CCollection *)
Private Attributes
MHidFieldFinder *iFinder

Member Functions Documentation

DoSearchL(const CCollection *)

TBool DoSearchL(const CCollection *aCollection)[private]

Traverse a parsed report descriptor (a tree of CCollections and CFields) calling the MHidFieldFinder member functions as appropriate.

Since
S60 v5.0

Parameters

const CCollection * aCollection

SearchL(const CReportRoot *, MHidFieldFinder *)

IMPORT_C voidSearchL(const CReportRoot *aReportRoot,
MHidFieldFinder *aFinder
)

Traverse a parsed report descriptor (a tree of CCollections and CFields) calling the MHidFieldFinder member functions as appropriate.

Since
S60 v5.0

Parameters

const CReportRoot * aReportRootTHe pointer to field
MHidFieldFinder * aFinderAn object that will establish if the report descriptor is suitable.

Member Data Documentation

MHidFieldFinder * iFinder

MHidFieldFinder *iFinder[private]