TUUID Class Reference

class TUUID

A Bluetooth Universally Unique Identifier.

This is a 128-bit quantity that can be created without a central registry while still being globally unique. UUIDs are always held in full 128 bit format, however they can be set from BT SIG short form (16 or 32 bit) addresses, and returned as down to their shortest form using ShortestForm().

Public Member Functions
TUUID()
TUUID(TUint32)
TUUID(TUint32, TUint32, TUint32, TUint32)
TUUID(const TUid &)
IMPORT_C const TPtrC8Des()
IMPORT_C const TPtrC8FixedLengthL(TInt)
IMPORT_C const TPtrC8LongForm()
IMPORT_C TIntMinimumSize()
IMPORT_C voidSetFromLittleEndianL(const TDesC8 &)
IMPORT_C voidSetL(const TDesC8 &)
IMPORT_C const TPtrC8ShortestForm()
IMPORT_C const TPtrC8SpecifiedLengthL(TInt)
IMPORT_C TBooloperator!=(const TUUID &)
IMPORT_C TBooloperator==(const TUUID &)
IMPORT_C const TUint8 &operator[](TInt)
IMPORT_C TUint8 &operator[](TInt)
Private Attributes
TUint32 iPadding1
TUint32 iPadding2
TFixedArray< TUint8, KSdpUUIDMaxLength >iUUID

Constructor & Destructor Documentation

TUUID()

IMPORT_CTUUID()

TUUID(TUint32)

IMPORT_CTUUID(TUint32aLong)

Parameters

TUint32 aLong

TUUID(TUint32, TUint32, TUint32, TUint32)

IMPORT_CTUUID(TUint32aHH,
TUint32aHL,
TUint32aLH,
TUint32aLL
)

Parameters

TUint32 aHH
TUint32 aHL
TUint32 aLH
TUint32 aLL

TUUID(const TUid &)

IMPORT_CTUUID(const TUid &aUid)

Parameters

const TUid & aUid

Member Functions Documentation

Des()

IMPORT_C const TPtrC8Des()const

FixedLengthL(TInt)

IMPORT_C const TPtrC8FixedLengthL(TIntaLength)const

Use SpecifiedLengthL(TInt aLength) instead

Parameters

TInt aLength

LongForm()

IMPORT_C const TPtrC8LongForm()const

MinimumSize()

IMPORT_C TIntMinimumSize()const

SetFromLittleEndianL(const TDesC8 &)

IMPORT_C voidSetFromLittleEndianL(const TDesC8 &aDes)

Parameters

const TDesC8 & aDes

SetL(const TDesC8 &)

IMPORT_C voidSetL(const TDesC8 &aDes)

Parameters

const TDesC8 & aDes

ShortestForm()

IMPORT_C const TPtrC8ShortestForm()const

SpecifiedLengthL(TInt)

IMPORT_C const TPtrC8SpecifiedLengthL(TIntaLength)const

Parameters

TInt aLength

operator!=(const TUUID &)

IMPORT_C TBooloperator!=(const TUUID &aUUID)const

Parameters

const TUUID & aUUID

operator==(const TUUID &)

IMPORT_C TBooloperator==(const TUUID &aUUID)const

Parameters

const TUUID & aUUID

operator[](TInt)

IMPORT_C const TUint8 &operator[](TIntaIndex)const

Parameters

TInt aIndex

operator[](TInt)

IMPORT_C TUint8 &operator[](TIntaIndex)

Parameters

TInt aIndex

Member Data Documentation

TUint32 iPadding1

TUint32 iPadding1[private]

TUint32 iPadding2

TUint32 iPadding2[private]

TFixedArray< TUint8, KSdpUUIDMaxLength > iUUID

TFixedArray< TUint8, KSdpUUIDMaxLength >iUUID[private]