MeVisLab Toolbox Reference
mlDRTMultiplexedAudioChannelsDescriptionCodeSequenceItemWrapper.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 __mlDRTMultiplexedAudioChannelsDescriptionCodeSequenceItemWrapper_H
26 #define __mlDRTMultiplexedAudioChannelsDescriptionCodeSequenceItemWrapper_H
27 
28 #ifndef Q_MOC_RUN
29 
30 #include <ThirdPartyWarningsDisable.h>
31 #include <QObject>
32 #include <QVariant>
33 #include <QVariantMap>
34 #include <QList>
35 #include <QStringList>
36 #include <ThirdPartyWarningsRestore.h>
37 
38 // MLDcmtkAccessories includes
40 
41 
43 
44 #endif
45 
49 {
50  Q_OBJECT
51 
52 public:
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 
81 
82 
85  QString _ChannelMode;
86  Q_PROPERTY(QString ChannelMode READ getChannelMode WRITE setChannelMode)
87 
90 
91 
92 public slots:
95 
96  QStringList dir(QString searchString="") const;
97 
98  QVariantMap getDicomTagByKey(QString key) const;
99  QVariantMap getDicomTagByName(QString name) const;
100  QVariant getDicomTagValueByKey(QString key) const;
101  QVariant getDicomTagValueByName(QString name) const;
102 
103 
104  bool setChannelIdentificationCode(QString qParam);
107 
108  bool setChannelMode(QString qParam);
109  QString getChannelModeTag() const;
110  QString getChannelMode() const;
111 
112 
113  bool setChannelSourceSequence(QVariant qParam);
114  QVariant getChannelSourceSequence() const;
116 
117 
119 
120 private:
121 
122  ml::DcmDRTMultiplexedAudioChannelsDescriptionCodeSequenceInterface::Item _wrappedSequenceItem;
123  ml::DcmDRTMultiplexedAudioChannelsDescriptionCodeSequenceInterface* _sequenceInterface;
124 
125  QMap<QString, QString> _dcmTagToPropertyMap;
126  QMap<QString, QString> _vrCode;
127  void _init();
128 };
129 
130 
131 #endif // __mlDRTMultiplexedAudioChannelsDescriptionCodeSequenceItemWrapper_H
A class that wraps DRTMultiplexedAudioChannelsDescriptionCodeSequence Item for use in Python.
DRTMultiplexedAudioChannelsDescriptionCodeSequenceItemWrapper(const ml::DcmDRTMultiplexedAudioChannelsDescriptionCodeSequenceInterface::Item &wrappedSequenceItem, ml::DcmDRTMultiplexedAudioChannelsDescriptionCodeSequenceInterface *sequenceInterface)
ml::DcmDRTMultiplexedAudioChannelsDescriptionCodeSequenceInterface::Item getWrappedSequenceItem() const
DRTMultiplexedAudioChannelsDescriptionCodeSequenceItemWrapper & operator=(const DRTMultiplexedAudioChannelsDescriptionCodeSequenceItemWrapper &toCopy)
DRTMultiplexedAudioChannelsDescriptionCodeSequenceItemWrapper(const DRTMultiplexedAudioChannelsDescriptionCodeSequenceItemWrapper &toCopy)
QStringList dir(QString searchString="") const
ml::DcmDRTMultiplexedAudioChannelsDescriptionCodeSequenceInterface * getSequence() const
Class to provide access to DRTMultiplexedAudioChannelsDescriptionCodeSequence.
Class to provide access to DRTMultiplexedAudioChannelsDescriptionCodeSequence.
Main documentation file for ML users and developers.
Definition: SoSFMLImage.h:51