MeVisLab Toolbox Reference
ml::DcmDRTDVHReferencedROISequenceInterface Class Reference

Class to provide access to DRTDVHReferencedROISequence. More...

#include <mlDcmDRTDVHReferencedROISequenceInterface.h>

Classes

class  Item
 

Public Member Functions

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

Detailed Description

Class to provide access to DRTDVHReferencedROISequence.

Definition at line 43 of file mlDcmDRTDVHReferencedROISequenceInterface.h.

Constructor & Destructor Documentation

◆ DcmDRTDVHReferencedROISequenceInterface() [1/3]

ml::DcmDRTDVHReferencedROISequenceInterface::DcmDRTDVHReferencedROISequenceInterface ( )
inline

Definition at line 83 of file mlDcmDRTDVHReferencedROISequenceInterface.h.

◆ DcmDRTDVHReferencedROISequenceInterface() [2/3]

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

Default Constructor.

Definition at line 86 of file mlDcmDRTDVHReferencedROISequenceInterface.h.

◆ DcmDRTDVHReferencedROISequenceInterface() [3/3]

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

Definition at line 88 of file mlDcmDRTDVHReferencedROISequenceInterface.h.

References mlrange_cast().

◆ ~DcmDRTDVHReferencedROISequenceInterface()

virtual ml::DcmDRTDVHReferencedROISequenceInterface::~DcmDRTDVHReferencedROISequenceInterface ( )
inlinevirtual

Default virtual Destructor.

Definition at line 96 of file mlDcmDRTDVHReferencedROISequenceInterface.h.

Member Function Documentation

◆ addItem() [1/2]

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

Adds a new item to the sequence.

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

Definition at line 145 of file mlDcmDRTDVHReferencedROISequenceInterface.h.

◆ addItem() [2/2]

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

Definition at line 150 of file mlDcmDRTDVHReferencedROISequenceInterface.h.

References mlrange_cast().

◆ getDVHROIContributionType() [1/2]

bool ml::DcmDRTDVHReferencedROISequenceInterface::getDVHROIContributionType ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getDVHROIContributionType() [2/2]

bool ml::DcmDRTDVHReferencedROISequenceInterface::getDVHROIContributionType ( unsigned long idx,
std::string & parameter ) const

◆ getDVHROIContributionTypeTag()

std::string ml::DcmDRTDVHReferencedROISequenceInterface::getDVHROIContributionTypeTag ( ) const
inline

◆ getItem()

DcmDRTDVHReferencedROISequenceInterface::Item ml::DcmDRTDVHReferencedROISequenceInterface::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 136 of file mlDcmDRTDVHReferencedROISequenceInterface.h.

References mlrange_cast().

◆ getNumberOfItems()

MLint ml::DcmDRTDVHReferencedROISequenceInterface::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 130 of file mlDcmDRTDVHReferencedROISequenceInterface.h.

◆ getReferencedROINumber() [1/2]

bool ml::DcmDRTDVHReferencedROISequenceInterface::getReferencedROINumber ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getReferencedROINumber() [2/2]

bool ml::DcmDRTDVHReferencedROISequenceInterface::getReferencedROINumber ( unsigned long idx,
std::string & parameter ) const

◆ getReferencedROINumberTag()

std::string ml::DcmDRTDVHReferencedROISequenceInterface::getReferencedROINumberTag ( ) const
inline

◆ getSequence()

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

Return the DRTDVHReferencedROISequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTDVHReferencedROISequence

Definition at line 118 of file mlDcmDRTDVHReferencedROISequenceInterface.h.

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

◆ hasSequence()

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

Check if the DRTDVHReferencedROISequence is set.

Returns
True if internal pointer is set, False else.

Definition at line 124 of file mlDcmDRTDVHReferencedROISequenceInterface.h.

◆ insertItem()

bool ml::DcmDRTDVHReferencedROISequenceInterface::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 156 of file mlDcmDRTDVHReferencedROISequenceInterface.h.

References mlrange_cast().

◆ removeItem()

bool ml::DcmDRTDVHReferencedROISequenceInterface::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 168 of file mlDcmDRTDVHReferencedROISequenceInterface.h.

References mlrange_cast().

◆ setDVHROIContributionType()

bool ml::DcmDRTDVHReferencedROISequenceInterface::setDVHROIContributionType ( unsigned long idx,
std::string parameter )

◆ setReferencedROINumber()

bool ml::DcmDRTDVHReferencedROISequenceInterface::setReferencedROINumber ( unsigned long idx,
std::string parameter )

◆ setSequence()

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

Set the DRTDVHReferencedROISequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTDVHReferencedROISequence

Definition at line 112 of file mlDcmDRTDVHReferencedROISequenceInterface.h.

References mlrange_cast().

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

Member Data Documentation

◆ _itemVec

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

Reference to the wrapped DICOM tree pointer vector.

Definition at line 180 of file mlDcmDRTDVHReferencedROISequenceInterface.h.


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