| class TBTDeviceClass |
Encapsulation of device class definitions.
Contains a single TInt as member data and methods to extract the major, minor and service class information from that TInt.
| Public Member Functions | |
|---|---|
| TBTDeviceClass() | |
| TBTDeviceClass(TUint32) | |
| TBTDeviceClass(TUint16, TUint8, TUint8) | |
| IMPORT_C TUint32 | DeviceClass() |
| IMPORT_C void | ExternalizeL(RWriteStream &) |
| IMPORT_C void | InternalizeL(RReadStream &) |
| IMPORT_C TUint8 | MajorDeviceClass() |
| IMPORT_C TUint16 | MajorServiceClass() |
| IMPORT_C TUint8 | MinorDeviceClass() |
| IMPORT_C TBTDeviceClass & | operator=(const TBTDeviceClass &) |
| IMPORT_C TBool | operator==(const TBTDeviceClass &) |
| Private Attributes | |
|---|---|
| const TUint32 | KStreamVersion |
| TUint32 | iDeviceClass |
| TUint32 | iPadding1 |
| TUint32 | iPadding2 |
| IMPORT_C | TBTDeviceClass | ( | TUint16 | aMajorServiceClass, |
| TUint8 | aMajorDeviceClass, | |||
| TUint8 | aMinorDeviceClass | |||
| ) | ||||
| IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
| RWriteStream & aStream |
| IMPORT_C void | InternalizeL | ( | RReadStream & | aStream | ) |
| RReadStream & aStream |
| IMPORT_C TBTDeviceClass & | operator= | ( | const TBTDeviceClass & | aDeviceClass | ) |
| const TBTDeviceClass & aDeviceClass |
| IMPORT_C TBool | operator== | ( | const TBTDeviceClass & | aDeviceClass | ) | const |
| const TBTDeviceClass & aDeviceClass |