RUUIDContainer Class Reference

#include <bttypes.h>

Link against: bluetooth.lib

class RUUIDContainer
Public Member Functions
IMPORT_C TIntAdd(const TUUID &)
IMPORT_C const TUUID &At(TInt)
IMPORT_C voidClose()
IMPORT_C TIntCount()
IMPORT_C TBoolIsPresent(const TUUID &)
IMPORT_C voidReset()
IMPORT_C TUUID &operator[](TInt)
IMPORT_C const TUUID &operator[](TInt)

Detailed Description

A UUID container class

Member Function Documentation

Add ( const TUUID & )

IMPORT_C TIntAdd(const TUUID &aUuid)

Add an TUUID into RUUIDContainer

ParameterDescription
aUuidthe TUUID to be added into the container class

Returns: a system wide error code.

At ( TInt )

IMPORT_C const TUUID &At(TIntaIndex)const

Access a single UUID.

ParameterDescription
aIndexThe index of the UUID to access.

Returns: The UUID. The reference remains valid as long as this object is in scope.

Close ( )

IMPORT_C voidClose()

Count ( )

IMPORT_C TIntCount()const

IsPresent ( const TUUID & )

IMPORT_C TBoolIsPresent(const TUUID &aUuid)const

Check if a particular TUUID is present in the RUUIDContainer

ParameterDescription
aUuidthe TUUID to be looked up in the container class

Returns: ETrue if it is present otherwise EFalse

Reset ( )

IMPORT_C voidReset()

operator[] ( TInt )

IMPORT_C TUUID &operator[](TIntaIndex)

Access a single UUID.

ParameterDescription
aIndexThe index of the UUID to access.

Returns: The UUID. The reference remains valid as long as this object is in scope.

operator[] ( TInt )

IMPORT_C const TUUID &operator[](TIntaIndex)const

Access a single UUID.

ParameterDescription
aIndexThe index of the UUID to access.

Returns: The UUID. The reference remains valid as long as this object is in scope.