MeVisLab Toolbox Reference
mlDRTRequestAttributesSequenceItemWrapper.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 __mlDRTRequestAttributesSequenceItemWrapper_H
26#define __mlDRTRequestAttributesSequenceItemWrapper_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::DcmDRTRequestAttributesSequenceInterface* getSequence() const { return _sequenceInterface; }
84
85
100
109
110
111public slots:
114
115 QStringList dir(QString searchString="") const;
116
117 QVariantMap getDicomTagByKey(QString key) const;
118 QVariantMap getDicomTagByName(QString name) const;
119 QVariant getDicomTagValueByKey(QString key) const;
120 QVariant getDicomTagValueByName(QString name) const;
121
122
123 bool setAccessionNumber(QString qParam);
124 QString getAccessionNumberTag() const;
125 QString getAccessionNumber() const;
126
130
134
135 bool setRequestedProcedureID(QString qParam);
137 QString getRequestedProcedureID() const;
138
142
143 bool setScheduledProcedureStepID(QString qParam);
146
147 bool setStudyInstanceUID(QString qParam);
148 QString getStudyInstanceUIDTag() const;
149 QString getStudyInstanceUID() const;
150
151
155
156 bool setReferencedStudySequence(QVariant qParam);
159
163
164 bool setScheduledProtocolCodeSequence(QVariant qParam);
167
168
170
171private:
172
173 ml::DcmDRTRequestAttributesSequenceInterface::Item _wrappedSequenceItem;
174 ml::DcmDRTRequestAttributesSequenceInterface* _sequenceInterface;
175
176 QMap<QString, QString> _dcmTagToPropertyMap;
177 QMap<QString, QString> _vrCode;
178 void _init();
179};
180
181
182#endif // __mlDRTRequestAttributesSequenceItemWrapper_H
A class that wraps DRTRequestAttributesSequence Item for use in Python.
QVariant getScheduledProtocolCodeSequence() const
QString getScheduledProcedureStepDescription() const
bool setStudyInstanceUID(QString qParam)
DRTRequestAttributesSequenceItemWrapper & operator=(const DRTRequestAttributesSequenceItemWrapper &toCopy)
QString getScheduledProtocolCodeSequenceTag() const
QString getReasonForTheRequestedProcedureTag() const
QVariant getRequestedProcedureCodeSequence() const
bool setRequestedProcedureCodeSequence(QVariant qParam)
bool setReasonForRequestedProcedureCodeSequence(QVariant qParam)
QVariant getDicomTagValueByName(QString name) const
DRTRequestAttributesSequenceItemWrapper(const ml::DcmDRTRequestAttributesSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTRequestAttributesSequenceInterface *sequenceInterface)
QVariantMap getDicomTagByName(QString name) const
bool setScheduledProtocolCodeSequence(QVariant qParam)
QVariant getDicomTagValueByKey(QString key) const
QString getRequestedProcedureDescriptionTag() const
QString getRequestedProcedureCodeSequenceTag() const
QString getScheduledProcedureStepDescriptionTag() const
DRTRequestAttributesSequenceItemWrapper(const DRTRequestAttributesSequenceItemWrapper &toCopy)
bool setRequestedProcedureID(QString qParam)
QStringList dir(QString searchString="") const
bool setScheduledProcedureStepID(QString qParam)
bool setScheduledProcedureStepDescription(QString qParam)
bool setReasonForTheRequestedProcedure(QString qParam)
ml::DcmDRTRequestAttributesSequenceInterface::Item getWrappedSequenceItem() const
QVariant getReasonForRequestedProcedureCodeSequence() const
ml::DcmDRTRequestAttributesSequenceInterface * getSequence() const
QVariantMap getDicomTagByKey(QString key) const
bool setReferencedStudySequence(QVariant qParam)
QString getReasonForRequestedProcedureCodeSequenceTag() const
bool setRequestedProcedureDescription(QString qParam)
Class to provide access to DRTRequestAttributesSequence.
Class to provide access to DRTRequestAttributesSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51