OpenMS  2.8.0
Public Member Functions | Public Attributes | List of all members
MSSpectrum::Chunk Struct Reference

Used to remember what subsets in a spectrum are sorted already to allow faster sorting of the spectrum. More...

#include <OpenMS/KERNEL/MSSpectrum.h>

Collaboration diagram for MSSpectrum::Chunk:
[legend]

Public Member Functions

 Chunk (Size start, Size end, bool sorted)
 

Public Attributes

Size start
 inclusive More...
 
Size end
 not inclusive More...
 
bool is_sorted
 are the Peaks in [start, end) sorted yet? More...
 

Detailed Description

Used to remember what subsets in a spectrum are sorted already to allow faster sorting of the spectrum.

Constructor & Destructor Documentation

◆ Chunk()

Chunk ( Size  start,
Size  end,
bool  sorted 
)
inline

Member Data Documentation

◆ end

Size end

not inclusive

◆ is_sorted

bool is_sorted

are the Peaks in [start, end) sorted yet?

◆ start

Size start

inclusive