Logo Search packages:      
Sourcecode: kdenlive version File versions  Download package

RangeList< T > Class Template Reference

#include <rangelist.h>

List of all members.

Detailed Description

template<class T>
class RangeList< T >

Holds a list of type, and holds ranges of values. These ranges never overlap - if a new range overlaps with a previous range, the two become merged into one. When reading the list back, we will never see part of a range expressed twice.

This class is useful for handling "dirty painting", as long as you are only working on a single axis.

Jason Wood

Definition at line 80 of file rangelist.h.

Public Member Functions

void addRange (T start, T end)
RangeListIterator< T > & begin ()
void clear ()
QValueList< T > & rangeList ()
void setFullRange (T min, T max)

Private Attributes

QValueList< T > m_range

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

Generated by  Doxygen 1.6.0   Back to index