Loading...
Searching...
No Matches
massspectrumminuscombiner.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 MassSpectrumMinusCombiner;
typedef std::shared_ptr<const MassSpectrumMinusCombiner>
MassSpectrumMinusCombinerCstSPtr;
typedef std::shared_ptr<MassSpectrumMinusCombiner>
MassSpectrumMinusCombinerSPtr;
class PMSPP_LIB_DECL MassSpectrumMinusCombiner: public MassSpectrumCombiner
{
Q_OBJECT
public:
Q_INVOKABLE MassSpectrumMinusCombiner(QObject *parent_p = nullptr);
Q_INVOKABLE MassSpectrumMinusCombiner(int decimal_places,
QObject *parent_p = nullptr);
MassSpectrumMinusCombiner(MassSpectrumMinusCombinerCstSPtr other,
QObject *parent_p = nullptr);
MassSpectrumMinusCombiner(const MassSpectrumMinusCombiner &other,
QObject *parent_p = nullptr);
virtual ~MassSpectrumMinusCombiner();
MassSpectrumMinusCombiner &operator=(const MassSpectrumMinusCombiner &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, MassSpectrumMinusCombiner)
} // 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::MassSpectrumMinusCombiner
Definition massspectrumminuscombiner.h:22
pappso::MassSpectrumMinusCombiner::registerJsConstructor
static void registerJsConstructor(QJSEngine *engine)
Definition massspectrumminuscombiner.cpp:292
pappso::MassSpectrumMinusCombiner::combine
virtual Q_INVOKABLE MapTrace & combine(MapTrace &map_trace, const Trace &trace) const override
Definition massspectrumminuscombiner.cpp:90
pappso::MassSpectrumMinusCombiner::MassSpectrumMinusCombiner
Q_INVOKABLE MassSpectrumMinusCombiner(QObject *parent_p=nullptr)
Construct an uninitialized instance.
Definition massspectrumminuscombiner.cpp:27
pappso::MassSpectrumMinusCombiner::operator=
MassSpectrumMinusCombiner & operator=(const MassSpectrumMinusCombiner &other)
Definition massspectrumminuscombiner.cpp:58
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::MassSpectrumMinusCombinerCstSPtr
std::shared_ptr< const MassSpectrumMinusCombiner > MassSpectrumMinusCombinerCstSPtr
Definition massspectrumminuscombiner.h:17
pappso::MassSpectrumMinusCombinerSPtr
std::shared_ptr< MassSpectrumMinusCombiner > MassSpectrumMinusCombinerSPtr
Definition massspectrumminuscombiner.h:19