TRangeList Methods |
Description |
Adds new item. Returns index at which the item was inserted. | |
Removes all ranges. | |
Removes all ranges which ends after position APos. If CopyTo list is not nil, copies removed ranges to that list. | |
Content has been changed, updates ranges upper Pos. Removes affected ranges, i.e. removes ranges that contain changed positions. | |
Create new list. UnionSiblings specifies that intersected ranges should be replaced with the a range that is a union of intersected ranges. | |
Deletes ranges at specified index in the list. | |
Deletes ranges that intersect the bounds, returns number of deleted items | |
The destructor frees all resources allocated by the current object. | |
Compares two items. | |
Returns range that contains specified position APos or placed after position APos. If there is no such range result value is nil. | |
Returns range that contains specified position APos or placed before position APos. If there is no such range result value is nil. | |
Returns range that contains specified position APos. If there is no range that contains APos, result value is nil. | |
Splits range at RangeIdx index on two ranges at specified SplitPos position. | |
Tries to add range if there are no intersections | |
Union ranges with the [Index] and [Index + 1] returns new range index (or union result) |
Topic |
Description |
The methods of the TRangeList class are listed here. | |
The properties of the TRangeList class are listed here. |