23#ifndef __mlDcmDRTPerformedProtocolCodeSequenceInterface_H
24#define __mlDcmDRTPerformedProtocolCodeSequenceInterface_H
35#ifndef __mlModuleIncludes_H
52 Item() { _dcmItem = DcmtkAccessories::createNewDicomTree(); }
64 bool isValid()
const {
return _dcmItem.get() !=
nullptr; }
217 std::vector<DcmDRTPerformedProtocolCodeSequenceInterface::Item>
getSequence()
const {
224 return (_itemVec.size() != 0);
230 return static_cast<MLint>(_itemVec.size());
236 if (_itemVec.size() >
idx) {
237 return _itemVec[
idx];
246 return _itemVec[_itemVec.size()-1];
256 if (_itemVec.size() >
idx) {
257 std::vector<DcmDRTPerformedProtocolCodeSequenceInterface::Item>::iterator
it = _itemVec.begin();
258 std::advance(
it,
idx);
268 if ( _itemVec.size() >
idx ) {
269 std::vector<DcmDRTPerformedProtocolCodeSequenceInterface::Item>::iterator
it = _itemVec.begin();
270 std::advance(
it,
idx);
279 std::vector<DcmDRTPerformedProtocolCodeSequenceInterface::Item>
_itemVec;
#define MLDCMTKACCESSORIES_EXPORT
Class to provide access to DRTProtocolContextSequence.
Class to provide access to DRTProtocolContextSequence.
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