Location:
btsdp.h
Link against: bluetooth.lib
CSdpAttrIdMatchList
Support
Supported from 6.1
Description
SDP Attribute ID Match list.
Holds a list of Attribute IDs to be retrieved from a remote device in an
Service Attribute Request.
Set in terms of ranges of attributes, each one specified through a
TAttrRange
.
Derivation
CBase | Base class for all classes to be instantiated on the heap |
CSdpAttrIdMatchList | SDP Attribute ID Match list |
|
Defined in CSdpAttrIdMatchList
:
AddL()
, Count()
, InMatchList()
, NewL()
, RemoveL()
, ~CSdpAttrIdMatchList()
Inherited from CBase
:
operator new()
static CSdpAttrIdMatchList* NewL();
Description
Allocate and construct a new CSdpAttrIdMatchList
object.
Return value
CSdpAttrIdMatchList* |
New CSdpAttrIdMatchList object |
|
static CSdpAttrIdMatchList* NewL(const CSdpAttrIdMatchList& aAttrMatchList);
Description
Allocate and construct a new CSdpAttrIdMatchList
object as a copy of another CSdpAttrIdMatchList
.
Parameters
const CSdpAttrIdMatchList& aAttrMatchList |
Object to copy |
|
Return value
CSdpAttrIdMatchList* |
New CSdpAttrIdMatchList object |
|
void AddL(TAttrRange aRange);
Description
Adds a range of IDs to the list.
Parameters
TAttrRange aRange |
Range to add |
|
void RemoveL(TAttrRange aRange);
Description
Removes a range of IDs from the list.
Parameters
TAttrRange aRange |
Range to remove |
|
TInt Count() const;
Description
Gets the number of attributes IDs in the list.
Return value
TInt |
Number of attributes IDs in the list |
|
TBool InMatchList(TSdpAttributeID aAttrId) const;
Description
Tests if the specified attribute ID is in the list.
Parameters
TSdpAttributeID aAttrId |
Attribute ID to test |
|
Return value
TBool |
True if the attribute is in the list, else false |
|
TBool InMatchList(TSdpAttributeID aAttrId, TInt &aPos) const;
Description
Tests if the specified attribute ID is in the list, and gets its position.
Parameters
TSdpAttributeID aAttrId |
Attribute ID to test |
TInt &aPos |
Position of ID in the list, or 0 if not found |
|
Return value
TBool |
True if the attribute is in the list, else false |
|