MeVisLab Toolbox Reference
mlDRTContentItemModifierSequenceItemWrapper.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 __mlDRTContentItemModifierSequenceItemWrapper_H
26#define __mlDRTContentItemModifierSequenceItemWrapper_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::DcmDRTContentItemModifierSequenceInterface* getSequence() const { return _sequenceInterface; }
83
84
85 QString _Date;
86 Q_PROPERTY(QString Date READ getDate WRITE setDate)
87 QString _DateTime;
88 Q_PROPERTY(QString DateTime READ getDateTime WRITE setDateTime)
90 Q_PROPERTY(QString NumericValue READ getNumericValue WRITE setNumericValue)
91 QString _PersonName;
92 Q_PROPERTY(QString PersonName READ getPersonName WRITE setPersonName)
93 QString _TextValue;
94 Q_PROPERTY(QString TextValue READ getTextValue WRITE setTextValue)
95 QString _Time;
96 Q_PROPERTY(QString Time READ getTime WRITE setTime)
97 QString _UID;
98 Q_PROPERTY(QString UID READ getUID WRITE setUID)
99 QString _ValueType;
100 Q_PROPERTY(QString ValueType READ getValueType WRITE setValueType)
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
122 bool setDate(QString qParam);
123 QString getDateTag() const;
124 QString getDate() const;
125
126 bool setDateTime(QString qParam);
127 QString getDateTimeTag() const;
128 QString getDateTime() const;
129
130 bool setNumericValue(QString qParam);
131 QString getNumericValueTag() const;
132 QString getNumericValue() const;
133
134 bool setPersonName(QString qParam);
135 QString getPersonNameTag() const;
136 QString getPersonName() const;
137
138 bool setTextValue(QString qParam);
139 QString getTextValueTag() const;
140 QString getTextValue() const;
141
142 bool setTime(QString qParam);
143 QString getTimeTag() const;
144 QString getTime() const;
145
146 bool setUID(QString qParam);
147 QString getUIDTag() const;
148 QString getUID() const;
149
150 bool setValueType(QString qParam);
151 QString getValueTypeTag() const;
152 QString getValueType() const;
153
154
155 bool setConceptCodeSequence(QVariant qParam);
156 QVariant getConceptCodeSequence() const;
158
159 bool setConceptNameCodeSequence(QVariant qParam);
162
163 bool setMeasurementUnitsCodeSequence(QVariant qParam);
166
167
169
170private:
171
172 ml::DcmDRTContentItemModifierSequenceInterface::Item _wrappedSequenceItem;
173 ml::DcmDRTContentItemModifierSequenceInterface* _sequenceInterface;
174
175 QMap<QString, QString> _dcmTagToPropertyMap;
176 QMap<QString, QString> _vrCode;
177 void _init();
178};
179
180
181#endif // __mlDRTContentItemModifierSequenceItemWrapper_H
A class that wraps DRTContentItemModifierSequence Item for use in Python.
QVariant getDicomTagValueByKey(QString key) const
QVariantMap getDicomTagByName(QString name) const
QStringList dir(QString searchString="") const
ml::DcmDRTContentItemModifierSequenceInterface::Item getWrappedSequenceItem() const
DRTContentItemModifierSequenceItemWrapper(const DRTContentItemModifierSequenceItemWrapper &toCopy)
ml::DcmDRTContentItemModifierSequenceInterface * getSequence() const
bool setMeasurementUnitsCodeSequence(QVariant qParam)
DRTContentItemModifierSequenceItemWrapper(const ml::DcmDRTContentItemModifierSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTContentItemModifierSequenceInterface *sequenceInterface)
bool setConceptNameCodeSequence(QVariant qParam)
DRTContentItemModifierSequenceItemWrapper & operator=(const DRTContentItemModifierSequenceItemWrapper &toCopy)
QVariantMap getDicomTagByKey(QString key) const
QVariant getDicomTagValueByName(QString name) const
bool setConceptCodeSequence(QVariant qParam)
Class to provide access to DRTContentItemModifierSequence.
Class to provide access to DRTContentItemModifierSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51