23#ifndef __mlDcmDRTTreatmentMachineSequenceInRTTreatmentMachineRecordModuleInterface_H 
   24#define __mlDcmDRTTreatmentMachineSequenceInRTTreatmentMachineRecordModuleInterface_H 
   34#ifndef __mlModuleIncludes_H 
   51      Item() { _dcmItem = DcmtkAccessories::createNewDicomTree(); }
 
   63      bool isValid()
 const { 
return _dcmItem.get() != 
nullptr; }
 
 
  167    void setSequence(std::vector<DcmDRTTreatmentMachineSequenceInRTTreatmentMachineRecordModuleInterface::Item> 
dcmSequence) {
 
 
  173    std::vector<DcmDRTTreatmentMachineSequenceInRTTreatmentMachineRecordModuleInterface::Item> 
getSequence()
 const {
 
 
  180      return (_itemVec.size() != 0);
 
 
  186      return static_cast<MLint>(_itemVec.size());
 
 
  192      if (_itemVec.size() > 
idx) {
 
  193        return _itemVec[
idx];
 
 
  202      return _itemVec[_itemVec.size()-1];
 
 
  212      if (_itemVec.size() > 
idx) {
 
  213        std::vector<DcmDRTTreatmentMachineSequenceInRTTreatmentMachineRecordModuleInterface::Item>::iterator 
it =  _itemVec.begin();
 
  214        std::advance(
it, 
idx);
 
 
  224      if ( _itemVec.size() > 
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)
 
Class to provide access to DRTTreatmentMachineSequenceInRTTreatmentMachineRecordModule.
 
void setSequence(std::vector< DcmDRTTreatmentMachineSequenceInRTTreatmentMachineRecordModuleInterface::Item > dcmSequence)
Set the DRTTreatmentMachineSequenceInRTTreatmentMachineRecordModule this interface class provides acc...
 
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 hasSequence() const
Check if the DRTTreatmentMachineSequenceInRTTreatmentMachineRecordModule is set.
 
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)
Insert an item at the indicated position.
 
bool getManufacturerModelName(DCMTree::TreePtr item, std::string ¶meter) const
 
void addItem(DcmDRTTreatmentMachineSequenceInRTTreatmentMachineRecordModuleInterface::Item newItem)
 
std::string getManufacturerTag() const
 
bool removeItem(const size_t idx)
Removes the indicated item from the sequence.
 
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
Return number of items the internal sequence consists of.
 
bool setInstitutionalDepartmentName(unsigned long idx, std::string parameter)
 
DcmDRTTreatmentMachineSequenceInRTTreatmentMachineRecordModuleInterface::Item getItem(const size_t idx) const
Gets the item at the indicated position.
 
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()
Adds a new item to the sequence.
 
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
Return the DRTTreatmentMachineSequenceInRTTreatmentMachineRecordModule this interface class provides ...
 
bool getInstitutionName(DCMTree::TreePtr item, std::string ¶meter) const
 
bool setInstitutionAddress(unsigned long idx, std::string parameter)
 
std::string getInstitutionAddressTag() const
 
DcmDRTTreatmentMachineSequenceInRTTreatmentMachineRecordModuleInterface()
 
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.