23#ifndef __mlDcmDRTSetupDeviceSequenceInterface_H
24#define __mlDcmDRTSetupDeviceSequenceInterface_H
34#ifndef __mlModuleIncludes_H
63 bool isValid()
const {
return _dcmItem.get() !=
nullptr; }
104 for(
size_t i=0; i < treePtrSeq.size(); i++)
145 void setSequence(std::vector<DcmDRTSetupDeviceSequenceInterface::Item> dcmSequence) {
151 std::vector<DcmDRTSetupDeviceSequenceInterface::Item>
getSequence()
const {
191 std::vector<DcmDRTSetupDeviceSequenceInterface::Item>::iterator it =
_itemVec.begin();
192 std::advance(it, idx);
203 std::vector<DcmDRTSetupDeviceSequenceInterface::Item>::iterator it =
_itemVec.begin();
204 std::advance(it, idx);
213 std::vector<DcmDRTSetupDeviceSequenceInterface::Item>
_itemVec;
#define MLDCMTKACCESSORIES_EXPORT
bool setSetupDeviceParameter(std::string parameter)
bool setSetupDeviceDescription(std::string parameter)
bool setSetupDeviceType(std::string parameter)
bool getSetupDeviceLabel(std::string ¶meter) const
bool setSetupDeviceLabel(std::string parameter)
bool getSetupDeviceType(std::string ¶meter) const
bool getSetupDeviceDescription(std::string ¶meter) const
std::string getSetupDeviceLabelTag() const
Item(const Item ©DcmItem)
bool getSetupDeviceParameter(std::string ¶meter) const
bool getSetupReferenceDescription(std::string ¶meter) const
std::string getSetupDeviceParameterTag() const
Item(DCMTree::TreePtr dcmItem)
std::string getSetupDeviceTypeTag() const
DCMTree::TreePtr getTreePtr() const
bool setSetupReferenceDescription(std::string parameter)
std::string getSetupReferenceDescriptionTag() const
std::string getSetupDeviceDescriptionTag() const
Item & operator=(const Item ©DcmItem)
bool setSetupDeviceType(unsigned long idx, std::string parameter)
bool getSetupDeviceParameter(unsigned long idx, std::string ¶meter) const
std::string getSetupDeviceLabelTag() const
bool getSetupDeviceDescription(DCMTree::TreePtr item, std::string ¶meter) const
void addItem(DcmDRTSetupDeviceSequenceInterface::Item newItem)
bool getSetupDeviceDescription(unsigned long idx, std::string ¶meter) const
bool getSetupReferenceDescription(DCMTree::TreePtr item, std::string ¶meter) const
bool getSetupDeviceType(DCMTree::TreePtr item, std::string ¶meter) const
DcmDRTSetupDeviceSequenceInterface(std::vector< DcmDRTSetupDeviceSequenceInterface::Item > dcmSequence)
Default Constructor.
bool getSetupDeviceLabel(unsigned long idx, std::string ¶meter) const
bool setSetupDeviceLabel(unsigned long idx, std::string parameter)
std::string getSetupDeviceDescriptionTag() const
void setSequence(std::vector< DcmDRTSetupDeviceSequenceInterface::Item > dcmSequence)
DcmDRTSetupDeviceSequenceInterface(DCMTree::TreePtrVector treePtrSeq)
DcmDRTSetupDeviceSequenceInterface::Item & addItem()
std::string getSetupReferenceDescriptionTag() const
bool getSetupReferenceDescription(unsigned long idx, std::string ¶meter) const
bool removeItem(const size_t idx)
bool setSetupReferenceDescription(unsigned long idx, std::string parameter)
std::string getSetupDeviceParameterTag() const
std::string getSetupDeviceTypeTag() const
MLint getNumberOfItems() const
bool insertItem(const size_t idx)
std::vector< DcmDRTSetupDeviceSequenceInterface::Item > getSequence() const
bool getSetupDeviceType(unsigned long idx, std::string ¶meter) const
bool setSetupDeviceDescription(unsigned long idx, std::string parameter)
virtual ~DcmDRTSetupDeviceSequenceInterface()
Default virtual Destructor.
std::vector< DcmDRTSetupDeviceSequenceInterface::Item > _itemVec
Reference to the wrapped DICOM tree pointer vector.
bool setSetupDeviceParameter(unsigned long idx, std::string parameter)
DcmDRTSetupDeviceSequenceInterface()
DcmDRTSetupDeviceSequenceInterface::Item getItem(const size_t idx) const
bool getSetupDeviceParameter(DCMTree::TreePtr item, std::string ¶meter) const
bool getSetupDeviceLabel(DCMTree::TreePtr item, std::string ¶meter) const
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.