CSdpAttrIdMatchList Class Reference
class CSdpAttrIdMatchList : public CBase
|
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
.
Constructor & Destructor Documentation
CSdpAttrIdMatchList()
CSdpAttrIdMatchList
|
(
|
)
|
[private]
|
~CSdpAttrIdMatchList()
IMPORT_C
|
~CSdpAttrIdMatchList
|
(
|
)
|
|
Member Functions Documentation
AddL(TAttrRange)
Adds a range of IDs to the list.
BuildUintL(const TDesC8 &)
This should be one or two 16 bit integers, representing an AttrId of range thereof respectively.
Count()
IMPORT_C
TInt
|
Count
|
(
|
)
|
const
|
Gets the number of separate ranges of attribute IDs in the list.
EncodeL(TElementEncoder)
This method is for internal sub-system use only, it is not to be used otherwise.
Supplies encoder with attribute Ids in the match list
Parameters
TElementEncoder
aEncoder
|
The encoder set to encode the attribute Ids in this match list
|
EndListL()
Attribute list now complete. Stop the parser by returning 0.
Find(TSdpAttributeID, TInt &)
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 unchanged if attribute not found
|
FindAttributesL(CSdpServRecord &, MAttributeMatchHandler &)
FindInOrContiguousWith(TSdpAttributeID, TInt &)
Tests if the specified attribute ID is in the list (or next to a range in the list), and gets its position.
Parameters
TSdpAttributeID
aAttrId
|
Attribute ID to test
|
TInt
& aPos
|
Position in the list if the ID is found in a current range, or the lowest range with which the ID is contiguous, or unchanged if neither.
|
InMatchList(TSdpAttributeID, TInt &)
Tests if the specified attribute ID is in the list, and gets its position. Do not use this - it gives an off-by-one error for aPos unless the attribute is the first one in a contiguous range. Use
InMatchListRange()
instead
Parameters
TSdpAttributeID
aAttrId
|
Attribute ID to test
|
TInt
& aPos
|
Position of ID in the list with an off-by-one error for IDs not at the start of a range, or 0 if not found
|
InMatchList(TSdpAttributeID)
Tests if the specified attribute ID is in the list.
InMatchListRange(TSdpAttributeID, TInt &)
Tests if the specified attribute ID is in the list.
Parameters
TSdpAttributeID
aAttrId
|
Attribute ID to test
|
TInt
& aRange
|
Position of the range of IDs in the list which contains aAttrId, or 0 if not found
|
NewL(const CSdpAttrIdMatchList &)
RemoveL(TAttrRange)
Removes a range of IDs from the list.
Member Data Documentation
CArrayFix< TAttrRange > * iList
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.