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#include "../msrun/msrunreader.h"
11
12
13namespace pappso
14{
15
16
18{
19 private:
20 virtual std::size_t initialize();
21
22 public:
23 XyMsFileReader(const QString &file_name);
24 virtual ~XyMsFileReader();
25
26 virtual MzFormat getFileFormat() override;
27
28 virtual std::vector<MsRunIdCstSPtr>
29 getMsRunIds(const QString &run_prefix) override;
30
31 MsRunReader *selectMsRunReader(const QString &file_name) const;
32};
33
34} // namespace pappso
base class to read MSrun the only way to build a MsRunReader object is to use the MsRunReaderFactory
Definition: msrunreader.h:63
virtual std::size_t initialize()
virtual std::vector< MsRunIdCstSPtr > getMsRunIds(const QString &run_prefix) override
MsRunReader * selectMsRunReader(const QString &file_name) const
virtual MzFormat getFileFormat() override
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:120