class TCheckedUid |
Packages a Uid type together with a checksum.
Public Member Functions | |
---|---|
TCheckedUid () | |
TCheckedUid (const TUidType &) | |
TCheckedUid (const TDesC8 &) | |
IMPORT_C TPtrC8 | Des () |
IMPORT_C void | Set (const TUidType &) |
IMPORT_C void | Set (const TDesC8 &) |
const TUidType & | UidType () |
Protected Member Functions | |
---|---|
IMPORT_C TUint | Check () |
Private Attributes | |
---|---|
TUint | iCheck |
TUidType | iType |
IMPORT_C | TCheckedUid | ( | ) |
Default constructor.
Initialises the object to binary zeroes.
IMPORT_C | TCheckedUid | ( | const TUidType & | aUidType | ) |
Constructor taking an existing Uid type.
The constructor calculates a checksum.
const TUidType & aUidType | The Uid type to be packaged. |
IMPORT_C | TCheckedUid | ( | const TDesC8 & | aPtr | ) |
Constructor taking an existing TCheckedUid object encapsulated within a descriptor.
The checksum is recalculated and must match the checksum value passed in the encapsulated TCheckedUid object, otherwise the content of this object is reset to binary zeroes.
const TDesC8 & aPtr | A pointer to a descriptor containing an existing TCheckedUid object. |
IMPORT_C void | Set | ( | const TUidType & | aUidType | ) |
Sets the specified Uid type to be packaged, and recalculates the checksum.
const TUidType & aUidType | The Uid type to be packaged. |
IMPORT_C void | Set | ( | const TDesC8 & | aPtr | ) |
Sets an existing TCheckedUid object encapsulated within a descriptor.
The checksum is recalculated and must match the checksum value passed in the encapsulated TCheckedUid object, otherwise the content of this object is reset to binary zeroes.
const TDesC8 & aPtr | A pointer to a descriptor containing an existing TCheckedUid object. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.