MeVisLab Toolbox Reference
mlDRTSetupDeviceSequenceItemWrapper.h
Go to the documentation of this file.
1// Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2// **InsertLicense** code
3//----------------------------------------------------------------------------------
4//
5// NOTE:
6// This file has been generated automatically by
7// FMEwork/ReleaseMeVis/Configuration/CodeGenerators/dcmtkToMLConverter/convertDcmtkToML.py
8// using the template file
9// FMEwork/ReleaseMeVis/Configuration/CodeGenerators/dcmtkToMLConverter/MLDcmtkIODWrappers/templates/DcmSequenceItemWrapper.h
10//
11// Destination project:
12// FMEwork/ReleaseMeVis/Sources/Wrappers/MLDcmtkIODWrappers/DcmSequenceInterfaces/Items
13//
14//----------------------------------------------------------------------------------
16
22//----------------------------------------------------------------------------------
23
24
25#ifndef __mlDRTSetupDeviceSequenceItemWrapper_H
26#define __mlDRTSetupDeviceSequenceItemWrapper_H
27
28#ifndef Q_MOC_RUN
29
30#include <FMEThirdPartyWarningsDisable.h>
31#include <QObject>
32#include <QVariant>
33#include <QVariantMap>
34#include <QList>
35#include <QStringList>
36#include <FMEThirdPartyWarningsRestore.h>
37
38// MLDcmtkAccessories includes
40
41
42
43#endif
44
48{
49 Q_OBJECT
50
51public:
52
53 QStringList _propertyKeys;
54
56 : _wrappedSequenceItem(wrappedSequenceItem)
57 , _sequenceInterface(sequenceInterface)
58 {
59 _init();
60 }
61
63 : QObject()
64 {
65 _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
66 _sequenceInterface = toCopy.getSequence();
67 _init();
68 }
69
71 {
72 _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
73 _sequenceInterface = toCopy.getSequence();
74 _init();
75 return *this;
76 }
77
79 ml::DcmDRTSetupDeviceSequenceInterface* getSequence() const { return _sequenceInterface; }
80
81
92
93
94
95public slots:
98
99 QStringList dir(QString searchString="") const;
100
101 QVariantMap getDicomTagByKey(QString key) const;
102 QVariantMap getDicomTagByName(QString name) const;
103 QVariant getDicomTagValueByKey(QString key) const;
104 QVariant getDicomTagValueByName(QString name) const;
105
106
107 bool setSetupDeviceDescription(QString qParam);
110
111 bool setSetupDeviceLabel(QString qParam);
112 QString getSetupDeviceLabelTag() const;
113 QString getSetupDeviceLabel() const;
114
115 bool setSetupDeviceParameter(QString qParam);
117 QString getSetupDeviceParameter() const;
118
119 bool setSetupDeviceType(QString qParam);
120 QString getSetupDeviceTypeTag() const;
121 QString getSetupDeviceType() const;
122
123 bool setSetupReferenceDescription(QString qParam);
126
127
128
130
131private:
132
133 ml::DcmDRTSetupDeviceSequenceInterface::Item _wrappedSequenceItem;
134 ml::DcmDRTSetupDeviceSequenceInterface* _sequenceInterface;
135
136 QMap<QString, QString> _dcmTagToPropertyMap;
137 QMap<QString, QString> _vrCode;
138 void _init();
139};
140
141
142#endif // __mlDRTSetupDeviceSequenceItemWrapper_H
A class that wraps DRTSetupDeviceSequence Item for use in Python.
bool setSetupDeviceLabel(QString qParam)
ml::DcmDRTSetupDeviceSequenceInterface * getSequence() const
QString getSetupReferenceDescriptionTag() const
ml::DcmDRTSetupDeviceSequenceInterface::Item getWrappedSequenceItem() const
QString getSetupReferenceDescription() const
QString getSetupDeviceDescription() const
QVariantMap getDicomTagByKey(QString key) const
bool setSetupDeviceType(QString qParam)
QVariant getDicomTagValueByKey(QString key) const
DRTSetupDeviceSequenceItemWrapper & operator=(const DRTSetupDeviceSequenceItemWrapper &toCopy)
DRTSetupDeviceSequenceItemWrapper(const DRTSetupDeviceSequenceItemWrapper &toCopy)
QVariantMap getDicomTagByName(QString name) const
bool setSetupReferenceDescription(QString qParam)
bool setSetupDeviceParameter(QString qParam)
QStringList dir(QString searchString="") const
QString getSetupDeviceLabelTag() const
QVariant getDicomTagValueByName(QString name) const
QString getSetupDeviceParameter() const
DRTSetupDeviceSequenceItemWrapper(const ml::DcmDRTSetupDeviceSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTSetupDeviceSequenceInterface *sequenceInterface)
QString getSetupDeviceDescriptionTag() const
bool setSetupDeviceDescription(QString qParam)
QString getSetupDeviceParameterTag() const
Class to provide access to DRTSetupDeviceSequence.
Class to provide access to DRTSetupDeviceSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51