MeVisLab Toolbox Reference
mlDRTRecordedBlockSequenceItemWrapper.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 __mlDRTRecordedBlockSequenceItemWrapper_H
26#define __mlDRTRecordedBlockSequenceItemWrapper_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::DcmDRTRecordedBlockSequenceInterface* getSequence() const { return _sequenceInterface; }
80
81
83 Q_PROPERTY(QString AccessoryCode READ getAccessoryCode WRITE setAccessoryCode)
84 QString _BlockName;
85 Q_PROPERTY(QString BlockName READ getBlockName WRITE setBlockName)
86 QString _BlockTrayID;
87 Q_PROPERTY(QString BlockTrayID READ getBlockTrayID WRITE setBlockTrayID)
90
91
92
93public slots:
96
97 QStringList dir(QString searchString="") const;
98
99 QVariantMap getDicomTagByKey(QString key) const;
100 QVariantMap getDicomTagByName(QString name) const;
101 QVariant getDicomTagValueByKey(QString key) const;
102 QVariant getDicomTagValueByName(QString name) const;
103
104
105 bool setAccessoryCode(QString qParam);
106 QString getAccessoryCodeTag() const;
107 QString getAccessoryCode() const;
108
109 bool setBlockName(QString qParam);
110 QString getBlockNameTag() const;
111 QString getBlockName() const;
112
113 bool setBlockTrayID(QString qParam);
114 QString getBlockTrayIDTag() const;
115 QString getBlockTrayID() const;
116
117 bool setReferencedBlockNumber(QString qParam);
120
121
122
124
125private:
126
127 ml::DcmDRTRecordedBlockSequenceInterface::Item _wrappedSequenceItem;
128 ml::DcmDRTRecordedBlockSequenceInterface* _sequenceInterface;
129
130 QMap<QString, QString> _dcmTagToPropertyMap;
131 QMap<QString, QString> _vrCode;
132 void _init();
133};
134
135
136#endif // __mlDRTRecordedBlockSequenceItemWrapper_H
A class that wraps DRTRecordedBlockSequence Item for use in Python.
ml::DcmDRTRecordedBlockSequenceInterface::Item getWrappedSequenceItem() const
bool setReferencedBlockNumber(QString qParam)
QString getReferencedBlockNumberTag() const
QVariantMap getDicomTagByKey(QString key) const
QVariantMap getDicomTagByName(QString name) const
DRTRecordedBlockSequenceItemWrapper(const ml::DcmDRTRecordedBlockSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTRecordedBlockSequenceInterface *sequenceInterface)
ml::DcmDRTRecordedBlockSequenceInterface * getSequence() const
QVariant getDicomTagValueByKey(QString key) const
QStringList dir(QString searchString="") const
DRTRecordedBlockSequenceItemWrapper & operator=(const DRTRecordedBlockSequenceItemWrapper &toCopy)
bool setBlockName(QString qParam)
bool setAccessoryCode(QString qParam)
bool setBlockTrayID(QString qParam)
DRTRecordedBlockSequenceItemWrapper(const DRTRecordedBlockSequenceItemWrapper &toCopy)
QVariant getDicomTagValueByName(QString name) const
Class to provide access to DRTRecordedBlockSequence.
Class to provide access to DRTRecordedBlockSequence.
Main documentation file for ML users and developers.
Definition SoSFMLImage.h:51