MeVisLab Toolbox Reference
mlDcmDRTReferencedInstanceSequenceInterface.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 __mlDcmDRTReferencedInstanceSequenceInterface_H
24 #define __mlDcmDRTReferencedInstanceSequenceInterface_H
25 
26 // Local includes
27 #include "mlDcmtkAccessories.h"
28 
29 // Dcmtk includes
30 //#include "mlDcmDRTReferencedInstanceSequenceInterface.h" //DRTReferencedInstanceSequence
31 #include "mlDcmDRTPurposeOfReferenceCodeSequenceInterface.h" //DRTPurposeOfReferenceCodeSequence
32 
33 
34 // ML includes
35 #ifndef __mlModuleIncludes_H
36 #include "mlModuleIncludes.h"
37 #endif
38 
39 ML_START_NAMESPACE
40 
41 // ------------------------------------------------------------------
43 // ------------------------------------------------------------------
45 {
46  public:
47 
49  {
50  public:
51 
52  Item() { _dcmItem = DcmtkAccessories::createNewDicomTree(); }
53 
54  Item(DCMTree::TreePtr dcmItem) : _dcmItem(dcmItem) {}
55 
56  Item(const Item &copyDcmItem) : _dcmItem(copyDcmItem.getTreePtr()) {}
57 
58  Item &operator=(const Item &copyDcmItem){ _dcmItem = copyDcmItem.getTreePtr(); return *this; }
59 
60  virtual ~Item() {}
61 
62  DCMTree::TreePtr getTreePtr() const { return _dcmItem; }
63 
64  bool isValid() const { return _dcmItem.get() != nullptr; }
65 
66 
67  // BitsAllocated (0028,0100) vr=US, vm=1, type=1
68  bool getBitsAllocated(MLuint16& parameter) const;
69  std::string getBitsAllocatedTag() const { return "(0028,0100)"; }
70  bool setBitsAllocated(MLuint16 parameter);
71 
72  // BitsStored (0028,0101) vr=US, vm=1, type=1
73  bool getBitsStored(MLuint16& parameter) const;
74  std::string getBitsStoredTag() const { return "(0028,0101)"; }
75  bool setBitsStored(MLuint16 parameter);
76 
77  // BluePaletteColorLookupTableDescriptor (0028,1103) vr=US_SS, vm=3, type=1C
79  std::string getBluePaletteColorLookupTableDescriptorTag() const { return "(0028,1103)"; }
81 
82  // Columns (0028,0011) vr=US, vm=1, type=1
83  bool getColumns(MLuint16& parameter) const;
84  std::string getColumnsTag() const { return "(0028,0011)"; }
85  bool setColumns(MLuint16 parameter);
86 
87  // GreenPaletteColorLookupTableDescriptor (0028,1102) vr=US_SS, vm=3, type=1C
89  std::string getGreenPaletteColorLookupTableDescriptorTag() const { return "(0028,1102)"; }
91 
92  // HighBit (0028,0102) vr=US, vm=1, type=1
93  bool getHighBit(MLuint16& parameter) const;
94  std::string getHighBitTag() const { return "(0028,0102)"; }
95  bool setHighBit(MLuint16 parameter);
96 
97  // ICCProfile (0028,2000) vr=OB, vm=1, type=3
98  bool getICCProfile(int& parameter) const;
99  std::string getICCProfileTag() const { return "(0028,2000)"; }
100  bool setICCProfile(int parameter);
101 
102  // LargestImagePixelValue (0028,0107) vr=US_SS, vm=1, type=3
103  bool getLargestImagePixelValue(MLuint16& parameter) const;
104  std::string getLargestImagePixelValueTag() const { return "(0028,0107)"; }
106 
107  // PhotometricInterpretation (0028,0004) vr=CS, vm=1, type=1
108  bool getPhotometricInterpretation(std::string& parameter) const;
109  std::string getPhotometricInterpretationTag() const { return "(0028,0004)"; }
110  bool setPhotometricInterpretation(std::string parameter);
111 
112  // PixelAspectRatio (0028,0034) vr=IS, vm=2, type=1C
113  bool getPixelAspectRatio(std::string& parameter) const;
114  std::string getPixelAspectRatioTag() const { return "(0028,0034)"; }
115  bool setPixelAspectRatio(std::string parameter);
116 
117  // PixelRepresentation (0028,0103) vr=US, vm=1, type=1
118  bool getPixelRepresentation(MLuint16& parameter) const;
119  std::string getPixelRepresentationTag() const { return "(0028,0103)"; }
121 
122  // PlanarConfiguration (0028,0006) vr=US, vm=1, type=1C
123  bool getPlanarConfiguration(MLuint16& parameter) const;
124  std::string getPlanarConfigurationTag() const { return "(0028,0006)"; }
126 
127  // RedPaletteColorLookupTableDescriptor (0028,1101) vr=US_SS, vm=3, type=1C
129  std::string getRedPaletteColorLookupTableDescriptorTag() const { return "(0028,1101)"; }
131 
132  // ReferencedSOPClassUID (0008,1150) vr=UI, vm=1, type=1
133  bool getReferencedSOPClassUID(std::string& parameter) const;
134  std::string getReferencedSOPClassUIDTag() const { return "(0008,1150)"; }
135  bool setReferencedSOPClassUID(std::string parameter);
136 
137  // ReferencedSOPInstanceUID (0008,1155) vr=UI, vm=1, type=1
138  bool getReferencedSOPInstanceUID(std::string& parameter) const;
139  std::string getReferencedSOPInstanceUIDTag() const { return "(0008,1155)"; }
140  bool setReferencedSOPInstanceUID(std::string parameter);
141 
142  // Rows (0028,0010) vr=US, vm=1, type=1
143  bool getRows(MLuint16& parameter) const;
144  std::string getRowsTag() const { return "(0028,0010)"; }
145  bool setRows(MLuint16 parameter);
146 
147  // SamplesPerPixel (0028,0002) vr=US, vm=1, type=1
148  bool getSamplesPerPixel(MLuint16& parameter) const;
149  std::string getSamplesPerPixelTag() const { return "(0028,0002)"; }
150  bool setSamplesPerPixel(MLuint16 parameter);
151 
152  // SmallestImagePixelValue (0028,0106) vr=US_SS, vm=1, type=3
153  bool getSmallestImagePixelValue(MLuint16& parameter) const;
154  std::string getSmallestImagePixelValueTag() const { return "(0028,0106)"; }
156 
157  // PurposeOfReferenceCodeSequence (0040,a170) vr=SQ, vm=1, type=1
159  std::string getPurposeOfReferenceCodeSequenceTag() const { return std::string("(0040,a170)"); }
161 
162 
163  private:
164 
165  DCMTree::TreePtr _dcmItem;
166 
167  };
168 
170 
172  DcmDRTReferencedInstanceSequenceInterface(std::vector<DcmDRTReferencedInstanceSequenceInterface::Item> dcmSequence) : _itemVec(dcmSequence) {}
173 
175  for(size_t i=0; i < treePtrSeq.size(); i++)
176  {
177  _itemVec.push_back(DcmDRTReferencedInstanceSequenceInterface::Item(treePtrSeq[i]));
178  }
179  }
180 
183  // BitsAllocated (0028,0100) vr=US, vm=1, type=1
184  bool getBitsAllocated(unsigned long idx, MLuint16& parameter) const;
185  bool getBitsAllocated(DCMTree::TreePtr item, MLuint16& parameter) const;
186  std::string getBitsAllocatedTag() const { return "(0028,0100)"; }
187  bool setBitsAllocated(unsigned long idx, MLuint16 parameter);
188 
189  // BitsStored (0028,0101) vr=US, vm=1, type=1
190  bool getBitsStored(unsigned long idx, MLuint16& parameter) const;
191  bool getBitsStored(DCMTree::TreePtr item, MLuint16& parameter) const;
192  std::string getBitsStoredTag() const { return "(0028,0101)"; }
193  bool setBitsStored(unsigned long idx, MLuint16 parameter);
194 
195  // BluePaletteColorLookupTableDescriptor (0028,1103) vr=US_SS, vm=3, type=1C
196  bool getBluePaletteColorLookupTableDescriptor(unsigned long idx, MLuint16& parameter) const;
198  std::string getBluePaletteColorLookupTableDescriptorTag() const { return "(0028,1103)"; }
199  bool setBluePaletteColorLookupTableDescriptor(unsigned long idx, MLuint16 parameter);
200 
201  // Columns (0028,0011) vr=US, vm=1, type=1
202  bool getColumns(unsigned long idx, MLuint16& parameter) const;
203  bool getColumns(DCMTree::TreePtr item, MLuint16& parameter) const;
204  std::string getColumnsTag() const { return "(0028,0011)"; }
205  bool setColumns(unsigned long idx, MLuint16 parameter);
206 
207  // GreenPaletteColorLookupTableDescriptor (0028,1102) vr=US_SS, vm=3, type=1C
208  bool getGreenPaletteColorLookupTableDescriptor(unsigned long idx, MLuint16& parameter) const;
210  std::string getGreenPaletteColorLookupTableDescriptorTag() const { return "(0028,1102)"; }
211  bool setGreenPaletteColorLookupTableDescriptor(unsigned long idx, MLuint16 parameter);
212 
213  // HighBit (0028,0102) vr=US, vm=1, type=1
214  bool getHighBit(unsigned long idx, MLuint16& parameter) const;
215  bool getHighBit(DCMTree::TreePtr item, MLuint16& parameter) const;
216  std::string getHighBitTag() const { return "(0028,0102)"; }
217  bool setHighBit(unsigned long idx, MLuint16 parameter);
218 
219  // ICCProfile (0028,2000) vr=OB, vm=1, type=3
220  bool getICCProfile(unsigned long idx, int& parameter) const;
221  bool getICCProfile(DCMTree::TreePtr item, int& parameter) const;
222  std::string getICCProfileTag() const { return "(0028,2000)"; }
223  bool setICCProfile(unsigned long idx, int parameter);
224 
225  // LargestImagePixelValue (0028,0107) vr=US_SS, vm=1, type=3
226  bool getLargestImagePixelValue(unsigned long idx, MLuint16& parameter) const;
228  std::string getLargestImagePixelValueTag() const { return "(0028,0107)"; }
229  bool setLargestImagePixelValue(unsigned long idx, MLuint16 parameter);
230 
231  // PhotometricInterpretation (0028,0004) vr=CS, vm=1, type=1
232  bool getPhotometricInterpretation(unsigned long idx, std::string& parameter) const;
233  bool getPhotometricInterpretation(DCMTree::TreePtr item, std::string& parameter) const;
234  std::string getPhotometricInterpretationTag() const { return "(0028,0004)"; }
235  bool setPhotometricInterpretation(unsigned long idx, std::string parameter);
236 
237  // PixelAspectRatio (0028,0034) vr=IS, vm=2, type=1C
238  bool getPixelAspectRatio(unsigned long idx, std::string& parameter) const;
239  bool getPixelAspectRatio(DCMTree::TreePtr item, std::string& parameter) const;
240  std::string getPixelAspectRatioTag() const { return "(0028,0034)"; }
241  bool setPixelAspectRatio(unsigned long idx, std::string parameter);
242 
243  // PixelRepresentation (0028,0103) vr=US, vm=1, type=1
244  bool getPixelRepresentation(unsigned long idx, MLuint16& parameter) const;
245  bool getPixelRepresentation(DCMTree::TreePtr item, MLuint16& parameter) const;
246  std::string getPixelRepresentationTag() const { return "(0028,0103)"; }
247  bool setPixelRepresentation(unsigned long idx, MLuint16 parameter);
248 
249  // PlanarConfiguration (0028,0006) vr=US, vm=1, type=1C
250  bool getPlanarConfiguration(unsigned long idx, MLuint16& parameter) const;
251  bool getPlanarConfiguration(DCMTree::TreePtr item, MLuint16& parameter) const;
252  std::string getPlanarConfigurationTag() const { return "(0028,0006)"; }
253  bool setPlanarConfiguration(unsigned long idx, MLuint16 parameter);
254 
255  // RedPaletteColorLookupTableDescriptor (0028,1101) vr=US_SS, vm=3, type=1C
256  bool getRedPaletteColorLookupTableDescriptor(unsigned long idx, MLuint16& parameter) const;
258  std::string getRedPaletteColorLookupTableDescriptorTag() const { return "(0028,1101)"; }
259  bool setRedPaletteColorLookupTableDescriptor(unsigned long idx, MLuint16 parameter);
260 
261  // ReferencedSOPClassUID (0008,1150) vr=UI, vm=1, type=1
262  bool getReferencedSOPClassUID(unsigned long idx, std::string& parameter) const;
263  bool getReferencedSOPClassUID(DCMTree::TreePtr item, std::string& parameter) const;
264  std::string getReferencedSOPClassUIDTag() const { return "(0008,1150)"; }
265  bool setReferencedSOPClassUID(unsigned long idx, std::string parameter);
266 
267  // ReferencedSOPInstanceUID (0008,1155) vr=UI, vm=1, type=1
268  bool getReferencedSOPInstanceUID(unsigned long idx, std::string& parameter) const;
269  bool getReferencedSOPInstanceUID(DCMTree::TreePtr item, std::string& parameter) const;
270  std::string getReferencedSOPInstanceUIDTag() const { return "(0008,1155)"; }
271  bool setReferencedSOPInstanceUID(unsigned long idx, std::string parameter);
272 
273  // Rows (0028,0010) vr=US, vm=1, type=1
274  bool getRows(unsigned long idx, MLuint16& parameter) const;
275  bool getRows(DCMTree::TreePtr item, MLuint16& parameter) const;
276  std::string getRowsTag() const { return "(0028,0010)"; }
277  bool setRows(unsigned long idx, MLuint16 parameter);
278 
279  // SamplesPerPixel (0028,0002) vr=US, vm=1, type=1
280  bool getSamplesPerPixel(unsigned long idx, MLuint16& parameter) const;
281  bool getSamplesPerPixel(DCMTree::TreePtr item, MLuint16& parameter) const;
282  std::string getSamplesPerPixelTag() const { return "(0028,0002)"; }
283  bool setSamplesPerPixel(unsigned long idx, MLuint16 parameter);
284 
285  // SmallestImagePixelValue (0028,0106) vr=US_SS, vm=1, type=3
286  bool getSmallestImagePixelValue(unsigned long idx, MLuint16& parameter) const;
288  std::string getSmallestImagePixelValueTag() const { return "(0028,0106)"; }
289  bool setSmallestImagePixelValue(unsigned long idx, MLuint16 parameter);
290 
291  // PurposeOfReferenceCodeSequence (0040,a170) vr=SQ, vm=1, type=1
293  std::string getPurposeOfReferenceCodeSequenceTag() const { return std::string("(0040,a170)"); }
295 
296 
299  void setSequence(std::vector<DcmDRTReferencedInstanceSequenceInterface::Item> dcmSequence) {
300  _itemVec = dcmSequence;
301  }
302 
305  std::vector<DcmDRTReferencedInstanceSequenceInterface::Item> getSequence() const {
306  return _itemVec;
307  }
308 
311  bool hasSequence() const {
312  return (_itemVec.size() != 0);
313  }
314 
318  return static_cast<MLint>(_itemVec.size());
319  }
320 
324  if (_itemVec.size() > idx) {
325  return _itemVec[idx];
326  }
328  }
329 
334  return _itemVec[_itemVec.size()-1];
335  }
336 
338  _itemVec.push_back(newItem);
339  }
340 
343  bool insertItem(const size_t idx) {
344  if (_itemVec.size() > idx) {
345  std::vector<DcmDRTReferencedInstanceSequenceInterface::Item>::iterator it = _itemVec.begin();
346  std::advance(it, idx);
348  return true;
349  }
350  return false;
351  }
352 
355  bool removeItem(const size_t idx) {
356  if ( _itemVec.size() > idx ) {
357  std::vector<DcmDRTReferencedInstanceSequenceInterface::Item>::iterator it = _itemVec.begin();
358  std::advance(it, idx);
359  _itemVec.erase(it);
360  return true;
361  }
362  return false;
363  }
364 
365  protected:
367  std::vector<DcmDRTReferencedInstanceSequenceInterface::Item> _itemVec;
368 };
369 
370 ML_END_NAMESPACE
371 
372 #endif // __mlDcmDRTReferencedInstanceSequenceInterface_H
373 
374 /* MeVis-Hidden-Components-Start */
375 /* MeVis-Hidden-Components-End */
#define MLDCMTKACCESSORIES_EXPORT
Class to provide access to DRTPurposeOfReferenceCodeSequence.
bool getRedPaletteColorLookupTableDescriptor(MLuint16 &parameter) const
bool getBluePaletteColorLookupTableDescriptor(MLuint16 &parameter) const
bool getBitsAllocated(MLuint16 &parameter) const
bool getGreenPaletteColorLookupTableDescriptor(MLuint16 &parameter) const
bool getPlanarConfiguration(MLuint16 &parameter) const
bool getPhotometricInterpretation(std::string &parameter) const
bool getSamplesPerPixel(MLuint16 &parameter) const
bool setReferencedSOPInstanceUID(std::string parameter)
bool getHighBit(MLuint16 &parameter) const
bool getSmallestImagePixelValue(MLuint16 &parameter) const
bool setReferencedSOPClassUID(std::string parameter)
bool getColumns(MLuint16 &parameter) const
bool getPixelRepresentation(MLuint16 &parameter) const
bool setRedPaletteColorLookupTableDescriptor(MLuint16 parameter)
bool setBluePaletteColorLookupTableDescriptor(MLuint16 parameter)
bool setGreenPaletteColorLookupTableDescriptor(MLuint16 parameter)
bool getBitsStored(MLuint16 &parameter) const
bool getReferencedSOPInstanceUID(std::string &parameter) const
bool getPixelAspectRatio(std::string &parameter) const
bool getLargestImagePixelValue(MLuint16 &parameter) const
void setPurposeOfReferenceCodeSequence(DcmDRTPurposeOfReferenceCodeSequenceInterface seq)
DcmDRTPurposeOfReferenceCodeSequenceInterface getPurposeOfReferenceCodeSequence() const
bool setPhotometricInterpretation(std::string parameter)
bool getReferencedSOPClassUID(std::string &parameter) const
Class to provide access to DRTReferencedInstanceSequence.
DcmDRTPurposeOfReferenceCodeSequenceInterface getPurposeOfReferenceCodeSequence(unsigned long idx) const
void setSequence(std::vector< DcmDRTReferencedInstanceSequenceInterface::Item > dcmSequence)
Set the DRTReferencedInstanceSequence this interface class provides access to.
bool getPlanarConfiguration(unsigned long idx, MLuint16 &parameter) const
bool getLargestImagePixelValue(DCMTree::TreePtr item, MLuint16 &parameter) const
bool setHighBit(unsigned long idx, MLuint16 parameter)
bool setReferencedSOPInstanceUID(unsigned long idx, std::string parameter)
bool getReferencedSOPInstanceUID(unsigned long idx, std::string &parameter) const
bool getBluePaletteColorLookupTableDescriptor(unsigned long idx, MLuint16 &parameter) const
bool setSmallestImagePixelValue(unsigned long idx, MLuint16 parameter)
bool getPhotometricInterpretation(DCMTree::TreePtr item, std::string &parameter) const
bool setPixelRepresentation(unsigned long idx, MLuint16 parameter)
bool setBitsStored(unsigned long idx, MLuint16 parameter)
bool getSamplesPerPixel(unsigned long idx, MLuint16 &parameter) const
bool getICCProfile(unsigned long idx, int &parameter) const
bool getPhotometricInterpretation(unsigned long idx, std::string &parameter) const
bool getSmallestImagePixelValue(DCMTree::TreePtr item, MLuint16 &parameter) const
bool getRows(unsigned long idx, MLuint16 &parameter) const
bool setRedPaletteColorLookupTableDescriptor(unsigned long idx, MLuint16 parameter)
bool setSamplesPerPixel(unsigned long idx, MLuint16 parameter)
bool getBluePaletteColorLookupTableDescriptor(DCMTree::TreePtr item, MLuint16 &parameter) const
bool setICCProfile(unsigned long idx, int parameter)
bool setColumns(unsigned long idx, MLuint16 parameter)
bool setLargestImagePixelValue(unsigned long idx, MLuint16 parameter)
bool getHighBit(DCMTree::TreePtr item, MLuint16 &parameter) const
bool getSamplesPerPixel(DCMTree::TreePtr item, MLuint16 &parameter) const
MLint getNumberOfItems() const
Return number of items the internal sequence consists of.
bool setRows(unsigned long idx, MLuint16 parameter)
bool getBitsStored(unsigned long idx, MLuint16 &parameter) const
bool setPixelAspectRatio(unsigned long idx, std::string parameter)
std::vector< DcmDRTReferencedInstanceSequenceInterface::Item > _itemVec
Reference to the wrapped DICOM tree pointer vector.
bool removeItem(const size_t idx)
Removes the indicated item from the sequence.
bool setBluePaletteColorLookupTableDescriptor(unsigned long idx, MLuint16 parameter)
bool getBitsStored(DCMTree::TreePtr item, MLuint16 &parameter) const
bool setReferencedSOPClassUID(unsigned long idx, std::string parameter)
bool getPixelAspectRatio(unsigned long idx, std::string &parameter) const
bool getRedPaletteColorLookupTableDescriptor(DCMTree::TreePtr item, MLuint16 &parameter) const
DcmDRTReferencedInstanceSequenceInterface::Item & addItem()
Adds a new item to the sequence.
DcmDRTReferencedInstanceSequenceInterface(std::vector< DcmDRTReferencedInstanceSequenceInterface::Item > dcmSequence)
Default Constructor.
void addItem(DcmDRTReferencedInstanceSequenceInterface::Item newItem)
bool getPlanarConfiguration(DCMTree::TreePtr item, MLuint16 &parameter) const
bool getGreenPaletteColorLookupTableDescriptor(unsigned long idx, MLuint16 &parameter) const
bool getLargestImagePixelValue(unsigned long idx, MLuint16 &parameter) const
bool getRows(DCMTree::TreePtr item, MLuint16 &parameter) const
bool getRedPaletteColorLookupTableDescriptor(unsigned long idx, MLuint16 &parameter) const
DcmDRTReferencedInstanceSequenceInterface::Item getItem(const size_t idx) const
Gets the item at the indicated position.
bool getICCProfile(DCMTree::TreePtr item, int &parameter) const
bool getPixelRepresentation(unsigned long idx, MLuint16 &parameter) const
bool getGreenPaletteColorLookupTableDescriptor(DCMTree::TreePtr item, MLuint16 &parameter) const
bool hasSequence() const
Check if the DRTReferencedInstanceSequence is set.
bool getPixelRepresentation(DCMTree::TreePtr item, MLuint16 &parameter) const
bool getSmallestImagePixelValue(unsigned long idx, MLuint16 &parameter) const
bool setPhotometricInterpretation(unsigned long idx, std::string parameter)
bool getReferencedSOPInstanceUID(DCMTree::TreePtr item, std::string &parameter) const
void setPurposeOfReferenceCodeSequence(DcmDRTPurposeOfReferenceCodeSequenceInterface seq, unsigned long idx)
bool setPlanarConfiguration(unsigned long idx, MLuint16 parameter)
bool setGreenPaletteColorLookupTableDescriptor(unsigned long idx, MLuint16 parameter)
bool getColumns(DCMTree::TreePtr item, MLuint16 &parameter) const
std::vector< DcmDRTReferencedInstanceSequenceInterface::Item > getSequence() const
Return the DRTReferencedInstanceSequence this interface class provides access to.
bool getPixelAspectRatio(DCMTree::TreePtr item, std::string &parameter) const
bool getBitsAllocated(unsigned long idx, MLuint16 &parameter) const
bool getReferencedSOPClassUID(unsigned long idx, std::string &parameter) const
bool getBitsAllocated(DCMTree::TreePtr item, MLuint16 &parameter) const
bool getReferencedSOPClassUID(DCMTree::TreePtr item, std::string &parameter) const
bool setBitsAllocated(unsigned long idx, MLuint16 parameter)
bool insertItem(const size_t idx)
Insert an item at the indicated position.
bool getColumns(unsigned long idx, MLuint16 &parameter) const
bool getHighBit(unsigned long idx, MLuint16 &parameter) const
Class to provide access to DRTPurposeOfReferenceCodeSequence.
Class collecting some DICOM helper functionality explicitly for dcmtk.
unsigned short MLuint16
Definition: mlTypeDefs.h:148
MLint64 MLint
A signed ML integer type with at least 64 bits used for index calculations on very large images even ...
Definition: mlTypeDefs.h:578
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:70