comparison data/model/RangeSummarisableTimeValueModel.h @ 929:59e7fe1b1003 warnfix_no_size_t

Unsigned removals and warning fixes in data/
author Chris Cannam
date Tue, 17 Jun 2014 14:33:42 +0100
parents f3c98e89cf75
children cc27f35aa75c
comparison
equal deleted inserted replaced
928:6a94bb528e9d 929:59e7fe1b1003
72 * If the given block size is not supported by this model 72 * If the given block size is not supported by this model
73 * (according to its zoom constraint), also modify the blockSize 73 * (according to its zoom constraint), also modify the blockSize
74 * parameter so as to return the block size that was actually 74 * parameter so as to return the block size that was actually
75 * obtained. 75 * obtained.
76 */ 76 */
77 virtual void getSummaries(size_t channel, size_t start, size_t count, 77 virtual void getSummaries(int channel, int start, int count,
78 RangeBlock &ranges, 78 RangeBlock &ranges,
79 size_t &blockSize) const = 0; 79 int &blockSize) const = 0;
80 80
81 /** 81 /**
82 * Return the range from the given start frame, corresponding to 82 * Return the range from the given start frame, corresponding to
83 * the given number of underlying sample frames, summarised at a 83 * the given number of underlying sample frames, summarised at a
84 * block size equal to the distance between start and end frames. 84 * block size equal to the distance between start and end frames.
85 */ 85 */
86 virtual Range getSummary(size_t channel, size_t start, size_t count) const = 0; 86 virtual Range getSummary(int channel, int start, int count) const = 0;
87 87
88 virtual size_t getSummaryBlockSize(size_t desired) const = 0; 88 virtual int getSummaryBlockSize(int desired) const = 0;
89 89
90 QString getTypeName() const { return tr("Range-Summarisable Time-Value"); } 90 QString getTypeName() const { return tr("Range-Summarisable Time-Value"); }
91 }; 91 };
92 92
93 #endif 93 #endif