comparison base/Selection.h @ 933:d03b3d956358 warnfix_no_size_t

Merge from branch tony_integration
author Chris Cannam
date Wed, 18 Jun 2014 08:34:46 +0100
parents 6a94bb528e9d 3efc20c59a94
children cc27f35aa75c
comparison
equal deleted inserted replaced
932:e06f03013f46 933:d03b3d956358
19 #include <cstddef> 19 #include <cstddef>
20 #include <set> 20 #include <set>
21 21
22 #include "XmlExportable.h" 22 #include "XmlExportable.h"
23 23
24 /**
25 * A selection object simply represents a range in time, via start and
26 * end frame.
27 *
28 * The end frame is the index of the frame just *after* the end of the
29 * selection. For example a selection of length 10 frames starting at
30 * time 0 will have start frame 0 and end frame 10. This will be
31 * contiguous with (rather than overlapping with) a selection that
32 * starts at frame 10.
33 *
34 * Any selection with equal start and end frames is empty,
35 * representing "no selection". All empty selections are equal under
36 * the comparison operators. The default constructor makes an empty
37 * selection with start and end frames equal to zero.
38 */
24 class Selection 39 class Selection
25 { 40 {
26 public: 41 public:
27 Selection(); 42 Selection();
28 Selection(int startFrame, int endFrame); 43 Selection(int startFrame, int endFrame);