16 #ifndef SV_SELECTION_H 17 #define SV_SELECTION_H 71 const SelectionList &getSelections()
const;
72 void setSelection(
const Selection &selection);
73 void addSelection(
const Selection &selection);
74 void removeSelection(
const Selection &selection);
75 void clearSelections();
86 bool defaultToFollowing)
const;
88 void toXml(QTextStream &stream, QString indent =
"",
89 QString extraAttributes =
"")
const override;
92 QString toString()
const;
sv_frame_t getEndFrame() const
int64_t sv_frame_t
Frame index, the unit of our time axis.
A selection object simply represents a range in time, via start and end frame.
bool operator==(const Selection &) const
SelectionList m_selections
std::set< Selection > SelectionList
bool contains(sv_frame_t frame) const
sv_frame_t getDuration() const
Selection & operator=(const Selection &)
sv_frame_t getStartFrame() const
bool operator<(const Selection &) const