MeVisLab Toolbox Reference
ml::DcmDRTBeamLimitingDeviceToleranceSequenceInterface Class Reference

Class to provide access to DRTBeamLimitingDeviceToleranceSequence. More...

#include <mlDcmDRTBeamLimitingDeviceToleranceSequenceInterface.h>

Classes

class  Item
 

Public Member Functions

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

Detailed Description

Class to provide access to DRTBeamLimitingDeviceToleranceSequence.

Definition at line 43 of file mlDcmDRTBeamLimitingDeviceToleranceSequenceInterface.h.

Constructor & Destructor Documentation

◆ DcmDRTBeamLimitingDeviceToleranceSequenceInterface() [1/3]

ml::DcmDRTBeamLimitingDeviceToleranceSequenceInterface::DcmDRTBeamLimitingDeviceToleranceSequenceInterface ( )
inline

◆ DcmDRTBeamLimitingDeviceToleranceSequenceInterface() [2/3]

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

Default Constructor.

Definition at line 86 of file mlDcmDRTBeamLimitingDeviceToleranceSequenceInterface.h.

◆ DcmDRTBeamLimitingDeviceToleranceSequenceInterface() [3/3]

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

◆ ~DcmDRTBeamLimitingDeviceToleranceSequenceInterface()

virtual ml::DcmDRTBeamLimitingDeviceToleranceSequenceInterface::~DcmDRTBeamLimitingDeviceToleranceSequenceInterface ( )
inlinevirtual

Default virtual Destructor.

Definition at line 96 of file mlDcmDRTBeamLimitingDeviceToleranceSequenceInterface.h.

Member Function Documentation

◆ addItem() [1/2]

DcmDRTBeamLimitingDeviceToleranceSequenceInterface::Item & ml::DcmDRTBeamLimitingDeviceToleranceSequenceInterface::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 mlDcmDRTBeamLimitingDeviceToleranceSequenceInterface.h.

◆ addItem() [2/2]

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

◆ getBeamLimitingDevicePositionTolerance() [1/2]

bool ml::DcmDRTBeamLimitingDeviceToleranceSequenceInterface::getBeamLimitingDevicePositionTolerance ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getBeamLimitingDevicePositionTolerance() [2/2]

bool ml::DcmDRTBeamLimitingDeviceToleranceSequenceInterface::getBeamLimitingDevicePositionTolerance ( unsigned long idx,
std::string & parameter ) const

◆ getBeamLimitingDevicePositionToleranceTag()

std::string ml::DcmDRTBeamLimitingDeviceToleranceSequenceInterface::getBeamLimitingDevicePositionToleranceTag ( ) const
inline

◆ getItem()

DcmDRTBeamLimitingDeviceToleranceSequenceInterface::Item ml::DcmDRTBeamLimitingDeviceToleranceSequenceInterface::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 mlDcmDRTBeamLimitingDeviceToleranceSequenceInterface.h.

References mlrange_cast().

◆ getNumberOfItems()

MLint ml::DcmDRTBeamLimitingDeviceToleranceSequenceInterface::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 mlDcmDRTBeamLimitingDeviceToleranceSequenceInterface.h.

◆ getRTBeamLimitingDeviceType() [1/2]

bool ml::DcmDRTBeamLimitingDeviceToleranceSequenceInterface::getRTBeamLimitingDeviceType ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getRTBeamLimitingDeviceType() [2/2]

bool ml::DcmDRTBeamLimitingDeviceToleranceSequenceInterface::getRTBeamLimitingDeviceType ( unsigned long idx,
std::string & parameter ) const

◆ getRTBeamLimitingDeviceTypeTag()

std::string ml::DcmDRTBeamLimitingDeviceToleranceSequenceInterface::getRTBeamLimitingDeviceTypeTag ( ) const
inline

◆ getSequence()

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

Return the DRTBeamLimitingDeviceToleranceSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTBeamLimitingDeviceToleranceSequence

Definition at line 118 of file mlDcmDRTBeamLimitingDeviceToleranceSequenceInterface.h.

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

◆ hasSequence()

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

Check if the DRTBeamLimitingDeviceToleranceSequence is set.

Returns
True if internal pointer is set, False else.

Definition at line 124 of file mlDcmDRTBeamLimitingDeviceToleranceSequenceInterface.h.

◆ insertItem()

bool ml::DcmDRTBeamLimitingDeviceToleranceSequenceInterface::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 mlDcmDRTBeamLimitingDeviceToleranceSequenceInterface.h.

References mlrange_cast().

◆ removeItem()

bool ml::DcmDRTBeamLimitingDeviceToleranceSequenceInterface::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 mlDcmDRTBeamLimitingDeviceToleranceSequenceInterface.h.

References mlrange_cast().

◆ setBeamLimitingDevicePositionTolerance()

bool ml::DcmDRTBeamLimitingDeviceToleranceSequenceInterface::setBeamLimitingDevicePositionTolerance ( unsigned long idx,
std::string parameter )

◆ setRTBeamLimitingDeviceType()

bool ml::DcmDRTBeamLimitingDeviceToleranceSequenceInterface::setRTBeamLimitingDeviceType ( unsigned long idx,
std::string parameter )

◆ setSequence()

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

Set the DRTBeamLimitingDeviceToleranceSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTBeamLimitingDeviceToleranceSequence

Definition at line 112 of file mlDcmDRTBeamLimitingDeviceToleranceSequenceInterface.h.

References mlrange_cast().

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

Member Data Documentation

◆ _itemVec

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

Reference to the wrapped DICOM tree pointer vector.

Definition at line 180 of file mlDcmDRTBeamLimitingDeviceToleranceSequenceInterface.h.


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