MeVisLab Toolbox Reference
mlDRTTreatmentMachineSequenceInRTBrachyApplicationSetupsModuleItemWrapper.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 __mlDRTTreatmentMachineSequenceInRTBrachyApplicationSetupsModuleItemWrapper_H
26 #define __mlDRTTreatmentMachineSequenceInRTBrachyApplicationSetupsModuleItemWrapper_H
27 
28 #ifndef Q_MOC_RUN
29 
30 #include <ThirdPartyWarningsDisable.h>
31 #include <QObject>
32 #include <QVariant>
33 #include <QVariantMap>
34 #include <QList>
35 #include <QStringList>
36 #include <ThirdPartyWarningsRestore.h>
37 
38 // MLDcmtkAccessories includes
40 
41 
42 
43 #endif
44 
48 {
49  Q_OBJECT
50 
51 public:
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 
80 
81 
87  Q_PROPERTY(QString InstitutionName READ getInstitutionName WRITE setInstitutionName)
90  QString _Manufacturer;
91  Q_PROPERTY(QString Manufacturer READ getManufacturer WRITE setManufacturer)
96 
97 
98 
99 public slots:
102 
103  QStringList dir(QString searchString="") const;
104 
105  QVariantMap getDicomTagByKey(QString key) const;
106  QVariantMap getDicomTagByName(QString name) const;
107  QVariant getDicomTagValueByKey(QString key) const;
108  QVariant getDicomTagValueByName(QString name) const;
109 
110 
111  bool setDeviceSerialNumber(QString qParam);
112  QString getDeviceSerialNumberTag() const;
113  QString getDeviceSerialNumber() const;
114 
115  bool setInstitutionAddress(QString qParam);
116  QString getInstitutionAddressTag() const;
117  QString getInstitutionAddress() const;
118 
119  bool setInstitutionName(QString qParam);
120  QString getInstitutionNameTag() const;
121  QString getInstitutionName() const;
122 
123  bool setInstitutionalDepartmentName(QString qParam);
126 
127  bool setManufacturer(QString qParam);
128  QString getManufacturerTag() const;
129  QString getManufacturer() const;
130 
131  bool setManufacturerModelName(QString qParam);
133  QString getManufacturerModelName() const;
134 
135  bool setTreatmentMachineName(QString qParam);
136  QString getTreatmentMachineNameTag() const;
137  QString getTreatmentMachineName() const;
138 
139 
140 
142 
143 private:
144 
145  ml::DcmDRTTreatmentMachineSequenceInRTBrachyApplicationSetupsModuleInterface::Item _wrappedSequenceItem;
146  ml::DcmDRTTreatmentMachineSequenceInRTBrachyApplicationSetupsModuleInterface* _sequenceInterface;
147 
148  QMap<QString, QString> _dcmTagToPropertyMap;
149  QMap<QString, QString> _vrCode;
150  void _init();
151 };
152 
153 
154 #endif // __mlDRTTreatmentMachineSequenceInRTBrachyApplicationSetupsModuleItemWrapper_H
A class that wraps DRTTreatmentMachineSequenceInRTBrachyApplicationSetupsModule Item for use in Pytho...
ml::DcmDRTTreatmentMachineSequenceInRTBrachyApplicationSetupsModuleInterface * getSequence() const
ml::DcmDRTTreatmentMachineSequenceInRTBrachyApplicationSetupsModuleInterface::Item getWrappedSequenceItem() const
DRTTreatmentMachineSequenceInRTBrachyApplicationSetupsModuleItemWrapper(const ml::DcmDRTTreatmentMachineSequenceInRTBrachyApplicationSetupsModuleInterface::Item &wrappedSequenceItem, ml::DcmDRTTreatmentMachineSequenceInRTBrachyApplicationSetupsModuleInterface *sequenceInterface)
DRTTreatmentMachineSequenceInRTBrachyApplicationSetupsModuleItemWrapper & operator=(const DRTTreatmentMachineSequenceInRTBrachyApplicationSetupsModuleItemWrapper &toCopy)
DRTTreatmentMachineSequenceInRTBrachyApplicationSetupsModuleItemWrapper(const DRTTreatmentMachineSequenceInRTBrachyApplicationSetupsModuleItemWrapper &toCopy)
Class to provide access to DRTTreatmentMachineSequenceInRTBrachyApplicationSetupsModule.
Main documentation file for ML users and developers.
Definition: SoSFMLImage.h:51