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 ( TInt aReportId,
CField::TType aType
) const [private]

Find report index

Since
S60 v5.0

Parameters

TInt aReportId The report id to be found
CField::TType aType a Type of field

IncrementReportSizeL(TInt, CField::TType, TInt)

void IncrementReportSizeL ( TInt aReportId,
CField::TType aType,
TInt aIncrement
)

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

Since
S60 v5.0

Parameters

TInt aReportId The report id, which size shoud be increased
CField::TType aType a Type of field
TInt aIncrement size 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 ( TInt aReportId,
CField::TType aType
) const

Get the size of a given report in bits

Since
S60 v5.0

Parameters

TInt aReportId The report id, which size shoud be increased
CField::TType aType a Type of field

ReportSize(TInt)

TInt ReportSize ( TInt aIndex ) const

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

Since
S60 v5.0

Parameters

TInt aIndex report index

ReportSizeBytes(TInt, CField::TType)

IMPORT_C TInt ReportSizeBytes ( TInt aReportId,
CField::TType aType
) const

Get the size of a given report in bytes

Since
S60 v5.0

Parameters

TInt aReportId The report id, which size shoud be increased
CField::TType aType a Type of field

Member Data Documentation

RArray< TReportSize > iSizes

RArray < TReportSize > iSizes [private]

Array to store the size of each report