MeVisLab Toolbox Reference
mlDRTScheduledProtocolCodeSequenceItemWrapper.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 __mlDRTScheduledProtocolCodeSequenceItemWrapper_H
26 #define __mlDRTScheduledProtocolCodeSequenceItemWrapper_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 
43 
44 #endif
45 
49 {
50  Q_OBJECT
51 
52 public:
53 
54  QStringList _propertyKeys;
55 
57  : _wrappedSequenceItem(wrappedSequenceItem)
58  , _sequenceInterface(sequenceInterface)
59  {
60  _init();
61  }
62 
64  : QObject()
65  {
66  _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
67  _sequenceInterface = toCopy.getSequence();
68  _init();
69  }
70 
72  {
73  _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
74  _sequenceInterface = toCopy.getSequence();
75  _init();
76  return *this;
77  }
78 
80  ml::DcmDRTScheduledProtocolCodeSequenceInterface* getSequence() const { return _sequenceInterface; }
81 
82 
83  QString _CodeMeaning;
84  Q_PROPERTY(QString CodeMeaning READ getCodeMeaning WRITE setCodeMeaning)
85  QString _CodeValue;
86  Q_PROPERTY(QString CodeValue READ getCodeValue WRITE setCodeValue)
100  Q_PROPERTY(QString ContextIdentifier READ getContextIdentifier WRITE setContextIdentifier)
102  Q_PROPERTY(QString MappingResource READ getMappingResource WRITE setMappingResource)
103 
106 
107 
108 public slots:
111 
112  QStringList dir(QString searchString="") const;
113 
114  QVariantMap getDicomTagByKey(QString key) const;
115  QVariantMap getDicomTagByName(QString name) const;
116  QVariant getDicomTagValueByKey(QString key) const;
117  QVariant getDicomTagValueByName(QString name) const;
118 
119 
120  bool setCodeMeaning(QString qParam);
121  QString getCodeMeaningTag() const;
122  QString getCodeMeaning() const;
123 
124  bool setCodeValue(QString qParam);
125  QString getCodeValueTag() const;
126  QString getCodeValue() const;
127 
128  bool setCodingSchemeDesignator(QString qParam);
130  QString getCodingSchemeDesignator() const;
131 
132  bool setCodingSchemeVersion(QString qParam);
133  QString getCodingSchemeVersionTag() const;
134  QString getCodingSchemeVersion() const;
135 
139 
140  bool setContextGroupExtensionFlag(QString qParam);
143 
144  bool setContextGroupLocalVersion(QString qParam);
147 
148  bool setContextGroupVersion(QString qParam);
149  QString getContextGroupVersionTag() const;
150  QString getContextGroupVersion() const;
151 
152  bool setContextIdentifier(QString qParam);
153  QString getContextIdentifierTag() const;
154  QString getContextIdentifier() const;
155 
156  bool setMappingResource(QString qParam);
157  QString getMappingResourceTag() const;
158  QString getMappingResource() const;
159 
160 
161  bool setProtocolContextSequence(QVariant qParam);
162  QVariant getProtocolContextSequence() const;
164 
165 
167 
168 private:
169 
170  ml::DcmDRTScheduledProtocolCodeSequenceInterface::Item _wrappedSequenceItem;
171  ml::DcmDRTScheduledProtocolCodeSequenceInterface* _sequenceInterface;
172 
173  QMap<QString, QString> _dcmTagToPropertyMap;
174  QMap<QString, QString> _vrCode;
175  void _init();
176 };
177 
178 
179 #endif // __mlDRTScheduledProtocolCodeSequenceItemWrapper_H
A class that wraps DRTScheduledProtocolCodeSequence Item for use in Python.
QVariantMap getDicomTagByKey(QString key) const
DRTScheduledProtocolCodeSequenceItemWrapper & operator=(const DRTScheduledProtocolCodeSequenceItemWrapper &toCopy)
DRTScheduledProtocolCodeSequenceItemWrapper(const ml::DcmDRTScheduledProtocolCodeSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTScheduledProtocolCodeSequenceInterface *sequenceInterface)
DRTScheduledProtocolCodeSequenceItemWrapper(const DRTScheduledProtocolCodeSequenceItemWrapper &toCopy)
bool setProtocolContextSequence(QVariant qParam)
bool setContextGroupExtensionFlag(QString qParam)
bool setContextGroupExtensionCreatorUID(QString qParam)
ml::DcmDRTScheduledProtocolCodeSequenceInterface::Item getWrappedSequenceItem() const
QStringList dir(QString searchString="") const
ml::DcmDRTScheduledProtocolCodeSequenceInterface * getSequence() const
QVariantMap getDicomTagByName(QString name) const
bool setContextGroupLocalVersion(QString qParam)
QVariant getDicomTagValueByName(QString name) const
QVariant getDicomTagValueByKey(QString key) const
Class to provide access to DRTScheduledProtocolCodeSequence.
Class to provide access to DRTScheduledProtocolCodeSequence.
Main documentation file for ML users and developers.
Definition: SoSFMLImage.h:51