CSdpSearchPattern Class Reference

class CSdpSearchPattern : public CBase

A list of Bluetooth service classes, represented as Universal Unique Identifiers (UUIDs), to be matched in SDP Service Search Requests.

CSdpAgent::SetRecordFilterL() TUUID

Inherits from

Constructor & Destructor Documentation

CSdpSearchPattern()

CSdpSearchPattern()[private]

~CSdpSearchPattern()

IMPORT_C~CSdpSearchPattern()

Destructor

Destroys the UUID array.

Member Functions Documentation

AddL(const TUUID &)

IMPORT_C TIntAddL(const TUUID &aUUID)

Adds a UID to the list.

Parameters

const TUUID & aUUIDUUID to add

At(TInt)

IMPORT_C const TUUIDAt(TIntanIndex)const

Gets the UUID at the specified position in the list.

Parameters

TInt anIndexPosition of the UUID to get

BuildDESL()

MSdpElementBuilder *BuildDESL()[private]

BuildUUIDL(const TUUID &)

MSdpElementBuilder *BuildUUIDL(const TUUID &aUUID)[private]

Parameters

const TUUID & aUUID

ConstructL()

IMPORT_C voidConstructL()

Allocates a new UUID array.

Count()

IMPORT_C TIntCount()const

Gets the number of UUIDs in the list.

EndListL()

MSdpElementBuilder *EndListL()[private]

Find(const TUUID &, TInt &)

IMPORT_C TIntFind(const TUUID &aUUID,
TInt &aPos
)const

Gets the position of the specified UUID in the list.

Parameters

const TUUID & aUUIDUUID to find
TInt & aPosPosition of the UUID if it is in the list, otherwise the position where it would be inserted

IsEmpty()

IMPORT_C TBoolIsEmpty()

Tests if the list is empty.

NewL()

IMPORT_C CSdpSearchPattern *NewL()[static]

Allocates and constructs a new CSdpSearchPattern object.

Remove(const TUUID &)

IMPORT_C TIntRemove(const TUUID &aUUID)

Removes a UUID from the list.

Parameters

const TUUID & aUUIDUUID to remove

Reset()

IMPORT_C voidReset()

Removes all UUIDs from the list.

StartListL()

MSdpElementBuilder *StartListL()[private]

Member Data Documentation

CArrayFixFlat< TUUID > * iUUIDArray

CArrayFixFlat< TUUID > *iUUIDArray[private]