MeVisLab Toolbox Reference
ml::DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface Class Reference

Class to provide access to DRTTreatmentSummaryCalculatedDoseReferenceSequence. More...

#include <mlDcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface.h>

Classes

class  Item
 

Public Member Functions

 DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface ()
 
 DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface (std::vector< DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::Item > dcmSequence)
 Default Constructor.
 
 DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface (DCMTree::TreePtrVector treePtrSeq)
 
virtual ~DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface ()
 Default virtual Destructor.
 
bool getCumulativeDoseToDoseReference (unsigned long idx, std::string &parameter) const
 
bool getCumulativeDoseToDoseReference (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getCumulativeDoseToDoseReferenceTag () const
 
bool setCumulativeDoseToDoseReference (unsigned long idx, std::string parameter)
 
bool getDoseReferenceDescription (unsigned long idx, std::string &parameter) const
 
bool getDoseReferenceDescription (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getDoseReferenceDescriptionTag () const
 
bool setDoseReferenceDescription (unsigned long idx, std::string parameter)
 
bool getReferencedDoseReferenceNumber (unsigned long idx, std::string &parameter) const
 
bool getReferencedDoseReferenceNumber (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getReferencedDoseReferenceNumberTag () const
 
bool setReferencedDoseReferenceNumber (unsigned long idx, std::string parameter)
 
void setSequence (std::vector< DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::Item > dcmSequence)
 Set the DRTTreatmentSummaryCalculatedDoseReferenceSequence this interface class provides access to.
 
std::vector< DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::ItemgetSequence () const
 Return the DRTTreatmentSummaryCalculatedDoseReferenceSequence this interface class provides access to.
 
bool hasSequence () const
 Check if the DRTTreatmentSummaryCalculatedDoseReferenceSequence is set.
 
MLint getNumberOfItems () const
 Return number of items the internal sequence consists of.
 
DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::Item getItem (const size_t idx) const
 Gets the item at the indicated position.
 
DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::ItemaddItem ()
 Adds a new item to the sequence.
 
void addItem (DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::Item newItem)
 
bool insertItem (const size_t idx)
 Insert an item at the indicated position.
 
bool removeItem (const size_t idx)
 Removes the indicated item from the sequence.
 

Protected Attributes

std::vector< DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::Item_itemVec
 Reference to the wrapped DICOM tree pointer vector.
 

Detailed Description

Class to provide access to DRTTreatmentSummaryCalculatedDoseReferenceSequence.

Definition at line 43 of file mlDcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface.h.

Constructor & Destructor Documentation

◆ DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface() [1/3]

ml::DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface ( )
inline

◆ DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface() [2/3]

ml::DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface ( std::vector< DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::Item > dcmSequence)
inline

Default Constructor.

Definition at line 91 of file mlDcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface.h.

◆ DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface() [3/3]

ml::DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface ( DCMTree::TreePtrVector treePtrSeq)
inline

◆ ~DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface()

virtual ml::DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::~DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface ( )
inlinevirtual

Default virtual Destructor.

Definition at line 101 of file mlDcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface.h.

Member Function Documentation

◆ addItem() [1/2]

DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::Item & ml::DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::addItem ( )
inline

Adds a new item to the sequence.

Returns
Return the new item which has been added to the sequence

Definition at line 156 of file mlDcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface.h.

◆ addItem() [2/2]

void ml::DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::addItem ( DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::Item newItem)
inline

◆ getCumulativeDoseToDoseReference() [1/2]

bool ml::DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::getCumulativeDoseToDoseReference ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getCumulativeDoseToDoseReference() [2/2]

bool ml::DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::getCumulativeDoseToDoseReference ( unsigned long idx,
std::string & parameter ) const

◆ getCumulativeDoseToDoseReferenceTag()

std::string ml::DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::getCumulativeDoseToDoseReferenceTag ( ) const
inline

◆ getDoseReferenceDescription() [1/2]

bool ml::DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::getDoseReferenceDescription ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getDoseReferenceDescription() [2/2]

bool ml::DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::getDoseReferenceDescription ( unsigned long idx,
std::string & parameter ) const

◆ getDoseReferenceDescriptionTag()

std::string ml::DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::getDoseReferenceDescriptionTag ( ) const
inline

◆ getItem()

DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::Item ml::DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::getItem ( const size_t idx) const
inline

Gets the item at the indicated position.

Returns
The requested item, an empty item when the position is invalid

Definition at line 147 of file mlDcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface.h.

References mlrange_cast().

◆ getNumberOfItems()

MLint ml::DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::getNumberOfItems ( ) const
inline

Return number of items the internal sequence consists of.

Returns
Number of items of internal sequence, 0 if internal sequence is NULL.

Definition at line 141 of file mlDcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface.h.

◆ getReferencedDoseReferenceNumber() [1/2]

bool ml::DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::getReferencedDoseReferenceNumber ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getReferencedDoseReferenceNumber() [2/2]

bool ml::DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::getReferencedDoseReferenceNumber ( unsigned long idx,
std::string & parameter ) const

◆ getReferencedDoseReferenceNumberTag()

std::string ml::DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::getReferencedDoseReferenceNumberTag ( ) const
inline

◆ getSequence()

std::vector< DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::Item > ml::DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::getSequence ( ) const
inline

Return the DRTTreatmentSummaryCalculatedDoseReferenceSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTTreatmentSummaryCalculatedDoseReferenceSequence

Definition at line 129 of file mlDcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface.h.

Referenced by DRTTreatmentSummaryCalculatedDoseReferenceSequenceItemWrapper::DRTTreatmentSummaryCalculatedDoseReferenceSequenceItemWrapper(), and DRTTreatmentSummaryCalculatedDoseReferenceSequenceItemWrapper::operator=().

◆ hasSequence()

bool ml::DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::hasSequence ( ) const
inline

Check if the DRTTreatmentSummaryCalculatedDoseReferenceSequence is set.

Returns
True if internal pointer is set, False else.

Definition at line 135 of file mlDcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface.h.

◆ insertItem()

bool ml::DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::insertItem ( const size_t idx)
inline

Insert an item at the indicated position.

Returns
true is the insertion was successful, false if position is invalid

Definition at line 167 of file mlDcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface.h.

References mlrange_cast().

◆ removeItem()

bool ml::DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::removeItem ( const size_t idx)
inline

Removes the indicated item from the sequence.

Returns
true if the item was deleted successfully, false if the indicated position is invalid

Definition at line 179 of file mlDcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface.h.

References mlrange_cast().

◆ setCumulativeDoseToDoseReference()

bool ml::DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::setCumulativeDoseToDoseReference ( unsigned long idx,
std::string parameter )

◆ setDoseReferenceDescription()

bool ml::DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::setDoseReferenceDescription ( unsigned long idx,
std::string parameter )

◆ setReferencedDoseReferenceNumber()

bool ml::DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::setReferencedDoseReferenceNumber ( unsigned long idx,
std::string parameter )

◆ setSequence()

void ml::DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::setSequence ( std::vector< DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::Item > dcmSequence)
inline

Set the DRTTreatmentSummaryCalculatedDoseReferenceSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTTreatmentSummaryCalculatedDoseReferenceSequence

Definition at line 123 of file mlDcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface.h.

References mlrange_cast().

Referenced by DRTTreatmentSummaryCalculatedDoseReferenceSequenceWrapper::DRTTreatmentSummaryCalculatedDoseReferenceSequenceWrapper(), and DRTTreatmentSummaryCalculatedDoseReferenceSequenceWrapper::operator=().

Member Data Documentation

◆ _itemVec

std::vector<DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::Item> ml::DcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface::_itemVec
protected

Reference to the wrapped DICOM tree pointer vector.

Definition at line 191 of file mlDcmDRTTreatmentSummaryCalculatedDoseReferenceSequenceInterface.h.


The documentation for this class was generated from the following file: