| 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.
| Public Member Functions | |
|---|---|
| ~CSdpAttrIdMatchList() | |
| IMPORT_C void | AddL(TAttrRange) |
| IMPORT_C TInt | Count() |
| IMPORT_C TUint | EncodeL(TElementEncoder) |
| TInt | Find(TSdpAttributeID, TInt &) |
| void | FindAttributesL(CSdpServRecord &, MAttributeMatchHandler &) |
| IMPORT_C TBool | InMatchList(TSdpAttributeID, TInt &) |
| IMPORT_C TBool | InMatchList(TSdpAttributeID) |
| IMPORT_C TBool | InMatchListRange(TSdpAttributeID, TInt &) |
| IMPORT_C CSdpAttrIdMatchList * | NewL() |
| IMPORT_C CSdpAttrIdMatchList * | NewL(const CSdpAttrIdMatchList &) |
| IMPORT_C void | RemoveL(TAttrRange) |
| Private Member Functions | |
|---|---|
| CSdpAttrIdMatchList() | |
| MSdpElementBuilder * | BuildDESL() |
| MSdpElementBuilder * | BuildUintL(const TDesC8 &) |
| MSdpElementBuilder * | EndListL() |
| TInt | FindInOrContiguousWith(TSdpAttributeID, TInt &) |
| MSdpElementBuilder * | StartListL() |
| Private Attributes | |
|---|---|
| __DECLARE_TEST | |
| CArrayFix< TAttrRange > * | iList |
| MSdpElementBuilder * | BuildUintL | ( | const TDesC8 & | aUint | ) | [private] |
| const TDesC8 & aUint |
| IMPORT_C TInt | Count | ( | ) | const |
Gets the number of separate ranges of attribute IDs in the list.
Number of ranges of attribute IDs in the list
| IMPORT_C TUint | EncodeL | ( | TElementEncoder | aEncoder | ) | const |
This method is for internal sub-system use only, it is not to be used otherwise.
| TElementEncoder aEncoder |
| TInt | Find | ( | TSdpAttributeID | aAttrId, |
| TInt & | aPos | |||
| ) | const | |||
| TSdpAttributeID aAttrId | |
| TInt & aPos |
| void | FindAttributesL | ( | CSdpServRecord & | aRec, |
| MAttributeMatchHandler & | aHandler | |||
| ) | const | |||
| CSdpServRecord & aRec | |
| MAttributeMatchHandler & aHandler |
| TInt | FindInOrContiguousWith | ( | TSdpAttributeID | aAttrId, |
| TInt & | aPos | |||
| ) | const [private] | |||
| TSdpAttributeID aAttrId | |
| TInt & aPos |
| IMPORT_C TBool | InMatchList | ( | TSdpAttributeID | aAttrId, |
| TInt & | aPos | |||
| ) | const | |||
| TSdpAttributeID aAttrId | |
| TInt & aPos |
| IMPORT_C TBool | InMatchList | ( | TSdpAttributeID | aAttrId | ) | const |
Tests if the specified attribute ID is in the list.
ETrue if the attribute is in the list, else EFalse
| TSdpAttributeID aAttrId | Attribute ID to test |
| IMPORT_C TBool | InMatchListRange | ( | TSdpAttributeID | aAttrId, |
| TInt & | aRange | |||
| ) | const | |||
Tests if the specified attribute ID is in the list.
ETrue if the attribute is in the list, else EFalse
| 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 |
| IMPORT_C CSdpAttrIdMatchList * | NewL | ( | const CSdpAttrIdMatchList & | aAttrMatchList | ) | [static] |
| const CSdpAttrIdMatchList & aAttrMatchList |