TAttrRange Struct Reference
Detailed Description
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.
See also: CSdpAttrIdMatchList
Member Attribute Documentation
iEnd
ID of the end of the range
iStart
ID of the start of the range
Constructor & Destructor Documentation
TAttrRange ( TSdpAttributeID )
Constructor with single ID.
Parameter | Description | aAttrId | The start and the end of the range are both set to aAttrId |
TAttrRange ( TSdpAttributeID, TSdpAttributeID )
Constructor with start and end IDs.
Parameter | Description | aStart | ID for the start of the range |
aEnd | ID for the end of the range |
Member Function Documentation
IsContiguousWith ( TSdpAttributeID )
Tests if the specified ID is either within the range, is one less than the lower bound, or one more than the upper bound.
Parameter | Description | aAttrId | ID to test |
Returns: True if contiguous, else false
IsContiguousWith ( TAttrRange )
Tests if the specified range is contiguous with the range.
Parameter | Description | aRange | Range to test |
Returns: True if contiguous, else false
IsInRange ( TSdpAttributeID )
Tests if the specified ID is either within the range.
Parameter | Description | aAttrId | ID to test |
Returns: True if in range, else false