23#ifndef __mlDcmDRTOtherPatientIDsSequenceInterface_H 
   24#define __mlDcmDRTOtherPatientIDsSequenceInterface_H 
   34#ifndef __mlModuleIncludes_H 
   51      Item() { _dcmItem = DcmtkAccessories::createNewDicomTree(); }
 
   63      bool isValid()
 const { 
return _dcmItem.get() != 
nullptr; }
 
 
  129    std::vector<DcmDRTOtherPatientIDsSequenceInterface::Item> 
getSequence()
 const {
 
 
  136      return (_itemVec.size() != 0);
 
 
  142      return static_cast<MLint>(_itemVec.size());
 
 
  148      if (_itemVec.size() > 
idx) {
 
  149        return _itemVec[
idx];
 
 
  158      return _itemVec[_itemVec.size()-1];
 
 
  168      if (_itemVec.size() > 
idx) {
 
  169        std::vector<DcmDRTOtherPatientIDsSequenceInterface::Item>::iterator 
it =  _itemVec.begin();
 
  170        std::advance(
it, 
idx);
 
 
  180      if ( _itemVec.size() > 
idx ) {
 
  181        std::vector<DcmDRTOtherPatientIDsSequenceInterface::Item>::iterator 
it =  _itemVec.begin();
 
  182        std::advance(
it, 
idx);
 
 
  191    std::vector<DcmDRTOtherPatientIDsSequenceInterface::Item> 
_itemVec;
 
 
#define MLDCMTKACCESSORIES_EXPORT
 
Item(DCMTree::TreePtr dcmItem)
 
bool setPatientID(std::string parameter)
 
std::string getTypeOfPatientIDTag() const
 
std::string getIssuerOfPatientIDTag() const
 
bool getTypeOfPatientID(std::string ¶meter) const
 
Item & operator=(const Item ©DcmItem)
 
Item(const Item ©DcmItem)
 
bool setTypeOfPatientID(std::string parameter)
 
bool setIssuerOfPatientID(std::string parameter)
 
std::string getPatientIDTag() const
 
DCMTree::TreePtr getTreePtr() const
 
bool getPatientID(std::string ¶meter) const
 
bool getIssuerOfPatientID(std::string ¶meter) const
 
Class to provide access to DRTOtherPatientIDsSequence.
 
std::vector< DcmDRTOtherPatientIDsSequenceInterface::Item > getSequence() const
Return the DRTOtherPatientIDsSequence this interface class provides access to.
 
DcmDRTOtherPatientIDsSequenceInterface::Item getItem(const size_t idx) const
Gets the item at the indicated position.
 
std::string getIssuerOfPatientIDTag() const
 
std::string getPatientIDTag() const
 
std::vector< DcmDRTOtherPatientIDsSequenceInterface::Item > _itemVec
Reference to the wrapped DICOM tree pointer vector.
 
bool getPatientID(unsigned long idx, std::string ¶meter) const
 
virtual ~DcmDRTOtherPatientIDsSequenceInterface()
Default virtual Destructor.
 
bool getIssuerOfPatientID(DCMTree::TreePtr item, std::string ¶meter) const
 
bool setIssuerOfPatientID(unsigned long idx, std::string parameter)
 
bool getTypeOfPatientID(DCMTree::TreePtr item, std::string ¶meter) const
 
bool getIssuerOfPatientID(unsigned long idx, std::string ¶meter) const
 
bool getTypeOfPatientID(unsigned long idx, std::string ¶meter) const
 
DcmDRTOtherPatientIDsSequenceInterface(std::vector< DcmDRTOtherPatientIDsSequenceInterface::Item > dcmSequence)
Default Constructor.
 
bool setPatientID(unsigned long idx, std::string parameter)
 
bool hasSequence() const
Check if the DRTOtherPatientIDsSequence is set.
 
void addItem(DcmDRTOtherPatientIDsSequenceInterface::Item newItem)
 
void setSequence(std::vector< DcmDRTOtherPatientIDsSequenceInterface::Item > dcmSequence)
Set the DRTOtherPatientIDsSequence this interface class provides access to.
 
DcmDRTOtherPatientIDsSequenceInterface(DCMTree::TreePtrVector treePtrSeq)
 
bool getPatientID(DCMTree::TreePtr item, std::string ¶meter) const
 
bool removeItem(const size_t idx)
Removes the indicated item from the sequence.
 
bool setTypeOfPatientID(unsigned long idx, std::string parameter)
 
bool insertItem(const size_t idx)
Insert an item at the indicated position.
 
DcmDRTOtherPatientIDsSequenceInterface()
 
MLint getNumberOfItems() const
Return number of items the internal sequence consists of.
 
DcmDRTOtherPatientIDsSequenceInterface::Item & addItem()
Adds a new item to the sequence.
 
std::string getTypeOfPatientIDTag() const
 
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.