Loading...
Searching...
No Matches
massspectrumpluscombiner.h
Go to the documentation of this file.
#pragma once
#include <memory>
#include <QDataStream>
#include "pappsomspp/export-import-config.h"
#include "massspectrumcombiner.h"
namespace pappso
{
class MassSpectrumPlusCombiner;
typedef std::shared_ptr<const MassSpectrumPlusCombiner>
MassSpectrumPlusCombinerCstSPtr;
typedef std::shared_ptr<MassSpectrumPlusCombiner> MassSpectrumPlusCombinerSPtr;
class PMSPP_LIB_DECL MassSpectrumPlusCombiner: public MassSpectrumCombiner
{
Q_OBJECT
public:
Q_INVOKABLE MassSpectrumPlusCombiner(QObject *parent_p = nullptr);
Q_INVOKABLE MassSpectrumPlusCombiner(int decimal_places,
QObject *parent_p = nullptr);
MassSpectrumPlusCombiner(const MassSpectrumPlusCombiner &other,
QObject *parent_p = nullptr);
MassSpectrumPlusCombiner(MassSpectrumPlusCombinerCstSPtr other,
QObject *parent_p = nullptr);
virtual ~MassSpectrumPlusCombiner();
MassSpectrumPlusCombiner &operator=(const MassSpectrumPlusCombiner &other);
Q_INVOKABLE virtual MapTrace &combine(MapTrace &map_trace,
const Trace &trace) const override;
Q_INVOKABLE virtual MapTrace &
combine(MapTrace &map_trace_out, const MapTrace &map_trace_in) const override;
// # pragma message "This pragma is inside"
static void registerJsConstructor(QJSEngine *engine);
};
PAPPSO_REGISTER_JS_CLASS(pappso, MassSpectrumPlusCombiner)
} // namespace pappso
pappso::MapTrace
Definition maptrace.h:36
pappso::MassSpectrumCombiner::MassSpectrumCombiner
MassSpectrumCombiner(QObject *parent_p=nullptr)
Construct an uninitialized instance.
Definition massspectrumcombiner.cpp:19
pappso::MassSpectrumPlusCombiner
Definition massspectrumpluscombiner.h:21
pappso::MassSpectrumPlusCombiner::registerJsConstructor
static void registerJsConstructor(QJSEngine *engine)
Definition massspectrumpluscombiner.cpp:294
pappso::MassSpectrumPlusCombiner::combine
virtual Q_INVOKABLE MapTrace & combine(MapTrace &map_trace, const Trace &trace) const override
Definition massspectrumpluscombiner.cpp:90
pappso::MassSpectrumPlusCombiner::operator=
MassSpectrumPlusCombiner & operator=(const MassSpectrumPlusCombiner &other)
Definition massspectrumpluscombiner.cpp:58
pappso::MassSpectrumPlusCombiner::MassSpectrumPlusCombiner
Q_INVOKABLE MassSpectrumPlusCombiner(QObject *parent_p=nullptr)
Construct an uninitialized instance.
Definition massspectrumpluscombiner.cpp:27
pappso::Trace
A simple container of DataPoint instances.
Definition trace.h:152
export-import-config.h
PMSPP_LIB_DECL
#define PMSPP_LIB_DECL
Definition export-import-config.h:14
PAPPSO_REGISTER_JS_CLASS
#define PAPPSO_REGISTER_JS_CLASS(NS_IDENT, CLASS_NAME)
Definition jsclassregistrar.h:35
massspectrumcombiner.h
pappso
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition aa.cpp:39
pappso::MassSpectrumPlusCombinerCstSPtr
std::shared_ptr< const MassSpectrumPlusCombiner > MassSpectrumPlusCombinerCstSPtr
Definition massspectrumpluscombiner.h:16
pappso::MassSpectrumPlusCombinerSPtr
std::shared_ptr< MassSpectrumPlusCombiner > MassSpectrumPlusCombinerSPtr
Definition massspectrumpluscombiner.h:18