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 <ThirdPartyWarningsDisable.h>
16 #include <QObject>
17 #include <Base/mlabCoreServices.h>
18 #include <mlParameterInfo.h>
19 #include <ThirdPartyWarningsRestore.h>
20 
21 ML_START_NAMESPACE
22  class BaseWithParameterInfo;
23 ML_END_NAMESPACE
24 
27 {
28  Q_OBJECT
29 
30 public:
33 
34 public slots:
36 
39  QVariantMap toDict() const;
40 
42 
43 protected:
46 };
47 
48 
51 {
52  Q_OBJECT
53 
54 public:
57 
58 public slots:
60 
63  QVariantMap getParameterInfo() const;
65 
66 protected:
69 };
70 
#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...