libpappsomspp
Library for mass spectrometry
Loading...
Searching...
No Matches
wraptandeminput.h
Go to the documentation of this file.
1
/**
2
* \file pappsomspp/processing/tandemwrapper/wraptandeminput.h
3
* \date 13/11/2021
4
* \author Olivier Langella
5
* \brief rewrites tandem xml input 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
* @todo write docs
35
*/
36
namespace
pappso
37
{
38
39
/**
40
* @todo write docs
41
*/
42
class
WrapTandemInput
:
public
XmlStreamReaderInterface
43
{
44
public
:
45
/**
46
* Default constructor
47
*/
48
WrapTandemInput
(
const
QString &destinationMzXmlFile,
49
const
QString &destinationTandemInputFile,
50
const
QString &destinationTandemOutputFile);
51
52
/**
53
* Destructor
54
*/
55
virtual
~WrapTandemInput
();
56
57
58
const
QString &
getOriginalMsDataFileName
()
const
;
59
const
QString &
getOriginalTandemOutputFileName
()
const
;
60
61
const
QString &
getOriginalTandemPresetFileName
()
const
;
62
63
64
protected
:
65
virtual
void
readStream
()
override
;
66
67
private
:
68
QString
m_destinationMzXmlFileName
;
69
QString
m_originMzDataFileName
;
70
QString
m_destinationTandemInputFileName
;
71
QString
m_originTandemPresetFileName
;
72
QString
m_originTandemOutpuFileName
;
73
QString
m_destinationTandemOutputFileName
;
74
QFile
m_destinationTandemInputFile
;
75
QXmlStreamWriter
m_writerXmlTandemInput
;
76
};
77
}
// namespace pappso
pappso::WrapTandemInput::m_writerXmlTandemInput
QXmlStreamWriter m_writerXmlTandemInput
Definition
wraptandeminput.h:75
pappso::WrapTandemInput::m_originMzDataFileName
QString m_originMzDataFileName
Definition
wraptandeminput.h:69
pappso::WrapTandemInput::m_destinationTandemInputFile
QFile m_destinationTandemInputFile
Definition
wraptandeminput.h:74
pappso::WrapTandemInput::readStream
virtual void readStream() override
Definition
wraptandeminput.cpp:71
pappso::WrapTandemInput::WrapTandemInput
WrapTandemInput(const QString &destinationMzXmlFile, const QString &destinationTandemInputFile, const QString &destinationTandemOutputFile)
Definition
wraptandeminput.cpp:36
pappso::WrapTandemInput::getOriginalTandemOutputFileName
const QString & getOriginalTandemOutputFileName() const
Definition
wraptandeminput.cpp:149
pappso::WrapTandemInput::~WrapTandemInput
virtual ~WrapTandemInput()
Definition
wraptandeminput.cpp:64
pappso::WrapTandemInput::m_originTandemPresetFileName
QString m_originTandemPresetFileName
Definition
wraptandeminput.h:71
pappso::WrapTandemInput::m_originTandemOutpuFileName
QString m_originTandemOutpuFileName
Definition
wraptandeminput.h:72
pappso::WrapTandemInput::m_destinationTandemInputFileName
QString m_destinationTandemInputFileName
Definition
wraptandeminput.h:70
pappso::WrapTandemInput::m_destinationTandemOutputFileName
QString m_destinationTandemOutputFileName
Definition
wraptandeminput.h:73
pappso::WrapTandemInput::getOriginalTandemPresetFileName
const QString & getOriginalTandemPresetFileName() const
Definition
wraptandeminput.cpp:155
pappso::WrapTandemInput::getOriginalMsDataFileName
const QString & getOriginalMsDataFileName() const
Definition
wraptandeminput.cpp:143
pappso::WrapTandemInput::m_destinationMzXmlFileName
QString m_destinationMzXmlFileName
Definition
wraptandeminput.h:68
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
wraptandeminput.h
Generated on Tue Sep 23 2025 09:36:36 for libpappsomspp by
1.13.2