Location:
e32std.h
Link against: euser.lib
TUidType
Supported from 5.0
Encapsulates a set of three unique identifiers (UIDs) which, in combination, identify a system object such as a GUI application or a DLL. The three component UIDs are referred to as UID1, UID2 and UID3.
An object of this type is referred to as a compound identifier or a UID type.
Defined in TUidType
:
IsPresent()
, IsValid()
, MostDerived()
, TUidType()
, operator!=()
, operator==()
, operator[]()
TUidType(TUid aUid1);
Creates a UID type and sets the UID1 component to a specified
value. The UID2 and UID3 components are set to KNullUid
.
|
TUidType(TUid aUid1,TUid aUid2);
Creates a UID type and sets the UID1 and UID2 components to
specified values. The UID3 component is set to KNullUid
.
|
TUidType(TUid aUid1,TUid aUid2,TUid aUid3);
Creates a UID type and sets all three UID components to specified values.
|
TInt operator==(const TUidType& aUidType) const;
Tests this UID type for equality with the specified UID type.
|
|
TInt operator!=(const TUidType& aUidType) const;
Tests this UID type for inequality with the specified UID type.
|
|
TBool IsPresent(TUid aUid) const;
Tests if any of the component UIDs are equal to the specified UID.
|
|
TBool IsValid() const;
Tests the object for a valid (non-KNullUid
) UID type.
|
TUid MostDerived() const;
Gets the most derived UID.
Taking the three UID components as a hierarchy with UID1 being the most general, UID2 being more specific than UID1 and UID3 being more specific than UID2, then the function returns:
UID3, if UID3 is not KNullUid
.
UID2, if UID2 is not KNullUid
.
UID1, otherwise
|
const TUid& operator[](TInt anIndex) const;
Returns the UID component as identified by the specified index.
|
|