MeVisLab Toolbox Reference
mlDRTProcedureCodeSequenceItemWrapper.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 __mlDRTProcedureCodeSequenceItemWrapper_H
26#define __mlDRTProcedureCodeSequenceItemWrapper_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::DcmDRTProcedureCodeSequenceInterface* getSequence() const { return _sequenceInterface; }
80
81
82 QString _CodeMeaning;
83 Q_PROPERTY(QString CodeMeaning READ getCodeMeaning WRITE setCodeMeaning)
84 QString _CodeValue;
85 Q_PROPERTY(QString CodeValue READ getCodeValue WRITE setCodeValue)
102
103
104
105public slots:
108
109 QStringList dir(QString searchString="") const;
110
111 QVariantMap getDicomTagByKey(QString key) const;
112 QVariantMap getDicomTagByName(QString name) const;
113 QVariant getDicomTagValueByKey(QString key) const;
114 QVariant getDicomTagValueByName(QString name) const;
115
116
117 bool setCodeMeaning(QString qParam);
118 QString getCodeMeaningTag() const;
119 QString getCodeMeaning() const;
120
121 bool setCodeValue(QString qParam);
122 QString getCodeValueTag() const;
123 QString getCodeValue() const;
124
125 bool setCodingSchemeDesignator(QString qParam);
128
129 bool setCodingSchemeVersion(QString qParam);
131 QString getCodingSchemeVersion() const;
132
136
137 bool setContextGroupExtensionFlag(QString qParam);
140
141 bool setContextGroupLocalVersion(QString qParam);
144
145 bool setContextGroupVersion(QString qParam);
147 QString getContextGroupVersion() const;
148
149 bool setContextIdentifier(QString qParam);
150 QString getContextIdentifierTag() const;
151 QString getContextIdentifier() const;
152
153 bool setMappingResource(QString qParam);
154 QString getMappingResourceTag() const;
155 QString getMappingResource() const;
156
157
158
160
161private:
162
163 ml::DcmDRTProcedureCodeSequenceInterface::Item _wrappedSequenceItem;
164 ml::DcmDRTProcedureCodeSequenceInterface* _sequenceInterface;
165
166 QMap<QString, QString> _dcmTagToPropertyMap;
167 QMap<QString, QString> _vrCode;
168 void _init();
169};
170
171
172#endif // __mlDRTProcedureCodeSequenceItemWrapper_H
A class that wraps DRTProcedureCodeSequence Item for use in Python.
bool setContextGroupVersion(QString qParam)
QVariant getDicomTagValueByName(QString name) const
QVariantMap getDicomTagByName(QString name) const
bool setContextGroupExtensionCreatorUID(QString qParam)
QString getContextGroupExtensionCreatorUIDTag() const
QString getContextGroupExtensionFlagTag() const
bool setContextGroupExtensionFlag(QString qParam)
bool setContextGroupLocalVersion(QString qParam)
QString getContextGroupExtensionCreatorUID() const
QString getContextGroupExtensionFlag() const
QString getContextGroupLocalVersionTag() const
bool setCodingSchemeVersion(QString qParam)
DRTProcedureCodeSequenceItemWrapper(const DRTProcedureCodeSequenceItemWrapper &toCopy)
ml::DcmDRTProcedureCodeSequenceInterface::Item getWrappedSequenceItem() const
bool setCodeMeaning(QString qParam)
QString getContextGroupLocalVersion() const
bool setCodingSchemeDesignator(QString qParam)
QVariant getDicomTagValueByKey(QString key) const
QString getCodingSchemeDesignatorTag() const
DRTProcedureCodeSequenceItemWrapper & operator=(const DRTProcedureCodeSequenceItemWrapper &toCopy)
bool setCodeValue(QString qParam)
ml::DcmDRTProcedureCodeSequenceInterface * getSequence() const
DRTProcedureCodeSequenceItemWrapper(const ml::DcmDRTProcedureCodeSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTProcedureCodeSequenceInterface *sequenceInterface)
bool setContextIdentifier(QString qParam)
QVariantMap getDicomTagByKey(QString key) const
QStringList dir(QString searchString="") const
bool setMappingResource(QString qParam)
Class to provide access to DRTProcedureCodeSequence.
Class to provide access to DRTProcedureCodeSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51