MeVisLab Toolbox Reference
mlDRTBreedRegistrationSequenceItemWrapper.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 __mlDRTBreedRegistrationSequenceItemWrapper_H
26#define __mlDRTBreedRegistrationSequenceItemWrapper_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
43
44#endif
45
49{
50 Q_OBJECT
51
52public:
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::DcmDRTBreedRegistrationSequenceInterface* getSequence() const { return _sequenceInterface; }
81
82
85 QString _CodeMeaning;
86 Q_PROPERTY(QString CodeMeaning READ getCodeMeaning WRITE setCodeMeaning)
87 QString _CodeValue;
88 Q_PROPERTY(QString CodeValue READ getCodeValue WRITE setCodeValue)
105
108
109
110public slots:
113
114 QStringList dir(QString searchString="") const;
115
116 QVariantMap getDicomTagByKey(QString key) const;
117 QVariantMap getDicomTagByName(QString name) const;
118 QVariant getDicomTagValueByKey(QString key) const;
119 QVariant getDicomTagValueByName(QString name) const;
120
121
122 bool setBreedRegistrationNumber(QString qParam);
125
126 bool setCodeMeaning(QString qParam);
127 QString getCodeMeaningTag() const;
128 QString getCodeMeaning() const;
129
130 bool setCodeValue(QString qParam);
131 QString getCodeValueTag() const;
132 QString getCodeValue() const;
133
134 bool setCodingSchemeDesignator(QString qParam);
137
138 bool setCodingSchemeVersion(QString qParam);
140 QString getCodingSchemeVersion() const;
141
145
146 bool setContextGroupExtensionFlag(QString qParam);
149
150 bool setContextGroupLocalVersion(QString qParam);
153
154 bool setContextGroupVersion(QString qParam);
156 QString getContextGroupVersion() const;
157
158 bool setContextIdentifier(QString qParam);
159 QString getContextIdentifierTag() const;
160 QString getContextIdentifier() const;
161
162 bool setMappingResource(QString qParam);
163 QString getMappingResourceTag() const;
164 QString getMappingResource() const;
165
166
167 bool setBreedRegistryCodeSequence(QVariant qParam);
170
171
173
174private:
175
176 ml::DcmDRTBreedRegistrationSequenceInterface::Item _wrappedSequenceItem;
177 ml::DcmDRTBreedRegistrationSequenceInterface* _sequenceInterface;
178
179 QMap<QString, QString> _dcmTagToPropertyMap;
180 QMap<QString, QString> _vrCode;
181 void _init();
182};
183
184
185#endif // __mlDRTBreedRegistrationSequenceItemWrapper_H
A class that wraps DRTBreedRegistrationSequence Item for use in Python.
bool setBreedRegistrationNumber(QString qParam)
QString getContextGroupExtensionCreatorUIDTag() const
QStringList dir(QString searchString="") const
bool setContextGroupExtensionFlag(QString qParam)
QVariantMap getDicomTagByName(QString name) const
DRTBreedRegistrationSequenceItemWrapper(const DRTBreedRegistrationSequenceItemWrapper &toCopy)
DRTBreedRegistrationSequenceItemWrapper & operator=(const DRTBreedRegistrationSequenceItemWrapper &toCopy)
bool setContextGroupLocalVersion(QString qParam)
ml::DcmDRTBreedRegistrationSequenceInterface * getSequence() const
bool setContextIdentifier(QString qParam)
bool setContextGroupExtensionCreatorUID(QString qParam)
ml::DcmDRTBreedRegistrationSequenceInterface::Item getWrappedSequenceItem() const
QVariant getDicomTagValueByName(QString name) const
bool setCodingSchemeDesignator(QString qParam)
DRTBreedRegistrationSequenceItemWrapper(const ml::DcmDRTBreedRegistrationSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTBreedRegistrationSequenceInterface *sequenceInterface)
bool setBreedRegistryCodeSequence(QVariant qParam)
bool setCodingSchemeVersion(QString qParam)
QString getContextGroupExtensionCreatorUID() const
bool setContextGroupVersion(QString qParam)
QVariant getDicomTagValueByKey(QString key) const
QVariantMap getDicomTagByKey(QString key) const
Class to provide access to DRTBreedRegistrationSequence.
Class to provide access to DRTBreedRegistrationSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51