KanoopCommonQt 2.1.1
Kanoop foundational Qt utility library
Loading...
Searching...
No Matches
TimeSpanRange::List Class Reference

A QList of TimeSpanRange objects with a consolidated() helper. More...

#include <timespanrange.h>

+ Inheritance diagram for TimeSpanRange::List:
+ Collaboration diagram for TimeSpanRange::List:

Public Member Functions

List consolidated () const
 Merge overlapping or adjacent ranges into a minimal sorted non-overlapping list.
 

Detailed Description

A QList of TimeSpanRange objects with a consolidated() helper.

Definition at line 202 of file timespanrange.h.

Member Function Documentation

◆ consolidated()

List TimeSpanRange::List::consolidated ( ) const
inline

Merge overlapping or adjacent ranges into a minimal sorted non-overlapping list.

Returns
New List with all overlapping ranges merged

Definition at line 209 of file timespanrange.h.

References TimeSpanRange::endOffset(), and TimeSpanRange::startOffset().


The documentation for this class was generated from the following file: