23#ifndef __mlDcmDRTRecordedBlockSequenceInterface_H
24#define __mlDcmDRTRecordedBlockSequenceInterface_H
34#ifndef __mlModuleIncludes_H
63 bool isValid()
const {
return _dcmItem.get() !=
nullptr; }
99 for(
size_t i=0; i < treePtrSeq.size(); i++)
134 void setSequence(std::vector<DcmDRTRecordedBlockSequenceInterface::Item> dcmSequence) {
140 std::vector<DcmDRTRecordedBlockSequenceInterface::Item>
getSequence()
const {
180 std::vector<DcmDRTRecordedBlockSequenceInterface::Item>::iterator it =
_itemVec.begin();
181 std::advance(it, idx);
192 std::vector<DcmDRTRecordedBlockSequenceInterface::Item>::iterator it =
_itemVec.begin();
193 std::advance(it, idx);
202 std::vector<DcmDRTRecordedBlockSequenceInterface::Item>
_itemVec;
#define MLDCMTKACCESSORIES_EXPORT
bool setBlockName(std::string parameter)
bool setAccessoryCode(std::string parameter)
bool getBlockName(std::string ¶meter) const
DCMTree::TreePtr getTreePtr() const
bool getAccessoryCode(std::string ¶meter) const
Item & operator=(const Item ©DcmItem)
std::string getBlockNameTag() const
bool setBlockTrayID(std::string parameter)
bool setReferencedBlockNumber(std::string parameter)
Item(DCMTree::TreePtr dcmItem)
Item(const Item ©DcmItem)
std::string getBlockTrayIDTag() const
bool getReferencedBlockNumber(std::string ¶meter) const
bool getBlockTrayID(std::string ¶meter) const
std::string getAccessoryCodeTag() const
std::string getReferencedBlockNumberTag() const
DcmDRTRecordedBlockSequenceInterface(DCMTree::TreePtrVector treePtrSeq)
bool getAccessoryCode(DCMTree::TreePtr item, std::string ¶meter) const
std::vector< DcmDRTRecordedBlockSequenceInterface::Item > _itemVec
Reference to the wrapped DICOM tree pointer vector.
virtual ~DcmDRTRecordedBlockSequenceInterface()
Default virtual Destructor.
std::string getAccessoryCodeTag() const
DcmDRTRecordedBlockSequenceInterface(std::vector< DcmDRTRecordedBlockSequenceInterface::Item > dcmSequence)
Default Constructor.
bool getReferencedBlockNumber(unsigned long idx, std::string ¶meter) const
bool getBlockName(DCMTree::TreePtr item, std::string ¶meter) const
bool setReferencedBlockNumber(unsigned long idx, std::string parameter)
bool getBlockTrayID(DCMTree::TreePtr item, std::string ¶meter) const
std::string getBlockNameTag() const
bool setAccessoryCode(unsigned long idx, std::string parameter)
bool getReferencedBlockNumber(DCMTree::TreePtr item, std::string ¶meter) const
bool setBlockName(unsigned long idx, std::string parameter)
std::string getReferencedBlockNumberTag() const
void addItem(DcmDRTRecordedBlockSequenceInterface::Item newItem)
bool getBlockTrayID(unsigned long idx, std::string ¶meter) const
DcmDRTRecordedBlockSequenceInterface::Item getItem(const size_t idx) const
std::vector< DcmDRTRecordedBlockSequenceInterface::Item > getSequence() const
void setSequence(std::vector< DcmDRTRecordedBlockSequenceInterface::Item > dcmSequence)
bool removeItem(const size_t idx)
bool setBlockTrayID(unsigned long idx, std::string parameter)
bool getAccessoryCode(unsigned long idx, std::string ¶meter) const
bool insertItem(const size_t idx)
MLint getNumberOfItems() const
DcmDRTRecordedBlockSequenceInterface()
bool getBlockName(unsigned long idx, std::string ¶meter) const
std::string getBlockTrayIDTag() const
DcmDRTRecordedBlockSequenceInterface::Item & addItem()
static DCMTree::TreePtr createNewDicomTree()
Class collecting some DICOM helper functionality explicitly for dcmtk.
std::vector< TreePtr > TreePtrVector
A vector of TreePtr - used for sequences.
boost::shared_ptr< Tree > TreePtr
Shared pointer to a DCMTree::Tree.