23#ifndef __mlDcmDRTReferencedPerformedProcedureStepSequenceInterface_H
24#define __mlDcmDRTReferencedPerformedProcedureStepSequenceInterface_H
34#ifndef __mlModuleIncludes_H
51 Item() { _dcmItem = DcmtkAccessories::createNewDicomTree(); }
63 bool isValid()
const {
return _dcmItem.get() !=
nullptr; }
118 std::vector<DcmDRTReferencedPerformedProcedureStepSequenceInterface::Item>
getSequence()
const {
125 return (_itemVec.size() != 0);
131 return static_cast<MLint>(_itemVec.size());
137 if (_itemVec.size() >
idx) {
138 return _itemVec[
idx];
147 return _itemVec[_itemVec.size()-1];
157 if (_itemVec.size() >
idx) {
158 std::vector<DcmDRTReferencedPerformedProcedureStepSequenceInterface::Item>::iterator
it = _itemVec.begin();
159 std::advance(
it,
idx);
169 if ( _itemVec.size() >
idx ) {
170 std::vector<DcmDRTReferencedPerformedProcedureStepSequenceInterface::Item>::iterator
it = _itemVec.begin();
171 std::advance(
it,
idx);
180 std::vector<DcmDRTReferencedPerformedProcedureStepSequenceInterface::Item>
_itemVec;
#define MLDCMTKACCESSORIES_EXPORT
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 ...
std::vector< TreePtr > TreePtrVector
a vector of TreePtr - used for sequences
boost::shared_ptr< Tree > TreePtr
shared pointer to a DCMTree::Tree