OpenMS
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 p_start, Size p_end, bool p_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  p_start,
Size  p_end,
bool  p_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