MeVisLab Toolbox Reference
mlDRTMeasuredDoseReferenceSequenceItemWrapper.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 __mlDRTMeasuredDoseReferenceSequenceItemWrapper_H
26#define __mlDRTMeasuredDoseReferenceSequenceItemWrapper_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
42
43#endif
44
48{
49 Q_OBJECT
50
51public:
52
53 QStringList _propertyKeys;
54
56 : _wrappedSequenceItem(wrappedSequenceItem)
57 , _sequenceInterface(sequenceInterface)
58 {
59 _init();
60 }
61
63 : QObject()
64 {
65 _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
66 _sequenceInterface = toCopy.getSequence();
67 _init();
68 }
69
71 {
72 _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
73 _sequenceInterface = toCopy.getSequence();
74 _init();
75 return *this;
76 }
77
79 ml::DcmDRTMeasuredDoseReferenceSequenceInterface* getSequence() const { return _sequenceInterface; }
80
81
82 QString _DoseUnits;
83 Q_PROPERTY(QString DoseUnits READ getDoseUnits WRITE setDoseUnits)
94
95
96
97public slots:
100
101 QStringList dir(QString searchString="") const;
102
103 QVariantMap getDicomTagByKey(QString key) const;
104 QVariantMap getDicomTagByName(QString name) const;
105 QVariant getDicomTagValueByKey(QString key) const;
106 QVariant getDicomTagValueByName(QString name) const;
107
108
109 bool setDoseUnits(QString qParam);
110 QString getDoseUnitsTag() const;
111 QString getDoseUnits() const;
112
113 bool setMeasuredDoseDescription(QString qParam);
116
117 bool setMeasuredDoseReferenceNumber(QString qParam);
120
121 bool setMeasuredDoseType(QString qParam);
122 QString getMeasuredDoseTypeTag() const;
123 QString getMeasuredDoseType() const;
124
125 bool setMeasuredDoseValue(QString qParam);
126 QString getMeasuredDoseValueTag() const;
127 QString getMeasuredDoseValue() const;
128
132
133
134
136
137private:
138
139 ml::DcmDRTMeasuredDoseReferenceSequenceInterface::Item _wrappedSequenceItem;
140 ml::DcmDRTMeasuredDoseReferenceSequenceInterface* _sequenceInterface;
141
142 QMap<QString, QString> _dcmTagToPropertyMap;
143 QMap<QString, QString> _vrCode;
144 void _init();
145};
146
147
148#endif // __mlDRTMeasuredDoseReferenceSequenceItemWrapper_H
A class that wraps DRTMeasuredDoseReferenceSequence Item for use in Python.
DRTMeasuredDoseReferenceSequenceItemWrapper & operator=(const DRTMeasuredDoseReferenceSequenceItemWrapper &toCopy)
QStringList dir(QString searchString="") const
bool setReferencedDoseReferenceNumber(QString qParam)
ml::DcmDRTMeasuredDoseReferenceSequenceInterface::Item getWrappedSequenceItem() const
QVariant getDicomTagValueByName(QString name) const
DRTMeasuredDoseReferenceSequenceItemWrapper(const ml::DcmDRTMeasuredDoseReferenceSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTMeasuredDoseReferenceSequenceInterface *sequenceInterface)
ml::DcmDRTMeasuredDoseReferenceSequenceInterface * getSequence() const
DRTMeasuredDoseReferenceSequenceItemWrapper(const DRTMeasuredDoseReferenceSequenceItemWrapper &toCopy)
QVariant getDicomTagValueByKey(QString key) const
QVariantMap getDicomTagByKey(QString key) const
bool setMeasuredDoseReferenceNumber(QString qParam)
QVariantMap getDicomTagByName(QString name) const
Class to provide access to DRTMeasuredDoseReferenceSequence.
Class to provide access to DRTMeasuredDoseReferenceSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51