MeVisLab Toolbox Reference
mlDRTReferringPhysicianIdentificationSequenceItemWrapper.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 __mlDRTReferringPhysicianIdentificationSequenceItemWrapper_H
26#define __mlDRTReferringPhysicianIdentificationSequenceItemWrapper_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
44
45#endif
46
50{
51 Q_OBJECT
52
53public:
54
55 QStringList _propertyKeys;
56
58 : _wrappedSequenceItem(wrappedSequenceItem)
59 , _sequenceInterface(sequenceInterface)
60 {
61 _init();
62 }
63
65 : QObject()
66 {
67 _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
68 _sequenceInterface = toCopy.getSequence();
69 _init();
70 }
71
73 {
74 _wrappedSequenceItem = toCopy.getWrappedSequenceItem();
75 _sequenceInterface = toCopy.getSequence();
76 _init();
77 return *this;
78 }
79
82
83
89 Q_PROPERTY(QString PersonAddress READ getPersonAddress WRITE setPersonAddress)
92
97
98
99public slots:
102
103 QStringList dir(QString searchString="") const;
104
105 QVariantMap getDicomTagByKey(QString key) const;
106 QVariantMap getDicomTagByName(QString name) const;
107 QVariant getDicomTagValueByKey(QString key) const;
108 QVariant getDicomTagValueByName(QString name) const;
109
110
111 bool setInstitutionAddress(QString qParam);
113 QString getInstitutionAddress() const;
114
115 bool setInstitutionName(QString qParam);
116 QString getInstitutionNameTag() const;
117 QString getInstitutionName() const;
118
119 bool setPersonAddress(QString qParam);
120 QString getPersonAddressTag() const;
121 QString getPersonAddress() const;
122
123 bool setPersonTelephoneNumbers(QString qParam);
126
127
128 bool setInstitutionCodeSequence(QVariant qParam);
131
135
136
138
139private:
140
141 ml::DcmDRTReferringPhysicianIdentificationSequenceInterface::Item _wrappedSequenceItem;
142 ml::DcmDRTReferringPhysicianIdentificationSequenceInterface* _sequenceInterface;
143
144 QMap<QString, QString> _dcmTagToPropertyMap;
145 QMap<QString, QString> _vrCode;
146 void _init();
147};
148
149
150#endif // __mlDRTReferringPhysicianIdentificationSequenceItemWrapper_H
A class that wraps DRTReferringPhysicianIdentificationSequence Item for use in Python.
ml::DcmDRTReferringPhysicianIdentificationSequenceInterface::Item getWrappedSequenceItem() const
DRTReferringPhysicianIdentificationSequenceItemWrapper(const ml::DcmDRTReferringPhysicianIdentificationSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTReferringPhysicianIdentificationSequenceInterface *sequenceInterface)
DRTReferringPhysicianIdentificationSequenceItemWrapper & operator=(const DRTReferringPhysicianIdentificationSequenceItemWrapper &toCopy)
ml::DcmDRTReferringPhysicianIdentificationSequenceInterface * getSequence() const
DRTReferringPhysicianIdentificationSequenceItemWrapper(const DRTReferringPhysicianIdentificationSequenceItemWrapper &toCopy)
QStringList dir(QString searchString="") const
QVariantMap getDicomTagByName(QString name) const
Class to provide access to DRTReferringPhysicianIdentificationSequence.
Class to provide access to DRTReferringPhysicianIdentificationSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51