50 if (!isinCurrentInterval) {
51 ++(*m_currentIntervalIndex);
DataBlockGenerator: The DataBlockGenerator class provides increasing int64_t numbers from a collectio...
DataBlockGenerator(std::vector< SpectrumPair > intervals)
void next()
Convenience method for incrementing.
DataBlockGenerator & operator++()
We need to increment through a series of intervals and need to make sure that we skip the gaps.
boost::optional< size_t > m_currentIntervalIndex
std::vector< SpectrumPair > m_intervals
specnum_t m_currentSpectrum
std::pair< specnum_t, specnum_t > SpectrumPair
int32_t specnum_t
Typedef for a spectrum Number.