MeVisLab Toolbox Reference
mlDRTContributingEquipmentSequenceItemWrapper.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 __mlDRTContributingEquipmentSequenceItemWrapper_H
26#define __mlDRTContributingEquipmentSequenceItemWrapper_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
43
44#endif
45
49{
50 Q_OBJECT
51
52public:
53
54 QStringList _propertyKeys;
55
57 : _wrappedSequenceItem(wrappedSequenceItem)
58 , _sequenceInterface(sequenceInterface)
59 {
60 _init();
61 }
62
64 : QObject()
65 {
66 _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
67 _sequenceInterface = toCopy.getSequence();
68 _init();
69 }
70
72 {
73 _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
74 _sequenceInterface = toCopy.getSequence();
75 _init();
76 return *this;
77 }
78
80 ml::DcmDRTContributingEquipmentSequenceInterface* getSequence() const { return _sequenceInterface; }
81
82
98 Q_PROPERTY(QString Manufacturer READ getManufacturer WRITE setManufacturer)
106 Q_PROPERTY(QString StationName READ getStationName WRITE setStationName)
109
112
113
114public slots:
117
118 QStringList dir(QString searchString="") const;
119
120 QVariantMap getDicomTagByKey(QString key) const;
121 QVariantMap getDicomTagByName(QString name) const;
122 QVariant getDicomTagValueByKey(QString key) const;
123 QVariant getDicomTagValueByName(QString name) const;
124
125
126 bool setContributionDateTime(QString qParam);
128 QString getContributionDateTime() const;
129
130 bool setContributionDescription(QString qParam);
133
134 bool setDateOfLastCalibration(QString qParam);
137
138 bool setDeviceSerialNumber(QString qParam);
140 QString getDeviceSerialNumber() const;
141
142 bool setInstitutionAddress(QString qParam);
144 QString getInstitutionAddress() const;
145
146 bool setInstitutionName(QString qParam);
147 QString getInstitutionNameTag() const;
148 QString getInstitutionName() const;
149
150 bool setInstitutionalDepartmentName(QString qParam);
153
154 bool setManufacturer(QString qParam);
155 QString getManufacturerTag() const;
156 QString getManufacturer() const;
157
158 bool setManufacturerModelName(QString qParam);
161
162 bool setSoftwareVersions(QString qParam);
163 QString getSoftwareVersionsTag() const;
164 QString getSoftwareVersions() const;
165
166 bool setSpatialResolution(QString qParam);
167 QString getSpatialResolutionTag() const;
168 QString getSpatialResolution() const;
169
170 bool setStationName(QString qParam);
171 QString getStationNameTag() const;
172 QString getStationName() const;
173
174 bool setTimeOfLastCalibration(QString qParam);
177
178
182
183
185
186private:
187
188 ml::DcmDRTContributingEquipmentSequenceInterface::Item _wrappedSequenceItem;
189 ml::DcmDRTContributingEquipmentSequenceInterface* _sequenceInterface;
190
191 QMap<QString, QString> _dcmTagToPropertyMap;
192 QMap<QString, QString> _vrCode;
193 void _init();
194};
195
196
197#endif // __mlDRTContributingEquipmentSequenceItemWrapper_H
A class that wraps DRTContributingEquipmentSequence Item for use in Python.
DRTContributingEquipmentSequenceItemWrapper & operator=(const DRTContributingEquipmentSequenceItemWrapper &toCopy)
ml::DcmDRTContributingEquipmentSequenceInterface::Item getWrappedSequenceItem() const
QVariant getDicomTagValueByKey(QString key) const
QVariant getDicomTagValueByName(QString name) const
DRTContributingEquipmentSequenceItemWrapper(const ml::DcmDRTContributingEquipmentSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTContributingEquipmentSequenceInterface *sequenceInterface)
QVariantMap getDicomTagByName(QString name) const
QVariantMap getDicomTagByKey(QString key) const
bool setInstitutionalDepartmentName(QString qParam)
QStringList dir(QString searchString="") const
bool setPurposeOfReferenceCodeSequence(QVariant qParam)
DRTContributingEquipmentSequenceItemWrapper(const DRTContributingEquipmentSequenceItemWrapper &toCopy)
ml::DcmDRTContributingEquipmentSequenceInterface * getSequence() const
Class to provide access to DRTContributingEquipmentSequence.
Class to provide access to DRTContributingEquipmentSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51