libpappsomspp
Library for mass spectrometry
|
Go to the documentation of this file.
32 qRegisterMetaType<pappso::MsRunIdCstSPtr>(
"pappso::MsRunIdCstSPtr");
58 : m_fileName(other.m_fileName),
59 m_runId(other.m_runId),
60 m_xmlId(other.m_xmlId),
61 m_sampleName(other.m_sampleName),
62 m_mzFormat(other.m_mzFormat)
91 QFileInfo file_info(file_name);
92 QString extension = file_info.suffix();
102 if(extension.toLower() ==
"mzxml")
106 else if(extension.toLower() ==
"mgf")
110 else if(extension.toLower() ==
"mzml")
189 QString text = QString(
193 "sample name: '%4'\n")
bool operator==(const MsRunId &other) const
void setMzFormat(MzFormat format)
const QString & getFileName() const
const QString & getRunId() const
tries to keep as much as possible monoisotopes, removing any possible C13 peaks
void setXmlId(const QString &xml_id)
set an XML unique identifier for this MsRunId
void setRunId(const QString &run_id)
void setSampleName(const QString &name)
set a sample name for this MsRunId
const QString & getSampleName() const
MS run identity MsRunId identifies an MS run with a unique ID (XmlId) and contains eventually informa...
void setFileName(const QString &file_name)
int msRunIdCstSPtrMetaTypeId
MsRunId & operator=(const MsRunId &other)
const QString & getXmlId() const
MzFormat getMzFormat() const