CReportRoot Class Reference

class CReportRoot : public CCollection

Root report The top level of the tree of fields and collections in a HID report descriptor.

generichid.lib
Since
S60 v5.0

Inherits from

Constructor & Destructor Documentation

CReportRoot()

CReportRoot()[private]

~CReportRoot()

~CReportRoot()[virtual]

Destructor

Member Functions Documentation

FindReportSizeIndex(TInt, CField::TType)

TInt FindReportSizeIndex(TIntaReportId,
CField::TTypeaType
)const [private]

Find report index

Since
S60 v5.0

Parameters

TInt aReportIdThe report id to be found
CField::TType aTypea Type of field

IncrementReportSizeL(TInt, CField::TType, TInt)

voidIncrementReportSizeL(TIntaReportId,
CField::TTypeaType,
TIntaIncrement
)

Increase the size of a given report by a given number of bits

Since
S60 v5.0

Parameters

TInt aReportIdThe report id, which size shoud be increased
CField::TType aTypea Type of field
TInt aIncrementsize of increase

NewL()

CReportRoot *NewL()[static]

NewLC()

CReportRoot *NewLC()[static]

NumberOfReports()

TInt NumberOfReports()const

Get the number of reports

Since
S60 v5.0

ReportSize(TInt, CField::TType)

TInt ReportSize(TIntaReportId,
CField::TTypeaType
)const

Get the size of a given report in bits

Since
S60 v5.0

Parameters

TInt aReportIdThe report id, which size shoud be increased
CField::TType aTypea Type of field

ReportSize(TInt)

TInt ReportSize(TIntaIndex)const

Get the size of a given report by array index, rather than type & ID

Since
S60 v5.0

Parameters

TInt aIndexreport index

ReportSizeBytes(TInt, CField::TType)

IMPORT_C TIntReportSizeBytes(TIntaReportId,
CField::TTypeaType
)const

Get the size of a given report in bytes

Since
S60 v5.0

Parameters

TInt aReportIdThe report id, which size shoud be increased
CField::TType aTypea Type of field

Member Data Documentation

RArray< TReportSize > iSizes

RArray< TReportSize >iSizes[private]

Array to store the size of each report