TUid Class Reference

class TUid

A globally unique 32-bit number.

Public Member Functions
IMPORT_C TUidName Name ()
TUid Null ()
TUid Uid ( TInt )
IMPORT_C TBool operator!= (const TUid &)
IMPORT_C TBool operator== (const TUid &)
Public Attributes
TInt32 iUid

Member Functions Documentation

Name()

IMPORT_C TUidName Name ( ) const

Generates and returns the standard text form of the UID.

The resulting text has the form:

         [12345678]
        

The function always generates 10 characters, where the first and last characters are open and close square brackets enclosing exactly 8 hexadecimal digits (padded to the left with zeroes, if necessary).

Null()

TUid Null ( ) [static, inline]

Constructs a Null-valued TUid object.

Uid(TInt)

TUid Uid ( TInt aUid ) [static, inline]

Constructs the TUid object from a 32-bit integer.

Parameters

TInt aUid The 32-bit integer value from which the TUid object is to be constructed.

operator!=(const TUid &)

IMPORT_C TBool operator!= ( const TUid & aUid ) const

Compares two UIDs for inequality.

Parameters

const TUid & aUid The UID to be compared with this UID.

operator==(const TUid &)

IMPORT_C TBool operator== ( const TUid & aUid ) const

Compares two UIDs for equality.

Parameters

const TUid & aUid The UID to be compared with this UID.

Member Data Documentation

TInt32 iUid

TInt32 iUid

The 32-bit integer UID value.