MeVisLab Toolbox Reference
mlDRTConceptNameCodeSequenceItemWrapper.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 __mlDRTConceptNameCodeSequenceItemWrapper_H
26#define __mlDRTConceptNameCodeSequenceItemWrapper_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::DcmDRTConceptNameCodeSequenceInterface* 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::DcmDRTConceptNameCodeSequenceInterface::Item _wrappedSequenceItem;
164 ml::DcmDRTConceptNameCodeSequenceInterface* _sequenceInterface;
165
166 QMap<QString, QString> _dcmTagToPropertyMap;
167 QMap<QString, QString> _vrCode;
168 void _init();
169};
170
171
172#endif // __mlDRTConceptNameCodeSequenceItemWrapper_H
A class that wraps DRTConceptNameCodeSequence Item for use in Python.
bool setContextGroupExtensionCreatorUID(QString qParam)
bool setCodingSchemeVersion(QString qParam)
ml::DcmDRTConceptNameCodeSequenceInterface * getSequence() const
DRTConceptNameCodeSequenceItemWrapper & operator=(const DRTConceptNameCodeSequenceItemWrapper &toCopy)
QVariant getDicomTagValueByKey(QString key) const
QString getContextGroupLocalVersionTag() const
QString getContextGroupExtensionFlagTag() const
QString getContextGroupExtensionCreatorUIDTag() const
QString getContextGroupExtensionCreatorUID() const
bool setContextGroupExtensionFlag(QString qParam)
bool setContextIdentifier(QString qParam)
bool setMappingResource(QString qParam)
bool setContextGroupLocalVersion(QString qParam)
DRTConceptNameCodeSequenceItemWrapper(const ml::DcmDRTConceptNameCodeSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTConceptNameCodeSequenceInterface *sequenceInterface)
QVariantMap getDicomTagByKey(QString key) const
QStringList dir(QString searchString="") const
DRTConceptNameCodeSequenceItemWrapper(const DRTConceptNameCodeSequenceItemWrapper &toCopy)
ml::DcmDRTConceptNameCodeSequenceInterface::Item getWrappedSequenceItem() const
QVariantMap getDicomTagByName(QString name) const
bool setCodingSchemeDesignator(QString qParam)
bool setContextGroupVersion(QString qParam)
QVariant getDicomTagValueByName(QString name) const
Class to provide access to DRTConceptNameCodeSequence.
Class to provide access to DRTConceptNameCodeSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51