MeVisLab Toolbox Reference
ml::DcmDRTReferencedCalculatedDoseReferenceSequenceInterface Class Reference

Class to provide access to DRTReferencedCalculatedDoseReferenceSequence. More...

#include <mlDcmDRTReferencedCalculatedDoseReferenceSequenceInterface.h>

Classes

class  Item
 

Public Member Functions

 DcmDRTReferencedCalculatedDoseReferenceSequenceInterface ()
 
 DcmDRTReferencedCalculatedDoseReferenceSequenceInterface (std::vector< DcmDRTReferencedCalculatedDoseReferenceSequenceInterface::Item > dcmSequence)
 Default Constructor.
 
 DcmDRTReferencedCalculatedDoseReferenceSequenceInterface (DCMTree::TreePtrVector treePtrSeq)
 
virtual ~DcmDRTReferencedCalculatedDoseReferenceSequenceInterface ()
 Default virtual Destructor.
 
bool getCalculatedDoseReferenceDoseValue (unsigned long idx, std::string &parameter) const
 
bool getCalculatedDoseReferenceDoseValue (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getCalculatedDoseReferenceDoseValueTag () const
 
bool setCalculatedDoseReferenceDoseValue (unsigned long idx, std::string parameter)
 
bool getReferencedCalculatedDoseReferenceNumber (unsigned long idx, std::string &parameter) const
 
bool getReferencedCalculatedDoseReferenceNumber (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getReferencedCalculatedDoseReferenceNumberTag () const
 
bool setReferencedCalculatedDoseReferenceNumber (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< DcmDRTReferencedCalculatedDoseReferenceSequenceInterface::Item > dcmSequence)
 Set the DRTReferencedCalculatedDoseReferenceSequence this interface class provides access to.
 
std::vector< DcmDRTReferencedCalculatedDoseReferenceSequenceInterface::ItemgetSequence () const
 Return the DRTReferencedCalculatedDoseReferenceSequence this interface class provides access to.
 
bool hasSequence () const
 Check if the DRTReferencedCalculatedDoseReferenceSequence is set.
 
MLint getNumberOfItems () const
 Return number of items the internal sequence consists of.
 
DcmDRTReferencedCalculatedDoseReferenceSequenceInterface::Item getItem (const size_t idx) const
 Gets the item at the indicated position.
 
DcmDRTReferencedCalculatedDoseReferenceSequenceInterface::ItemaddItem ()
 Adds a new item to the sequence.
 
void addItem (DcmDRTReferencedCalculatedDoseReferenceSequenceInterface::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< DcmDRTReferencedCalculatedDoseReferenceSequenceInterface::Item_itemVec
 Reference to the wrapped DICOM tree pointer vector.
 

Detailed Description

Class to provide access to DRTReferencedCalculatedDoseReferenceSequence.

Definition at line 43 of file mlDcmDRTReferencedCalculatedDoseReferenceSequenceInterface.h.

Constructor & Destructor Documentation

◆ DcmDRTReferencedCalculatedDoseReferenceSequenceInterface() [1/3]

ml::DcmDRTReferencedCalculatedDoseReferenceSequenceInterface::DcmDRTReferencedCalculatedDoseReferenceSequenceInterface ( )
inline

◆ DcmDRTReferencedCalculatedDoseReferenceSequenceInterface() [2/3]

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

Default Constructor.

Definition at line 91 of file mlDcmDRTReferencedCalculatedDoseReferenceSequenceInterface.h.

◆ DcmDRTReferencedCalculatedDoseReferenceSequenceInterface() [3/3]

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

◆ ~DcmDRTReferencedCalculatedDoseReferenceSequenceInterface()

virtual ml::DcmDRTReferencedCalculatedDoseReferenceSequenceInterface::~DcmDRTReferencedCalculatedDoseReferenceSequenceInterface ( )
inlinevirtual

Default virtual Destructor.

Definition at line 101 of file mlDcmDRTReferencedCalculatedDoseReferenceSequenceInterface.h.

Member Function Documentation

◆ addItem() [1/2]

DcmDRTReferencedCalculatedDoseReferenceSequenceInterface::Item & ml::DcmDRTReferencedCalculatedDoseReferenceSequenceInterface::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 mlDcmDRTReferencedCalculatedDoseReferenceSequenceInterface.h.

◆ addItem() [2/2]

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

◆ getCalculatedDoseReferenceDoseValue() [1/2]

bool ml::DcmDRTReferencedCalculatedDoseReferenceSequenceInterface::getCalculatedDoseReferenceDoseValue ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getCalculatedDoseReferenceDoseValue() [2/2]

bool ml::DcmDRTReferencedCalculatedDoseReferenceSequenceInterface::getCalculatedDoseReferenceDoseValue ( unsigned long idx,
std::string & parameter ) const

◆ getCalculatedDoseReferenceDoseValueTag()

std::string ml::DcmDRTReferencedCalculatedDoseReferenceSequenceInterface::getCalculatedDoseReferenceDoseValueTag ( ) const
inline

◆ getItem()

DcmDRTReferencedCalculatedDoseReferenceSequenceInterface::Item ml::DcmDRTReferencedCalculatedDoseReferenceSequenceInterface::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 mlDcmDRTReferencedCalculatedDoseReferenceSequenceInterface.h.

References mlrange_cast().

◆ getNumberOfItems()

MLint ml::DcmDRTReferencedCalculatedDoseReferenceSequenceInterface::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 mlDcmDRTReferencedCalculatedDoseReferenceSequenceInterface.h.

◆ getReferencedCalculatedDoseReferenceNumber() [1/2]

bool ml::DcmDRTReferencedCalculatedDoseReferenceSequenceInterface::getReferencedCalculatedDoseReferenceNumber ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getReferencedCalculatedDoseReferenceNumber() [2/2]

bool ml::DcmDRTReferencedCalculatedDoseReferenceSequenceInterface::getReferencedCalculatedDoseReferenceNumber ( unsigned long idx,
std::string & parameter ) const

◆ getReferencedCalculatedDoseReferenceNumberTag()

std::string ml::DcmDRTReferencedCalculatedDoseReferenceSequenceInterface::getReferencedCalculatedDoseReferenceNumberTag ( ) const
inline

◆ getReferencedDoseReferenceNumber() [1/2]

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

◆ getReferencedDoseReferenceNumber() [2/2]

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

◆ getReferencedDoseReferenceNumberTag()

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

◆ getSequence()

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

Return the DRTReferencedCalculatedDoseReferenceSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTReferencedCalculatedDoseReferenceSequence

Definition at line 129 of file mlDcmDRTReferencedCalculatedDoseReferenceSequenceInterface.h.

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

◆ hasSequence()

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

Check if the DRTReferencedCalculatedDoseReferenceSequence is set.

Returns
True if internal pointer is set, False else.

Definition at line 135 of file mlDcmDRTReferencedCalculatedDoseReferenceSequenceInterface.h.

◆ insertItem()

bool ml::DcmDRTReferencedCalculatedDoseReferenceSequenceInterface::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 mlDcmDRTReferencedCalculatedDoseReferenceSequenceInterface.h.

References mlrange_cast().

◆ removeItem()

bool ml::DcmDRTReferencedCalculatedDoseReferenceSequenceInterface::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 mlDcmDRTReferencedCalculatedDoseReferenceSequenceInterface.h.

References mlrange_cast().

◆ setCalculatedDoseReferenceDoseValue()

bool ml::DcmDRTReferencedCalculatedDoseReferenceSequenceInterface::setCalculatedDoseReferenceDoseValue ( unsigned long idx,
std::string parameter )

◆ setReferencedCalculatedDoseReferenceNumber()

bool ml::DcmDRTReferencedCalculatedDoseReferenceSequenceInterface::setReferencedCalculatedDoseReferenceNumber ( unsigned long idx,
std::string parameter )

◆ setReferencedDoseReferenceNumber()

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

◆ setSequence()

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

Set the DRTReferencedCalculatedDoseReferenceSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTReferencedCalculatedDoseReferenceSequence

Definition at line 123 of file mlDcmDRTReferencedCalculatedDoseReferenceSequenceInterface.h.

References mlrange_cast().

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

Member Data Documentation

◆ _itemVec

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

Reference to the wrapped DICOM tree pointer vector.

Definition at line 191 of file mlDcmDRTReferencedCalculatedDoseReferenceSequenceInterface.h.


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