MeVisLab Toolbox Reference
mlDRTApplicationSetupSequenceItemWrapper.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 __mlDRTApplicationSetupSequenceItemWrapper_H
26#define __mlDRTApplicationSetupSequenceItemWrapper_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
45
46#endif
47
51{
52 Q_OBJECT
53
54public:
55
56 QStringList _propertyKeys;
57
59 : _wrappedSequenceItem(wrappedSequenceItem)
60 , _sequenceInterface(sequenceInterface)
61 {
62 _init();
63 }
64
66 : QObject()
67 {
68 _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
69 _sequenceInterface = toCopy.getSequence();
70 _init();
71 }
72
74 {
75 _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
76 _sequenceInterface = toCopy.getSequence();
77 _init();
78 return *this;
79 }
80
82 ml::DcmDRTApplicationSetupSequenceInterface* getSequence() const { return _sequenceInterface; }
83
84
94 Q_PROPERTY(QString TemplateName READ getTemplateName WRITE setTemplateName)
96 Q_PROPERTY(QString TemplateNumber READ getTemplateNumber WRITE setTemplateNumber)
98 Q_PROPERTY(QString TemplateType READ getTemplateType WRITE setTemplateType)
101
108
109
110public slots:
113
114 QStringList dir(QString searchString="") const;
115
116 QVariantMap getDicomTagByKey(QString key) const;
117 QVariantMap getDicomTagByName(QString name) const;
118 QVariant getDicomTagValueByKey(QString key) const;
119 QVariant getDicomTagValueByName(QString name) const;
120
121
125
126 bool setApplicationSetupName(QString qParam);
128 QString getApplicationSetupName() const;
129
130 bool setApplicationSetupNumber(QString qParam);
133
134 bool setApplicationSetupType(QString qParam);
136 QString getApplicationSetupType() const;
137
138 bool setTemplateName(QString qParam);
139 QString getTemplateNameTag() const;
140 QString getTemplateName() const;
141
142 bool setTemplateNumber(QString qParam);
143 QString getTemplateNumberTag() const;
144 QString getTemplateNumber() const;
145
146 bool setTemplateType(QString qParam);
147 QString getTemplateTypeTag() const;
148 QString getTemplateType() const;
149
150 bool setTotalReferenceAirKerma(QString qParam);
153
154
155 bool setBrachyAccessoryDeviceSequence(QVariant qParam);
158
159 bool setChannelSequence(QVariant qParam);
160 QVariant getChannelSequence() const;
161 QString getChannelSequenceTag() const;
162
166
167
169
170private:
171
172 ml::DcmDRTApplicationSetupSequenceInterface::Item _wrappedSequenceItem;
173 ml::DcmDRTApplicationSetupSequenceInterface* _sequenceInterface;
174
175 QMap<QString, QString> _dcmTagToPropertyMap;
176 QMap<QString, QString> _vrCode;
177 void _init();
178};
179
180
181#endif // __mlDRTApplicationSetupSequenceItemWrapper_H
A class that wraps DRTApplicationSetupSequence Item for use in Python.
bool setBrachyAccessoryDeviceSequence(QVariant qParam)
QString getApplicationSetupManufacturerTag() const
QVariant getBrachyAccessoryDeviceSequence() const
bool setTemplateNumber(QString qParam)
DRTApplicationSetupSequenceItemWrapper & operator=(const DRTApplicationSetupSequenceItemWrapper &toCopy)
ml::DcmDRTApplicationSetupSequenceInterface::Item getWrappedSequenceItem() const
QVariant getReferencedReferenceImageSequence() const
bool setApplicationSetupType(QString qParam)
QString getReferencedReferenceImageSequenceTag() const
QVariant getDicomTagValueByKey(QString key) const
bool setTotalReferenceAirKerma(QString qParam)
bool setApplicationSetupManufacturer(QString qParam)
bool setReferencedReferenceImageSequence(QVariant qParam)
DRTApplicationSetupSequenceItemWrapper(const ml::DcmDRTApplicationSetupSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTApplicationSetupSequenceInterface *sequenceInterface)
bool setApplicationSetupName(QString qParam)
QStringList dir(QString searchString="") const
QVariant getDicomTagValueByName(QString name) const
bool setApplicationSetupNumber(QString qParam)
QVariantMap getDicomTagByName(QString name) const
DRTApplicationSetupSequenceItemWrapper(const DRTApplicationSetupSequenceItemWrapper &toCopy)
QString getBrachyAccessoryDeviceSequenceTag() const
bool setChannelSequence(QVariant qParam)
QVariantMap getDicomTagByKey(QString key) const
ml::DcmDRTApplicationSetupSequenceInterface * getSequence() const
Class to provide access to DRTApplicationSetupSequence.
Class to provide access to DRTApplicationSetupSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51