Location:
btsdp.h
Link against: sdpdatabase.lib
struct TAttrRange;
A range of attribute ID values.
This class is used in an attribute list, CSdpAttrIdMatchList
, so that all attributes with IDs in the specified range are considered.
Defined in TAttrRange
:
IsContiguousWith()
, IsContiguousWith()
, IsInRange()
, TAttrRange()
, TAttrRange()
, TAttrRange()
, iEnd
, iStart
IMPORT_C TAttrRange(TSdpAttributeID aAttrId);
Constructor with single ID.
|
IMPORT_C TAttrRange(TSdpAttributeID aStart, TSdpAttributeID aEnd);
Constructor with start and end IDs.
|
IMPORT_C TBool IsInRange(TSdpAttributeID aAttrId) const;
Tests if the specified ID is either within the range.
|
|
IMPORT_C TBool IsContiguousWith(TSdpAttributeID aAttrId) const;
Tests if the specified ID is either within the range, is one less than the lower bound, or one more than the upper bound.
|
|
IMPORT_C TBool IsContiguousWith(TAttrRange aRange) const;
Tests if the specified range is contiguous with the range.
|
|
TSdpAttributeID iEnd;
ID of the end of the range