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.

Inherits from

Constructor & Destructor Documentation

CSdpAttrIdMatchList()

CSdpAttrIdMatchList()[private]

~CSdpAttrIdMatchList()

IMPORT_C~CSdpAttrIdMatchList()

Member Functions Documentation

AddL(TAttrRange)

IMPORT_C voidAddL(TAttrRangeaRange)

Parameters

TAttrRange aRange

BuildDESL()

MSdpElementBuilder *BuildDESL()[private]

BuildUintL(const TDesC8 &)

MSdpElementBuilder *BuildUintL(const TDesC8 &aUint)[private]

Parameters

const TDesC8 & aUint

Count()

IMPORT_C TIntCount()const

Gets the number of separate ranges of attribute IDs in the list.

Number of ranges of attribute IDs in the list

EncodeL(TElementEncoder)

IMPORT_C TUintEncodeL(TElementEncoderaEncoder)const

This method is for internal sub-system use only, it is not to be used otherwise.

Parameters

TElementEncoder aEncoder

EndListL()

MSdpElementBuilder *EndListL()[private]

Find(TSdpAttributeID, TInt &)

TInt Find(TSdpAttributeIDaAttrId,
TInt &aPos
)const

Parameters

TSdpAttributeID aAttrId
TInt & aPos

FindAttributesL(CSdpServRecord &, MAttributeMatchHandler &)

voidFindAttributesL(CSdpServRecord &aRec,
MAttributeMatchHandler &aHandler
)const

Parameters

CSdpServRecord & aRec
MAttributeMatchHandler & aHandler

FindInOrContiguousWith(TSdpAttributeID, TInt &)

TInt FindInOrContiguousWith(TSdpAttributeIDaAttrId,
TInt &aPos
)const [private]

Parameters

TSdpAttributeID aAttrId
TInt & aPos

InMatchList(TSdpAttributeID, TInt &)

IMPORT_C TBoolInMatchList(TSdpAttributeIDaAttrId,
TInt &aPos
)const

Parameters

TSdpAttributeID aAttrId
TInt & aPos

InMatchList(TSdpAttributeID)

IMPORT_C TBoolInMatchList(TSdpAttributeIDaAttrId)const

Tests if the specified attribute ID is in the list.

ETrue if the attribute is in the list, else EFalse

Parameters

TSdpAttributeID aAttrIdAttribute ID to test

InMatchListRange(TSdpAttributeID, TInt &)

IMPORT_C TBoolInMatchListRange(TSdpAttributeIDaAttrId,
TInt &aRange
)const

Tests if the specified attribute ID is in the list.

ETrue if the attribute is in the list, else EFalse

Parameters

TSdpAttributeID aAttrIdAttribute ID to test
TInt & aRangePosition of the range of IDs in the list which contains aAttrId, or 0 if not found

NewL()

IMPORT_C CSdpAttrIdMatchList *NewL()[static]

NewL(const CSdpAttrIdMatchList &)

IMPORT_C CSdpAttrIdMatchList *NewL(const CSdpAttrIdMatchList &aAttrMatchList)[static]

Parameters

const CSdpAttrIdMatchList & aAttrMatchList

RemoveL(TAttrRange)

IMPORT_C voidRemoveL(TAttrRangeaRange)

Parameters

TAttrRange aRange

StartListL()

MSdpElementBuilder *StartListL()[private]

Member Data Documentation

__DECLARE_TEST

__DECLARE_TEST[private]

CArrayFix< TAttrRange > * iList

CArrayFix< TAttrRange > *iList[private]