libpappsomspp
Library for mass spectrometry
Toggle main menu visibility
Loading...
Searching...
No Matches
wraptandemresults.h
Go to the documentation of this file.
1
/**
2
* \file pappsomspp/processing/tandemwrapper/wraptandemresults.h
3
* \date 13/11/2021
4
* \author Olivier Langella
5
* \brief rewrites tandem xml output file with temporary files
6
*/
7
8
/*******************************************************************************
9
* Copyright (c) 2021 Olivier Langella <Olivier.Langella@u-psud.fr>.
10
*
11
* This file is part of PAPPSOms-tools.
12
*
13
* PAPPSOms-tools is free software: you can redistribute it and/or modify
14
* it under the terms of the GNU General Public License as published by
15
* the Free Software Foundation, either version 3 of the License, or
16
* (at your option) any later version.
17
*
18
* PAPPSOms-tools is distributed in the hope that it will be useful,
19
* but WITHOUT ANY WARRANTY; without even the implied warranty of
20
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
* GNU General Public License for more details.
22
*
23
* You should have received a copy of the GNU General Public License
24
* along with PAPPSOms-tools. If not, see <http://www.gnu.org/licenses/>.
25
*
26
******************************************************************************/
27
28
#pragma once
29
30
#include <QDebug>
31
#include <QFile>
32
#include "
../xml/xmlstreamreaderinterface.h
"
33
34
35
namespace
pappso
36
{
37
38
39
/**
40
* @todo write docs
41
*/
42
class
WrapTandemResults
:
public
XmlStreamReaderInterface
43
{
44
public
:
45
/**
46
* Default constructor
47
*/
48
WrapTandemResults
(
const
QString &final_tandem_output,
49
const
QString &original_msdata_file_name);
50
51
/**
52
* Destructor
53
*/
54
virtual
~WrapTandemResults
();
55
56
void
setInputParameters
(
const
QString &label_name_attribute,
57
const
QString &input_value);
58
59
protected
:
60
virtual
void
readStream
()
override
;
61
62
private
:
63
void
process_group_note
();
64
65
66
private
:
67
QFile
m_destinationTandemOutputFile
;
68
QXmlStreamWriter
m_writerXmlTandemOutput
;
69
QString
m_originalMsDataFileName
;
70
71
std::map<QString, QString>
m_mapTandemInputParameters
;
72
};
73
}
// namespace pappso
pappso::WrapTandemResults::process_group_note
void process_group_note()
Definition
wraptandemresults.cpp:64
pappso::WrapTandemResults::m_destinationTandemOutputFile
QFile m_destinationTandemOutputFile
Definition
wraptandemresults.h:67
pappso::WrapTandemResults::m_writerXmlTandemOutput
QXmlStreamWriter m_writerXmlTandemOutput
Definition
wraptandemresults.h:68
pappso::WrapTandemResults::~WrapTandemResults
virtual ~WrapTandemResults()
Definition
wraptandemresults.cpp:52
pappso::WrapTandemResults::WrapTandemResults
WrapTandemResults(const QString &final_tandem_output, const QString &original_msdata_file_name)
Definition
wraptandemresults.cpp:36
pappso::WrapTandemResults::m_originalMsDataFileName
QString m_originalMsDataFileName
Definition
wraptandemresults.h:69
pappso::WrapTandemResults::readStream
virtual void readStream() override
Definition
wraptandemresults.cpp:125
pappso::WrapTandemResults::m_mapTandemInputParameters
std::map< QString, QString > m_mapTandemInputParameters
Definition
wraptandemresults.h:71
pappso::WrapTandemResults::setInputParameters
void setInputParameters(const QString &label_name_attribute, const QString &input_value)
Definition
wraptandemresults.cpp:57
pappso::XmlStreamReaderInterface::XmlStreamReaderInterface
XmlStreamReaderInterface()
Definition
xmlstreamreaderinterface.cpp:37
pappso
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition
aa.cpp:39
xmlstreamreaderinterface.h
pappsomspp
core
processing
tandemwrapper
wraptandemresults.h
Generated on
for libpappsomspp by
1.17.0