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 TInt AddL ( const TUUID & aUUID )

Adds a UID to the list.

Parameters

const TUUID & aUUID UUID to add

At(TInt)

IMPORT_C const TUUID At ( TInt anIndex ) const

Gets the UUID at the specified position in the list.

Parameters

TInt anIndex Position 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 void ConstructL ( )

Allocates a new UUID array.

Count()

IMPORT_C TInt Count ( ) const

Gets the number of UUIDs in the list.

EndListL()

MSdpElementBuilder * EndListL ( ) [private]

Find(const TUUID &, TInt &)

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

Gets the position of the specified UUID in the list.

Parameters

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

IsEmpty()

IMPORT_C TBool IsEmpty ( )

Tests if the list is empty.

NewL()

IMPORT_C CSdpSearchPattern * NewL ( ) [static]

Allocates and constructs a new CSdpSearchPattern object.

Remove(const TUUID &)

IMPORT_C TInt Remove ( const TUUID & aUUID )

Removes a UUID from the list.

Parameters

const TUUID & aUUID UUID to remove

Reset()

IMPORT_C void Reset ( )

Removes all UUIDs from the list.

StartListL()

MSdpElementBuilder * StartListL ( ) [private]

Member Data Documentation

CArrayFixFlat< TUUID > * iUUIDArray

CArrayFixFlat < TUUID > * iUUIDArray [private]