TParserGlobalState Class Reference

class TParserGlobalState

Parser global states

CParser uses TParserGlobalState objects to store the global item state during parsing. The global state can be saved and restored using the HID descriptor POP and PUSH tags, therefore CParser incorporates a stack of TParserGlobalState objects.

generichid.lib
Since
S60 v5.0

Constructor & Destructor Documentation

TParserGlobalState()

TParserGlobalState()

Member Functions Documentation

Populate(CField *)

voidPopulate(CField *aField)const

Copies all data members into a CField object. The other members of the CField object (those corresponding to local HID descriptor tags) are unaffected.

Since
S60 v5.0

Parameters

CField * aFieldPointer to the field object to populate.

Member Data Documentation

TInt iCount

TInt iCount[private]

Report count

TInt iLogicalMax

TInt iLogicalMax[private]

Logical maximum

TInt iLogicalMin

TInt iLogicalMin[private]

Logical minimum

TInt iPhysicalMax

TInt iPhysicalMax[private]

Physical maximum

TInt iPhysicalMin

TInt iPhysicalMin[private]

Physical minimum

TInt iReportId

TInt iReportId[private]

Associated report ID

TInt iSize

TInt iSize[private]

Report size

TInt iUnit

TInt iUnit[private]

Unit type

TInt iUnitExponent

TInt iUnitExponent[private]

Unit exponent

TInt iUsagePage

TInt iUsagePage[private]

Usage page