MeVisLab Toolbox Reference
mlParameterInfoWrapper.h
Go to the documentation of this file.
1// Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2// **InsertLicense** code
3//----------------------------------------------------------------------------------
7//----------------------------------------------------------------------------------
8
9
10#pragma once
11
12
14
15#include <FMEThirdPartyWarningsDisable.h>
16#include <QObject>
17#include <Base/mlabCoreServices.h>
18#include <mlParameterInfo.h>
19#include <FMEThirdPartyWarningsRestore.h>
20
21ML_START_NAMESPACE
22 class BaseWithParameterInfo;
23ML_END_NAMESPACE
24
29{
30 Q_OBJECT
31
32public:
35
36public slots:
38
41 QVariantMap toDict() const;
42
44
45protected:
48};
49
50
55{
56 Q_OBJECT
57
58public:
61
62public slots:
64
67 QVariantMap getParameterInfo() const;
69
70protected:
73};
74
#define MLParameterInfoWrappers_EXPORT
A class that wraps BaseWithParameterInfo objects for use in Python, and inspectable by the ParameterI...
MLBaseWithParameterInfoWrapper(const ml::BaseWithParameterInfo *object)
Constructor.
QVariantMap getParameterInfo() const
\script
const ml::BaseWithParameterInfo & _object
Wrapped ParameterInfo object.
A class that wraps ParameterInfo objects for use in Python, and inspectable by the ParameterInfoInspe...
QVariantMap toDict() const
\script
const ml::ParameterInfo & _paramInfo
Wrapped ParameterInfo object.
MLParameterInfoWrapper(const ml::ParameterInfo *paramInfo)
Constructor.
Mixin class to support generic getParameterInfo() object wrapping of supporting classes (e....
We would normally co-derive from QVariantMap, but this turned out to cause at least linker problems d...