MeVisLab Toolbox Reference
mlDRTDigitalSignaturesSequenceItemWrapper.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 __mlDRTDigitalSignaturesSequenceItemWrapper_H
26#define __mlDRTDigitalSignaturesSequenceItemWrapper_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::DcmDRTDigitalSignaturesSequenceInterface* getSequence() const { return _sequenceInterface; }
81
82
96 Q_PROPERTY(int MACIDNumber READ getMACIDNumber WRITE setMACIDNumber)
98 Q_PROPERTY(int Signature READ getSignature WRITE setSignature)
99
102
103
104public slots:
107
108 QStringList dir(QString searchString="") const;
109
110 QVariantMap getDicomTagByKey(QString key) const;
111 QVariantMap getDicomTagByName(QString name) const;
112 QVariant getDicomTagValueByKey(QString key) const;
113 QVariant getDicomTagValueByName(QString name) const;
114
115
116 bool setCertificateOfSigner(int qParam);
119
120 bool setCertificateType(QString qParam);
121 QString getCertificateTypeTag() const;
122 QString getCertificateType() const;
123
124 bool setCertifiedTimestamp(int qParam);
127
128 bool setCertifiedTimestampType(QString qParam);
131
132 bool setDigitalSignatureDateTime(QString qParam);
135
136 bool setDigitalSignatureUID(QString qParam);
138 QString getDigitalSignatureUID() const;
139
140 bool setMACIDNumber(int qParam);
141 QString getMACIDNumberTag() const;
142 int getMACIDNumber() const;
143
144 bool setSignature(int qParam);
145 QString getSignatureTag() const;
146 int getSignature() const;
147
148
152
153
155
156private:
157
158 ml::DcmDRTDigitalSignaturesSequenceInterface::Item _wrappedSequenceItem;
159 ml::DcmDRTDigitalSignaturesSequenceInterface* _sequenceInterface;
160
161 QMap<QString, QString> _dcmTagToPropertyMap;
162 QMap<QString, QString> _vrCode;
163 void _init();
164};
165
166
167#endif // __mlDRTDigitalSignaturesSequenceItemWrapper_H
A class that wraps DRTDigitalSignaturesSequence Item for use in Python.
bool setDigitalSignatureUID(QString qParam)
ml::DcmDRTDigitalSignaturesSequenceInterface::Item getWrappedSequenceItem() const
QVariantMap getDicomTagByName(QString name) const
bool setDigitalSignaturePurposeCodeSequence(QVariant qParam)
QVariant getDigitalSignaturePurposeCodeSequence() const
ml::DcmDRTDigitalSignaturesSequenceInterface * getSequence() const
DRTDigitalSignaturesSequenceItemWrapper(const ml::DcmDRTDigitalSignaturesSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTDigitalSignaturesSequenceInterface *sequenceInterface)
DRTDigitalSignaturesSequenceItemWrapper(const DRTDigitalSignaturesSequenceItemWrapper &toCopy)
QString getDigitalSignaturePurposeCodeSequenceTag() const
QVariant getDicomTagValueByKey(QString key) const
QVariant getDicomTagValueByName(QString name) const
bool setDigitalSignatureDateTime(QString qParam)
DRTDigitalSignaturesSequenceItemWrapper & operator=(const DRTDigitalSignaturesSequenceItemWrapper &toCopy)
bool setCertifiedTimestampType(QString qParam)
QStringList dir(QString searchString="") const
QVariantMap getDicomTagByKey(QString key) const
Class to provide access to DRTDigitalSignaturesSequence.
Class to provide access to DRTDigitalSignaturesSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51