libpappsomspp
Library for mass spectrometry
xymsfilereader.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include <QString>
5 
6 #include <pwiz/data/msdata/MSData.hpp>
7 
8 #include "msfilereader.h"
9 #include "../msrun/msrunid.h"
10 
11 
12 namespace pappso
13 {
14 
15 
17 {
18  private:
19  virtual std::size_t initialize();
20 
21  public:
22  XyMsFileReader(const QString &file_name);
23  virtual ~XyMsFileReader();
24 
25  virtual MzFormat getFileFormat() override;
26 
27  virtual std::vector<MsRunIdCstSPtr>
28  getMsRunIds(const QString &run_prefix) override;
29 
30  MsRunReader *selectMsRunReader(const QString &file_name) const;
31 };
32 
33 } // namespace pappso
base class to read MSrun the only way to build a MsRunReader object is to use the MsRunReaderFactory
Definition: msrunreader.h:158
virtual std::size_t initialize()
virtual std::vector< MsRunIdCstSPtr > getMsRunIds(const QString &run_prefix) override
virtual MzFormat getFileFormat() override
MsRunReader * selectMsRunReader(const QString &file_name) const
XyMsFileReader(const QString &file_name)
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition: aa.cpp:39
MzFormat
Definition: types.h:107