75 void readSpectrum(std::size_t index_count,
bool want_binary_data);
78 std::map<QString, CvParam>
readScan();
interface to collect spectrums from the MsRunReader class
void setMsRunId(const MsRunIdCstSPtr &msrun_id)
SpectrumCollectionHandlerInterface & m_SpectrumCollectionHandlerInterface
void readSpectrum(std::size_t index_count, bool want_binary_data)
read each spectrum in the targeted msrun (msrunId)
MzcborSpectrumCollectionReader(const MsRunReadConfig &config, SpectrumCollectionHandlerInterface &handler)
void setNativeId2SpectrumIndexMapPtr(const std::map< QString, std::size_t > *nativeId2SpectrumIndexMap)
MsRunIdCstSPtr mcsp_msRunId
void readSpectrumListAndLeave()
only the spectrum list of targeted msrun, then stop parsing
const std::map< QString, std::size_t > * mp_nativeId2SpectrumIndexMap
std::map< QString, CvParam > readScan()
virtual void readMsrun() override
read only the targeted msrun
const MsRunReadConfig & m_msRunReadConfig
read mzcbor stream or file
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
std::shared_ptr< const MsRunId > MsRunIdCstSPtr
base interface to read MSrun files