Location:
e32std.h
Link against: euser.lib
class TCheckedUid;
Packages a Uid type together with a checksum.
Defined in TCheckedUid
:
Check()
, Des()
, Set()
, Set()
, TCheckedUid()
, TCheckedUid()
, TCheckedUid()
, UidType()
IMPORT_C TCheckedUid(const TUidType &aUidType);
Constructor taking an existing Uid type.
The constructor calculates a checksum.
|
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.
|
|
IMPORT_C void Set(const TUidType &aUidType);
Sets the specified Uid type to be packaged, and recalculates the checksum.
|
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.
|
|
IMPORT_C TPtrC8 Des() const;
Gets a pointer descriptor to represent this object's data.
|
inline const TUidType &UidType() const;
Gets the Uid type contained in this object.
|
protected: IMPORT_C TUint Check() const;
Calculates the checksum of the UIDs.
|