#include <functional>
#include <unordered_map>
#include <QtQml>
#include <QMap>
#include "pappsomspp/export-import-config.h"
Go to the source code of this file.
|
| namespace | pappso |
| | tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multicharge peaks to monocharge
|
| |
◆ PAPPSO_REGISTER_JS_CLASS
| #define PAPPSO_REGISTER_JS_CLASS |
( |
|
NS_IDENT, |
|
|
|
CLASS_NAME |
|
) |
| |
Value: struct JsRegHelper_##CLASS_NAME \
{ \
JsRegHelper_##CLASS_NAME() \
{ \
pappso::getNameSpaceClassNameJsConstructorRegistrarMap().insert( \
{{QStringLiteral(
STRINGIFY_NS(NS_IDENT)), QStringLiteral(#CLASS_NAME)}, \
[](QJSEngine *engine) { NS_IDENT::CLASS_NAME::registerJsConstructor(engine); }}); \
} \
}; \
static JsRegHelper_##CLASS_NAME jsRegHelperInstance_##CLASS_NAME;
Definition at line 35 of file jsclassregistrar.h.
37 { \
38 JsRegHelper_##CLASS_NAME() \
39 { \
40 pappso::getNameSpaceClassNameJsConstructorRegistrarMap().insert( \
41 {{QStringLiteral(
STRINGIFY_NS(NS_IDENT)), QStringLiteral(#CLASS_NAME)}, \
42 [](QJSEngine *engine) { NS_IDENT::CLASS_NAME::registerJsConstructor(engine); }}); \
43 } \
44 }; \
45 static JsRegHelper_##CLASS_NAME jsRegHelperInstance_##CLASS_NAME;
◆ STRINGIFY_NS
| #define STRINGIFY_NS |
( |
|
ns | ) |
#ns |