MeVisLab Toolbox Reference
mlDRTProtocolContextSequenceItemWrapper.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 __mlDRTProtocolContextSequenceItemWrapper_H
26#define __mlDRTProtocolContextSequenceItemWrapper_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
46
47#endif
48
52{
53 Q_OBJECT
54
55public:
56
57 QStringList _propertyKeys;
58
60 : _wrappedSequenceItem(wrappedSequenceItem)
61 , _sequenceInterface(sequenceInterface)
62 {
63 _init();
64 }
65
67 : QObject()
68 {
69 _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
70 _sequenceInterface = toCopy.getSequence();
71 _init();
72 }
73
75 {
76 _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
77 _sequenceInterface = toCopy.getSequence();
78 _init();
79 return *this;
80 }
81
83 ml::DcmDRTProtocolContextSequenceInterface* getSequence() const { return _sequenceInterface; }
84
85
86 QString _Date;
87 Q_PROPERTY(QString Date READ getDate WRITE setDate)
88 QString _DateTime;
89 Q_PROPERTY(QString DateTime READ getDateTime WRITE setDateTime)
91 Q_PROPERTY(QString NumericValue READ getNumericValue WRITE setNumericValue)
92 QString _PersonName;
93 Q_PROPERTY(QString PersonName READ getPersonName WRITE setPersonName)
94 QString _TextValue;
95 Q_PROPERTY(QString TextValue READ getTextValue WRITE setTextValue)
96 QString _Time;
97 Q_PROPERTY(QString Time READ getTime WRITE setTime)
98 QString _UID;
99 Q_PROPERTY(QString UID READ getUID WRITE setUID)
100 QString _ValueType;
101 Q_PROPERTY(QString ValueType READ getValueType WRITE setValueType)
102
111
112
113public slots:
116
117 QStringList dir(QString searchString="") const;
118
119 QVariantMap getDicomTagByKey(QString key) const;
120 QVariantMap getDicomTagByName(QString name) const;
121 QVariant getDicomTagValueByKey(QString key) const;
122 QVariant getDicomTagValueByName(QString name) const;
123
124
125 bool setDate(QString qParam);
126 QString getDateTag() const;
127 QString getDate() const;
128
129 bool setDateTime(QString qParam);
130 QString getDateTimeTag() const;
131 QString getDateTime() const;
132
133 bool setNumericValue(QString qParam);
134 QString getNumericValueTag() const;
135 QString getNumericValue() const;
136
137 bool setPersonName(QString qParam);
138 QString getPersonNameTag() const;
139 QString getPersonName() const;
140
141 bool setTextValue(QString qParam);
142 QString getTextValueTag() const;
143 QString getTextValue() const;
144
145 bool setTime(QString qParam);
146 QString getTimeTag() const;
147 QString getTime() const;
148
149 bool setUID(QString qParam);
150 QString getUIDTag() const;
151 QString getUID() const;
152
153 bool setValueType(QString qParam);
154 QString getValueTypeTag() const;
155 QString getValueType() const;
156
157
158 bool setConceptCodeSequence(QVariant qParam);
159 QVariant getConceptCodeSequence() const;
161
162 bool setConceptNameCodeSequence(QVariant qParam);
165
166 bool setContentItemModifierSequence(QVariant qParam);
169
170 bool setMeasurementUnitsCodeSequence(QVariant qParam);
173
174
176
177private:
178
179 ml::DcmDRTProtocolContextSequenceInterface::Item _wrappedSequenceItem;
180 ml::DcmDRTProtocolContextSequenceInterface* _sequenceInterface;
181
182 QMap<QString, QString> _dcmTagToPropertyMap;
183 QMap<QString, QString> _vrCode;
184 void _init();
185};
186
187
188#endif // __mlDRTProtocolContextSequenceItemWrapper_H
A class that wraps DRTProtocolContextSequence Item for use in Python.
QVariantMap getDicomTagByName(QString name) const
bool setNumericValue(QString qParam)
QVariantMap getDicomTagByKey(QString key) const
bool setConceptCodeSequence(QVariant qParam)
ml::DcmDRTProtocolContextSequenceInterface * getSequence() const
DRTProtocolContextSequenceItemWrapper(const ml::DcmDRTProtocolContextSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTProtocolContextSequenceInterface *sequenceInterface)
bool setConceptNameCodeSequence(QVariant qParam)
QVariant getDicomTagValueByName(QString name) const
bool setContentItemModifierSequence(QVariant qParam)
QString getMeasurementUnitsCodeSequenceTag() const
ml::DcmDRTProtocolContextSequenceInterface::Item getWrappedSequenceItem() const
QVariant getMeasurementUnitsCodeSequence() const
QVariant getDicomTagValueByKey(QString key) const
DRTProtocolContextSequenceItemWrapper & operator=(const DRTProtocolContextSequenceItemWrapper &toCopy)
bool setMeasurementUnitsCodeSequence(QVariant qParam)
QString getContentItemModifierSequenceTag() const
QStringList dir(QString searchString="") const
QVariant getContentItemModifierSequence() const
DRTProtocolContextSequenceItemWrapper(const DRTProtocolContextSequenceItemWrapper &toCopy)
Class to provide access to DRTProtocolContextSequence.
Class to provide access to DRTProtocolContextSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51