MeVisLab Toolbox Reference
mlDcmDRTDeviceSequenceInterface.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/MLDcmtkAccessoriesNew/templates/DcmSequenceInterface.h
10//
11// Destination project:
12// FMEwork/ReleaseMeVis/Sources/Shared/MLDcmtkAccessoriesNew/DcmSequenceInterfaces
13//
14//----------------------------------------------------------------------------------
16
21//----------------------------------------------------------------------------------
22
23#ifndef __mlDcmDRTDeviceSequenceInterface_H
24#define __mlDcmDRTDeviceSequenceInterface_H
25
26// Local includes
27#include "mlDcmtkAccessories.h"
28
29// Dcmtk includes
30//#include "mlDcmDRTDeviceSequenceInterface.h" //DRTDeviceSequence
31
32
33// ML includes
34#ifndef __mlModuleIncludes_H
35#include "mlModuleIncludes.h"
36#endif
37
39
40// ------------------------------------------------------------------
42// ------------------------------------------------------------------
44{
45 public:
46
48 {
49 public:
50
51 Item() { _dcmItem = DcmtkAccessories::createNewDicomTree(); }
52
54
55 Item(const Item &copyDcmItem) : _dcmItem(copyDcmItem.getTreePtr()) {}
56
57 Item &operator=(const Item &copyDcmItem){ _dcmItem = copyDcmItem.getTreePtr(); return *this; }
58
59 virtual ~Item() {}
60
61 DCMTree::TreePtr getTreePtr() const { return _dcmItem; }
62
63 bool isValid() const { return _dcmItem.get() != nullptr; }
64
65
66 // CodeMeaning (0008,0104) vr=LO, vm=1, type=1C
67 bool getCodeMeaning(std::string& parameter) const;
68 std::string getCodeMeaningTag() const { return "(0008,0104)"; }
69 bool setCodeMeaning(std::string parameter);
70
71 // CodeValue (0008,0100) vr=SH, vm=1, type=1C
72 bool getCodeValue(std::string& parameter) const;
73 std::string getCodeValueTag() const { return "(0008,0100)"; }
74 bool setCodeValue(std::string parameter);
75
76 // CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C
77 bool getCodingSchemeDesignator(std::string& parameter) const;
78 std::string getCodingSchemeDesignatorTag() const { return "(0008,0102)"; }
79 bool setCodingSchemeDesignator(std::string parameter);
80
81 // CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C
82 bool getCodingSchemeVersion(std::string& parameter) const;
83 std::string getCodingSchemeVersionTag() const { return "(0008,0103)"; }
84 bool setCodingSchemeVersion(std::string parameter);
85
86 // ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C
87 bool getContextGroupExtensionCreatorUID(std::string& parameter) const;
88 std::string getContextGroupExtensionCreatorUIDTag() const { return "(0008,010d)"; }
89 bool setContextGroupExtensionCreatorUID(std::string parameter);
90
91 // ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3
92 bool getContextGroupExtensionFlag(std::string& parameter) const;
93 std::string getContextGroupExtensionFlagTag() const { return "(0008,010b)"; }
94 bool setContextGroupExtensionFlag(std::string parameter);
95
96 // ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C
97 bool getContextGroupLocalVersion(std::string& parameter) const;
98 std::string getContextGroupLocalVersionTag() const { return "(0008,0107)"; }
99 bool setContextGroupLocalVersion(std::string parameter);
100
101 // ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C
102 bool getContextGroupVersion(std::string& parameter) const;
103 std::string getContextGroupVersionTag() const { return "(0008,0106)"; }
104 bool setContextGroupVersion(std::string parameter);
105
106 // ContextIdentifier (0008,010f) vr=CS, vm=1, type=3
107 bool getContextIdentifier(std::string& parameter) const;
108 std::string getContextIdentifierTag() const { return "(0008,010f)"; }
109 bool setContextIdentifier(std::string parameter);
110
111 // DeviceDescription (0050,0020) vr=LO, vm=1, type=3
112 bool getDeviceDescription(std::string& parameter) const;
113 std::string getDeviceDescriptionTag() const { return "(0050,0020)"; }
114 bool setDeviceDescription(std::string parameter);
115
116 // DeviceDiameter (0050,0016) vr=DS, vm=1, type=3
117 bool getDeviceDiameter(std::string& parameter) const;
118 std::string getDeviceDiameterTag() const { return "(0050,0016)"; }
119 bool setDeviceDiameter(std::string parameter);
120
121 // DeviceDiameterUnits (0050,0017) vr=CS, vm=1, type=2C
122 bool getDeviceDiameterUnits(std::string& parameter) const;
123 std::string getDeviceDiameterUnitsTag() const { return "(0050,0017)"; }
124 bool setDeviceDiameterUnits(std::string parameter);
125
126 // DeviceID (0018,1003) vr=LO, vm=1, type=3
127 bool getDeviceID(std::string& parameter) const;
128 std::string getDeviceIDTag() const { return "(0018,1003)"; }
129 bool setDeviceID(std::string parameter);
130
131 // DeviceLength (0050,0014) vr=DS, vm=1, type=3
132 bool getDeviceLength(std::string& parameter) const;
133 std::string getDeviceLengthTag() const { return "(0050,0014)"; }
134 bool setDeviceLength(std::string parameter);
135
136 // DeviceSerialNumber (0018,1000) vr=LO, vm=1, type=3
137 bool getDeviceSerialNumber(std::string& parameter) const;
138 std::string getDeviceSerialNumberTag() const { return "(0018,1000)"; }
139 bool setDeviceSerialNumber(std::string parameter);
140
141 // DeviceVolume (0050,0018) vr=DS, vm=1, type=3
142 bool getDeviceVolume(std::string& parameter) const;
143 std::string getDeviceVolumeTag() const { return "(0050,0018)"; }
144 bool setDeviceVolume(std::string parameter);
145
146 // InterMarkerDistance (0050,0019) vr=DS, vm=1, type=3
147 bool getInterMarkerDistance(std::string& parameter) const;
148 std::string getInterMarkerDistanceTag() const { return "(0050,0019)"; }
149 bool setInterMarkerDistance(std::string parameter);
150
151 // Manufacturer (0008,0070) vr=LO, vm=1, type=3
152 bool getManufacturer(std::string& parameter) const;
153 std::string getManufacturerTag() const { return "(0008,0070)"; }
154 bool setManufacturer(std::string parameter);
155
156 // ManufacturerModelName (0008,1090) vr=LO, vm=1, type=3
157 bool getManufacturerModelName(std::string& parameter) const;
158 std::string getManufacturerModelNameTag() const { return "(0008,1090)"; }
159 bool setManufacturerModelName(std::string parameter);
160
161 // MappingResource (0008,0105) vr=CS, vm=1, type=1C
162 bool getMappingResource(std::string& parameter) const;
163 std::string getMappingResourceTag() const { return "(0008,0105)"; }
164 bool setMappingResource(std::string parameter);
165
166
167 private:
168
169 DCMTree::TreePtr _dcmItem;
170
171 };
172
174
176 DcmDRTDeviceSequenceInterface(std::vector<DcmDRTDeviceSequenceInterface::Item> dcmSequence) : _itemVec(dcmSequence) {}
177
179 for(size_t i=0; i < treePtrSeq.size(); i++)
180 {
182 }
183 }
184
187 // CodeMeaning (0008,0104) vr=LO, vm=1, type=1C
188 bool getCodeMeaning(unsigned long idx, std::string& parameter) const;
189 bool getCodeMeaning(DCMTree::TreePtr item, std::string& parameter) const;
190 std::string getCodeMeaningTag() const { return "(0008,0104)"; }
191 bool setCodeMeaning(unsigned long idx, std::string parameter);
192
193 // CodeValue (0008,0100) vr=SH, vm=1, type=1C
194 bool getCodeValue(unsigned long idx, std::string& parameter) const;
195 bool getCodeValue(DCMTree::TreePtr item, std::string& parameter) const;
196 std::string getCodeValueTag() const { return "(0008,0100)"; }
197 bool setCodeValue(unsigned long idx, std::string parameter);
198
199 // CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C
200 bool getCodingSchemeDesignator(unsigned long idx, std::string& parameter) const;
201 bool getCodingSchemeDesignator(DCMTree::TreePtr item, std::string& parameter) const;
202 std::string getCodingSchemeDesignatorTag() const { return "(0008,0102)"; }
203 bool setCodingSchemeDesignator(unsigned long idx, std::string parameter);
204
205 // CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C
206 bool getCodingSchemeVersion(unsigned long idx, std::string& parameter) const;
207 bool getCodingSchemeVersion(DCMTree::TreePtr item, std::string& parameter) const;
208 std::string getCodingSchemeVersionTag() const { return "(0008,0103)"; }
209 bool setCodingSchemeVersion(unsigned long idx, std::string parameter);
210
211 // ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C
212 bool getContextGroupExtensionCreatorUID(unsigned long idx, std::string& parameter) const;
213 bool getContextGroupExtensionCreatorUID(DCMTree::TreePtr item, std::string& parameter) const;
214 std::string getContextGroupExtensionCreatorUIDTag() const { return "(0008,010d)"; }
215 bool setContextGroupExtensionCreatorUID(unsigned long idx, std::string parameter);
216
217 // ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3
218 bool getContextGroupExtensionFlag(unsigned long idx, std::string& parameter) const;
219 bool getContextGroupExtensionFlag(DCMTree::TreePtr item, std::string& parameter) const;
220 std::string getContextGroupExtensionFlagTag() const { return "(0008,010b)"; }
221 bool setContextGroupExtensionFlag(unsigned long idx, std::string parameter);
222
223 // ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C
224 bool getContextGroupLocalVersion(unsigned long idx, std::string& parameter) const;
225 bool getContextGroupLocalVersion(DCMTree::TreePtr item, std::string& parameter) const;
226 std::string getContextGroupLocalVersionTag() const { return "(0008,0107)"; }
227 bool setContextGroupLocalVersion(unsigned long idx, std::string parameter);
228
229 // ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C
230 bool getContextGroupVersion(unsigned long idx, std::string& parameter) const;
231 bool getContextGroupVersion(DCMTree::TreePtr item, std::string& parameter) const;
232 std::string getContextGroupVersionTag() const { return "(0008,0106)"; }
233 bool setContextGroupVersion(unsigned long idx, std::string parameter);
234
235 // ContextIdentifier (0008,010f) vr=CS, vm=1, type=3
236 bool getContextIdentifier(unsigned long idx, std::string& parameter) const;
237 bool getContextIdentifier(DCMTree::TreePtr item, std::string& parameter) const;
238 std::string getContextIdentifierTag() const { return "(0008,010f)"; }
239 bool setContextIdentifier(unsigned long idx, std::string parameter);
240
241 // DeviceDescription (0050,0020) vr=LO, vm=1, type=3
242 bool getDeviceDescription(unsigned long idx, std::string& parameter) const;
243 bool getDeviceDescription(DCMTree::TreePtr item, std::string& parameter) const;
244 std::string getDeviceDescriptionTag() const { return "(0050,0020)"; }
245 bool setDeviceDescription(unsigned long idx, std::string parameter);
246
247 // DeviceDiameter (0050,0016) vr=DS, vm=1, type=3
248 bool getDeviceDiameter(unsigned long idx, std::string& parameter) const;
249 bool getDeviceDiameter(DCMTree::TreePtr item, std::string& parameter) const;
250 std::string getDeviceDiameterTag() const { return "(0050,0016)"; }
251 bool setDeviceDiameter(unsigned long idx, std::string parameter);
252
253 // DeviceDiameterUnits (0050,0017) vr=CS, vm=1, type=2C
254 bool getDeviceDiameterUnits(unsigned long idx, std::string& parameter) const;
255 bool getDeviceDiameterUnits(DCMTree::TreePtr item, std::string& parameter) const;
256 std::string getDeviceDiameterUnitsTag() const { return "(0050,0017)"; }
257 bool setDeviceDiameterUnits(unsigned long idx, std::string parameter);
258
259 // DeviceID (0018,1003) vr=LO, vm=1, type=3
260 bool getDeviceID(unsigned long idx, std::string& parameter) const;
261 bool getDeviceID(DCMTree::TreePtr item, std::string& parameter) const;
262 std::string getDeviceIDTag() const { return "(0018,1003)"; }
263 bool setDeviceID(unsigned long idx, std::string parameter);
264
265 // DeviceLength (0050,0014) vr=DS, vm=1, type=3
266 bool getDeviceLength(unsigned long idx, std::string& parameter) const;
267 bool getDeviceLength(DCMTree::TreePtr item, std::string& parameter) const;
268 std::string getDeviceLengthTag() const { return "(0050,0014)"; }
269 bool setDeviceLength(unsigned long idx, std::string parameter);
270
271 // DeviceSerialNumber (0018,1000) vr=LO, vm=1, type=3
272 bool getDeviceSerialNumber(unsigned long idx, std::string& parameter) const;
273 bool getDeviceSerialNumber(DCMTree::TreePtr item, std::string& parameter) const;
274 std::string getDeviceSerialNumberTag() const { return "(0018,1000)"; }
275 bool setDeviceSerialNumber(unsigned long idx, std::string parameter);
276
277 // DeviceVolume (0050,0018) vr=DS, vm=1, type=3
278 bool getDeviceVolume(unsigned long idx, std::string& parameter) const;
279 bool getDeviceVolume(DCMTree::TreePtr item, std::string& parameter) const;
280 std::string getDeviceVolumeTag() const { return "(0050,0018)"; }
281 bool setDeviceVolume(unsigned long idx, std::string parameter);
282
283 // InterMarkerDistance (0050,0019) vr=DS, vm=1, type=3
284 bool getInterMarkerDistance(unsigned long idx, std::string& parameter) const;
285 bool getInterMarkerDistance(DCMTree::TreePtr item, std::string& parameter) const;
286 std::string getInterMarkerDistanceTag() const { return "(0050,0019)"; }
287 bool setInterMarkerDistance(unsigned long idx, std::string parameter);
288
289 // Manufacturer (0008,0070) vr=LO, vm=1, type=3
290 bool getManufacturer(unsigned long idx, std::string& parameter) const;
291 bool getManufacturer(DCMTree::TreePtr item, std::string& parameter) const;
292 std::string getManufacturerTag() const { return "(0008,0070)"; }
293 bool setManufacturer(unsigned long idx, std::string parameter);
294
295 // ManufacturerModelName (0008,1090) vr=LO, vm=1, type=3
296 bool getManufacturerModelName(unsigned long idx, std::string& parameter) const;
297 bool getManufacturerModelName(DCMTree::TreePtr item, std::string& parameter) const;
298 std::string getManufacturerModelNameTag() const { return "(0008,1090)"; }
299 bool setManufacturerModelName(unsigned long idx, std::string parameter);
300
301 // MappingResource (0008,0105) vr=CS, vm=1, type=1C
302 bool getMappingResource(unsigned long idx, std::string& parameter) const;
303 bool getMappingResource(DCMTree::TreePtr item, std::string& parameter) const;
304 std::string getMappingResourceTag() const { return "(0008,0105)"; }
305 bool setMappingResource(unsigned long idx, std::string parameter);
306
307
310 void setSequence(std::vector<DcmDRTDeviceSequenceInterface::Item> dcmSequence) {
311 _itemVec = dcmSequence;
312 }
313
316 std::vector<DcmDRTDeviceSequenceInterface::Item> getSequence() const {
317 return _itemVec;
318 }
319
322 bool hasSequence() const {
323 return (_itemVec.size() != 0);
324 }
325
329 return static_cast<MLint>(_itemVec.size());
330 }
331
335 if (_itemVec.size() > idx) {
336 return _itemVec[idx];
337 }
339 }
340
344 _itemVec.push_back(DcmDRTDeviceSequenceInterface::Item());
345 return _itemVec[_itemVec.size()-1];
346 }
347
349 _itemVec.push_back(newItem);
350 }
351
354 bool insertItem(const size_t idx) {
355 if (_itemVec.size() > idx) {
356 std::vector<DcmDRTDeviceSequenceInterface::Item>::iterator it = _itemVec.begin();
357 std::advance(it, idx);
358 _itemVec.insert(it, DcmDRTDeviceSequenceInterface::Item());
359 return true;
360 }
361 return false;
362 }
363
366 bool removeItem(const size_t idx) {
367 if ( _itemVec.size() > idx ) {
368 std::vector<DcmDRTDeviceSequenceInterface::Item>::iterator it = _itemVec.begin();
369 std::advance(it, idx);
370 _itemVec.erase(it);
371 return true;
372 }
373 return false;
374 }
375
376 protected:
378 std::vector<DcmDRTDeviceSequenceInterface::Item> _itemVec;
379};
380
382
383#endif // __mlDcmDRTDeviceSequenceInterface_H
384
385/* MeVis-Hidden-Components-Start */
386/* MeVis-Hidden-Components-End */
#define MLDCMTKACCESSORIES_EXPORT
bool setContextGroupLocalVersion(std::string parameter)
bool getManufacturer(std::string &parameter) const
bool setManufacturerModelName(std::string parameter)
bool setCodeMeaning(std::string parameter)
bool setManufacturer(std::string parameter)
bool setContextIdentifier(std::string parameter)
bool getDeviceDiameterUnits(std::string &parameter) const
bool setCodingSchemeVersion(std::string parameter)
bool setDeviceDiameterUnits(std::string parameter)
bool setDeviceVolume(std::string parameter)
bool getDeviceSerialNumber(std::string &parameter) const
bool getContextGroupExtensionCreatorUID(std::string &parameter) const
bool getCodeValue(std::string &parameter) const
bool getMappingResource(std::string &parameter) const
bool setDeviceSerialNumber(std::string parameter)
bool setDeviceDiameter(std::string parameter)
bool getDeviceDiameter(std::string &parameter) const
bool setInterMarkerDistance(std::string parameter)
bool getContextGroupExtensionFlag(std::string &parameter) const
bool setDeviceID(std::string parameter)
bool setDeviceDescription(std::string parameter)
bool getContextIdentifier(std::string &parameter) const
bool getCodingSchemeVersion(std::string &parameter) const
bool setContextGroupVersion(std::string parameter)
bool getContextGroupLocalVersion(std::string &parameter) const
bool setCodingSchemeDesignator(std::string parameter)
bool setDeviceLength(std::string parameter)
bool getDeviceID(std::string &parameter) const
bool getInterMarkerDistance(std::string &parameter) const
bool setContextGroupExtensionFlag(std::string parameter)
bool setCodeValue(std::string parameter)
bool getDeviceLength(std::string &parameter) const
bool getManufacturerModelName(std::string &parameter) const
bool setContextGroupExtensionCreatorUID(std::string parameter)
bool getCodeMeaning(std::string &parameter) const
bool getDeviceDescription(std::string &parameter) const
bool getDeviceVolume(std::string &parameter) const
bool getCodingSchemeDesignator(std::string &parameter) const
bool setMappingResource(std::string parameter)
bool getContextGroupVersion(std::string &parameter) const
Class to provide access to DRTDeviceSequence.
bool getManufacturer(unsigned long idx, std::string &parameter) const
MLint getNumberOfItems() const
Return number of items the internal sequence consists of.
bool setCodeValue(unsigned long idx, std::string parameter)
bool getManufacturerModelName(unsigned long idx, std::string &parameter) const
bool setInterMarkerDistance(unsigned long idx, std::string parameter)
bool setCodeMeaning(unsigned long idx, std::string parameter)
bool setCodingSchemeVersion(unsigned long idx, std::string parameter)
bool getContextGroupLocalVersion(DCMTree::TreePtr item, std::string &parameter) const
bool setCodingSchemeDesignator(unsigned long idx, std::string parameter)
bool getContextGroupLocalVersion(unsigned long idx, std::string &parameter) const
void setSequence(std::vector< DcmDRTDeviceSequenceInterface::Item > dcmSequence)
Set the DRTDeviceSequence this interface class provides access to.
bool getDeviceVolume(DCMTree::TreePtr item, std::string &parameter) const
bool getCodeMeaning(unsigned long idx, std::string &parameter) const
bool getCodingSchemeVersion(DCMTree::TreePtr item, std::string &parameter) const
bool getContextIdentifier(DCMTree::TreePtr item, std::string &parameter) const
bool setDeviceDescription(unsigned long idx, std::string parameter)
bool getInterMarkerDistance(unsigned long idx, std::string &parameter) const
bool setContextGroupLocalVersion(unsigned long idx, std::string parameter)
bool getDeviceLength(unsigned long idx, std::string &parameter) const
bool getDeviceSerialNumber(unsigned long idx, std::string &parameter) const
bool getInterMarkerDistance(DCMTree::TreePtr item, std::string &parameter) const
bool getDeviceLength(DCMTree::TreePtr item, std::string &parameter) const
bool setDeviceVolume(unsigned long idx, std::string parameter)
bool getDeviceID(DCMTree::TreePtr item, std::string &parameter) const
bool getCodingSchemeVersion(unsigned long idx, std::string &parameter) const
bool getManufacturerModelName(DCMTree::TreePtr item, std::string &parameter) const
bool getDeviceVolume(unsigned long idx, std::string &parameter) const
bool setDeviceID(unsigned long idx, std::string parameter)
DcmDRTDeviceSequenceInterface::Item getItem(const size_t idx) const
Gets the item at the indicated position.
bool getContextGroupExtensionFlag(DCMTree::TreePtr item, std::string &parameter) const
bool getContextGroupExtensionCreatorUID(DCMTree::TreePtr item, std::string &parameter) const
bool getDeviceDescription(DCMTree::TreePtr item, std::string &parameter) const
bool getCodeValue(unsigned long idx, std::string &parameter) const
bool setDeviceSerialNumber(unsigned long idx, std::string parameter)
bool setContextIdentifier(unsigned long idx, std::string parameter)
bool getDeviceDiameter(unsigned long idx, std::string &parameter) const
bool setDeviceLength(unsigned long idx, std::string parameter)
bool insertItem(const size_t idx)
Insert an item at the indicated position.
bool getDeviceDiameterUnits(unsigned long idx, std::string &parameter) const
bool setDeviceDiameterUnits(unsigned long idx, std::string parameter)
bool getDeviceDiameter(DCMTree::TreePtr item, std::string &parameter) const
bool getContextGroupVersion(unsigned long idx, std::string &parameter) const
bool getMappingResource(unsigned long idx, std::string &parameter) const
bool setMappingResource(unsigned long idx, std::string parameter)
virtual ~DcmDRTDeviceSequenceInterface()
Default virtual Destructor.
void addItem(DcmDRTDeviceSequenceInterface::Item newItem)
bool setContextGroupExtensionFlag(unsigned long idx, std::string parameter)
bool getMappingResource(DCMTree::TreePtr item, std::string &parameter) const
std::vector< DcmDRTDeviceSequenceInterface::Item > _itemVec
Reference to the wrapped DICOM tree pointer vector.
bool getCodeMeaning(DCMTree::TreePtr item, std::string &parameter) const
bool getCodingSchemeDesignator(unsigned long idx, std::string &parameter) const
bool getDeviceSerialNumber(DCMTree::TreePtr item, std::string &parameter) const
DcmDRTDeviceSequenceInterface(std::vector< DcmDRTDeviceSequenceInterface::Item > dcmSequence)
Default Constructor.
bool removeItem(const size_t idx)
Removes the indicated item from the sequence.
bool getCodingSchemeDesignator(DCMTree::TreePtr item, std::string &parameter) const
bool getContextGroupVersion(DCMTree::TreePtr item, std::string &parameter) const
DcmDRTDeviceSequenceInterface::Item & addItem()
Adds a new item to the sequence.
bool hasSequence() const
Check if the DRTDeviceSequence is set.
bool setManufacturerModelName(unsigned long idx, std::string parameter)
bool getCodeValue(DCMTree::TreePtr item, std::string &parameter) const
bool getManufacturer(DCMTree::TreePtr item, std::string &parameter) const
bool getDeviceID(unsigned long idx, std::string &parameter) const
bool getDeviceDiameterUnits(DCMTree::TreePtr item, std::string &parameter) const
bool getContextGroupExtensionFlag(unsigned long idx, std::string &parameter) const
bool setDeviceDiameter(unsigned long idx, std::string parameter)
DcmDRTDeviceSequenceInterface(DCMTree::TreePtrVector treePtrSeq)
bool setContextGroupVersion(unsigned long idx, std::string parameter)
bool setManufacturer(unsigned long idx, std::string parameter)
bool getContextGroupExtensionCreatorUID(unsigned long idx, std::string &parameter) const
std::vector< DcmDRTDeviceSequenceInterface::Item > getSequence() const
Return the DRTDeviceSequence this interface class provides access to.
bool getContextIdentifier(unsigned long idx, std::string &parameter) const
bool setContextGroupExtensionCreatorUID(unsigned long idx, std::string parameter)
bool getDeviceDescription(unsigned long idx, std::string &parameter) const
Class collecting some DICOM helper functionality explicitly for dcmtk.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
MLint64 MLint
A signed ML integer type with at least 64 bits used for index calculations on very large images even ...
Definition mlTypeDefs.h:490
std::vector< TreePtr > TreePtrVector
a vector of TreePtr - used for sequences
Definition DCMTree_Lib.h:85
boost::shared_ptr< Tree > TreePtr
shared pointer to a DCMTree::Tree
Definition DCMTree_Lib.h:72