Loading...
Searching...
No Matches
mzcbormsfilereader.h
Go to the documentation of this file.
#pragma once
#include <QString>
#include <pwiz/data/msdata/MSData.hpp>
#include "pappsomspp/core/types.h"
#include "msfilereader.h"
#include "pappsomspp/core/msrun/msrunid.h"
#include "pappsomspp/core/processing/cbor/mzcbor/mzcborindexreader.h"
#include "pappsomspp/core/processing/cbor/mzcbor/mzcborreaderbase.h"
namespace pappso
{
/**
* @todo write docs
*/
class MzcborMsFileReader : MsFileReader
{
public:
MzcborMsFileReader(const QString &file_name);
virtual ~MzcborMsFileReader();
virtual Enums::MsDataFormat getFileFormat() override;
virtual std::vector<MsRunIdCstSPtr> getMsRunIds(const QString &run_prefix) override;
private:
virtual std::size_t initialize();
private:
std::vector<pwiz::msdata::MSDataPtr> m_msDataPtrVector;
pappso::cbor::mzcbor::MzcborReaderBase m_mzcborReaderBase;
pappso::cbor::mzcbor::MzcborIndexReader m_mzcborIndexReader;
};
} // namespace pappso
pappso::MsFileReader::MsFileReader
MsFileReader(const QString &file_name)
Definition msfilereader.cpp:19
pappso::MzcborMsFileReader::m_mzcborIndexReader
pappso::cbor::mzcbor::MzcborIndexReader m_mzcborIndexReader
Definition mzcbormsfilereader.h:39
pappso::MzcborMsFileReader::m_msDataPtrVector
std::vector< pwiz::msdata::MSDataPtr > m_msDataPtrVector
Definition mzcbormsfilereader.h:36
pappso::MzcborMsFileReader::~MzcborMsFileReader
virtual ~MzcborMsFileReader()
Definition mzcbormsfilereader.cpp:19
pappso::MzcborMsFileReader::getMsRunIds
virtual std::vector< MsRunIdCstSPtr > getMsRunIds(const QString &run_prefix) override
Definition mzcbormsfilereader.cpp:81
pappso::MzcborMsFileReader::getFileFormat
virtual Enums::MsDataFormat getFileFormat() override
Definition mzcbormsfilereader.cpp:25
pappso::MzcborMsFileReader::m_mzcborReaderBase
pappso::cbor::mzcbor::MzcborReaderBase m_mzcborReaderBase
Definition mzcbormsfilereader.h:38
pappso::MzcborMsFileReader::MzcborMsFileReader
MzcborMsFileReader(const QString &file_name)
Definition mzcbormsfilereader.cpp:12
pappso::MzcborMsFileReader::initialize
virtual std::size_t initialize()
Definition mzcbormsfilereader.cpp:35
pappso::cbor::mzcbor::MzcborIndexReader
Definition mzcborindexreader.h:43
pappso::cbor::mzcbor::MzcborReaderBase
base class to initialize mzCBOR file parsing
Definition mzcborreaderbase.h:45
msfilereader.h
msrunid.h
mzcborindexreader.h
read mzcbor index file
mzcborreaderbase.h
read mzcbor stream or file
pappso::Enums::MsDataFormat
MsDataFormat
Definition types.h:148
pappso
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition aa.cpp:39
types.h