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