|
Original Symbian headers
Selected EUSER, Window Server, networking, graphics and device declarations
|
Packages a Uid type together with a checksum. More...
#include <e32std.h>
Public Member Functions | |
| IMPORT_C | TCheckedUid () |
| Default constructor. | |
| IMPORT_C | TCheckedUid (const TUidType &aUidType) |
| Constructor taking an existing Uid type. | |
| IMPORT_C | TCheckedUid (const TDesC8 &aPtr) |
| Constructor taking an existing TCheckedUid object encapsulated within a descriptor. | |
| 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. | |
| IMPORT_C TPtrC8 | Des () const |
| Gets a pointer descriptor to represent this object's data. | |
| const TUidType & | UidType () const |
| Gets the Uid type contained in this object. | |
Protected Member Functions | |
| IMPORT_C TUint | Check () const |
| Calculates the checksum of the UIDs. | |
Packages a Uid type together with a checksum.
| IMPORT_C TCheckedUid::TCheckedUid | ( | ) |
Default constructor.
Initialises the object to binary zeroes.
(generated from Symbian Developer Library)
| IMPORT_C TCheckedUid::TCheckedUid | ( | const TUidType & | aUidType | ) |
Constructor taking an existing Uid type.
The constructor calculates a checksum.
| aUidType | The Uid type to be packaged. |
(generated from Symbian Developer Library)
| IMPORT_C TCheckedUid::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.
| aPtr | A pointer to a descriptor containing an existing TCheckedUid object. |
Panic condition: USER 38 If the length of the descriptor is not the same as the size of a TCheckedUid object.
(generated from Symbian Developer Library)
|
protected |
Calculates the checksum of the UIDs.
(generated from Symbian Developer Library)
| IMPORT_C TPtrC8 TCheckedUid::Des | ( | ) | const |
Gets a pointer descriptor to represent this object's data.
(generated from Symbian Developer Library)
| IMPORT_C void TCheckedUid::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.
| aPtr | A pointer to a descriptor containing an existing TCheckedUid object. |
Panic condition: USER 38 If the length of the descriptor is not the same as the size of a TCheckedUid object.
(generated from Symbian Developer Library)
| IMPORT_C void TCheckedUid::Set | ( | const TUidType & | aUidType | ) |
Sets the specified Uid type to be packaged, and recalculates the checksum.
| aUidType | The Uid type to be packaged. |
(generated from Symbian Developer Library)
|
inline |
Gets the Uid type contained in this object.
(generated from Symbian Developer Library)