MHidFieldFinder Class Reference

class MHidFieldFinder

Hid field finder class The MHidFieldFinder class defines the call-back interface used by THidFieldSearch . A device driver uses THidFieldSearch::SearchL() along with a custom MHidFieldFinder object to determine whether it is compatible with a given report descriptor.

generichid.lib
Since
S60 v5.0

Member Functions Documentation

BeginCollection(const CCollection *)

TBool BeginCollection ( const CCollection * aCollection ) [pure virtual]

Called by THidFieldSearch::SearchL() during traversal of the report descriptor tree when a CCollection is encountered. It will be called once, and only once, for every CCollection in the descriptor. It is not called for the root collection (the CReportRoot ).

Since
S60 v5.0

Parameters

const CCollection * aCollection A pointer to the collection object.

EndCollection(const CCollection *)

TBool EndCollection ( const CCollection * aCollection ) [pure virtual]

Called by THidFieldSearch::SearchL() during traversal of the report descriptor tree when all CFields and child CCollections of a CCollection have been examined. It will be called once, and only once, for every CCollection in the descriptor. It is not called for the root collection (the CReportRoot ).

Since
S60 v5.0

Parameters

const CCollection * aCollection A pointer to the collection object.

Field(const CField *)

void Field ( const CField * aField ) [pure virtual]

Called once for each CField in a CCollection by THidFieldSearch::SearchL() during the traversal of a report descriptor tree.

Since
S60 v5.0

Parameters

const CField * aField The pointer to field