23#ifndef __mlDcmDRTTreatmentMachineSequenceInRTTreatmentMachineRecordModuleInterface_H
24#define __mlDcmDRTTreatmentMachineSequenceInRTTreatmentMachineRecordModuleInterface_H
34#ifndef __mlModuleIncludes_H
63 bool isValid()
const {
return _dcmItem.get() !=
nullptr; }
114 for(
size_t i=0; i < treePtrSeq.size(); i++)
167 void setSequence(std::vector<DcmDRTTreatmentMachineSequenceInRTTreatmentMachineRecordModuleInterface::Item> dcmSequence) {
173 std::vector<DcmDRTTreatmentMachineSequenceInRTTreatmentMachineRecordModuleInterface::Item>
getSequence()
const {
213 std::vector<DcmDRTTreatmentMachineSequenceInRTTreatmentMachineRecordModuleInterface::Item>::iterator it =
_itemVec.begin();
214 std::advance(it, idx);
225 std::vector<DcmDRTTreatmentMachineSequenceInRTTreatmentMachineRecordModuleInterface::Item>::iterator it =
_itemVec.begin();
226 std::advance(it, idx);
235 std::vector<DcmDRTTreatmentMachineSequenceInRTTreatmentMachineRecordModuleInterface::Item>
_itemVec;
#define MLDCMTKACCESSORIES_EXPORT
bool getTreatmentMachineName(std::string ¶meter) const
std::string getInstitutionalDepartmentNameTag() const
std::string getDeviceSerialNumberTag() const
std::string getTreatmentMachineNameTag() const
Item & operator=(const Item ©DcmItem)
bool getInstitutionalDepartmentName(std::string ¶meter) const
Item(const Item ©DcmItem)
std::string getManufacturerTag() const
bool getInstitutionName(std::string ¶meter) const
std::string getInstitutionNameTag() const
std::string getManufacturerModelNameTag() const
Item(DCMTree::TreePtr dcmItem)
bool setTreatmentMachineName(std::string parameter)
DCMTree::TreePtr getTreePtr() const
bool setManufacturer(std::string parameter)
bool getDeviceSerialNumber(std::string ¶meter) const
bool getManufacturerModelName(std::string ¶meter) const
bool setInstitutionName(std::string parameter)
bool getManufacturer(std::string ¶meter) const
std::string getInstitutionAddressTag() const
bool setDeviceSerialNumber(std::string parameter)
bool getInstitutionAddress(std::string ¶meter) const
bool setInstitutionalDepartmentName(std::string parameter)
bool setInstitutionAddress(std::string parameter)
bool setManufacturerModelName(std::string parameter)
void setSequence(std::vector< DcmDRTTreatmentMachineSequenceInRTTreatmentMachineRecordModuleInterface::Item > dcmSequence)
bool getInstitutionName(unsigned long idx, std::string ¶meter) const
bool getInstitutionAddress(DCMTree::TreePtr item, std::string ¶meter) const
bool setTreatmentMachineName(unsigned long idx, std::string parameter)
DcmDRTTreatmentMachineSequenceInRTTreatmentMachineRecordModuleInterface(std::vector< DcmDRTTreatmentMachineSequenceInRTTreatmentMachineRecordModuleInterface::Item > dcmSequence)
Default Constructor.
bool setManufacturerModelName(unsigned long idx, std::string parameter)
bool setInstitutionName(unsigned long idx, std::string parameter)
bool getTreatmentMachineName(DCMTree::TreePtr item, std::string ¶meter) const
std::string getInstitutionNameTag() const
bool getDeviceSerialNumber(DCMTree::TreePtr item, std::string ¶meter) const
bool setManufacturer(unsigned long idx, std::string parameter)
std::vector< DcmDRTTreatmentMachineSequenceInRTTreatmentMachineRecordModuleInterface::Item > _itemVec
Reference to the wrapped DICOM tree pointer vector.
bool getDeviceSerialNumber(unsigned long idx, std::string ¶meter) const
bool getInstitutionalDepartmentName(unsigned long idx, std::string ¶meter) const
bool insertItem(const size_t idx)
bool getManufacturerModelName(DCMTree::TreePtr item, std::string ¶meter) const
void addItem(DcmDRTTreatmentMachineSequenceInRTTreatmentMachineRecordModuleInterface::Item newItem)
std::string getManufacturerTag() const
bool removeItem(const size_t idx)
bool getManufacturerModelName(unsigned long idx, std::string ¶meter) const
bool getInstitutionalDepartmentName(DCMTree::TreePtr item, std::string ¶meter) const
DcmDRTTreatmentMachineSequenceInRTTreatmentMachineRecordModuleInterface(DCMTree::TreePtrVector treePtrSeq)
MLint getNumberOfItems() const
bool setInstitutionalDepartmentName(unsigned long idx, std::string parameter)
DcmDRTTreatmentMachineSequenceInRTTreatmentMachineRecordModuleInterface::Item getItem(const size_t idx) const
std::string getDeviceSerialNumberTag() const
bool getManufacturer(unsigned long idx, std::string ¶meter) const
bool getTreatmentMachineName(unsigned long idx, std::string ¶meter) const
std::string getManufacturerModelNameTag() const
DcmDRTTreatmentMachineSequenceInRTTreatmentMachineRecordModuleInterface::Item & addItem()
std::string getInstitutionalDepartmentNameTag() const
virtual ~DcmDRTTreatmentMachineSequenceInRTTreatmentMachineRecordModuleInterface()
Default virtual Destructor.
bool getManufacturer(DCMTree::TreePtr item, std::string ¶meter) const
std::string getTreatmentMachineNameTag() const
bool setDeviceSerialNumber(unsigned long idx, std::string parameter)
bool getInstitutionAddress(unsigned long idx, std::string ¶meter) const
std::vector< DcmDRTTreatmentMachineSequenceInRTTreatmentMachineRecordModuleInterface::Item > getSequence() const
bool getInstitutionName(DCMTree::TreePtr item, std::string ¶meter) const
bool setInstitutionAddress(unsigned long idx, std::string parameter)
std::string getInstitutionAddressTag() const
DcmDRTTreatmentMachineSequenceInRTTreatmentMachineRecordModuleInterface()
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.