MeVisLab Toolbox Reference
ml::DcmDRTLateralSpreadingDeviceSequenceInterface Class Reference

Class to provide access to DRTLateralSpreadingDeviceSequence. More...

#include <mlDcmDRTLateralSpreadingDeviceSequenceInterface.h>

Classes

class  Item
 

Public Member Functions

 DcmDRTLateralSpreadingDeviceSequenceInterface ()
 
 DcmDRTLateralSpreadingDeviceSequenceInterface (std::vector< DcmDRTLateralSpreadingDeviceSequenceInterface::Item > dcmSequence)
 Default Constructor.
 
 DcmDRTLateralSpreadingDeviceSequenceInterface (DCMTree::TreePtrVector treePtrSeq)
 
virtual ~DcmDRTLateralSpreadingDeviceSequenceInterface ()
 Default virtual Destructor.
 
bool getAccessoryCode (unsigned long idx, std::string &parameter) const
 
bool getAccessoryCode (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getAccessoryCodeTag () const
 
bool setAccessoryCode (unsigned long idx, std::string parameter)
 
bool getLateralSpreadingDeviceDescription (unsigned long idx, std::string &parameter) const
 
bool getLateralSpreadingDeviceDescription (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getLateralSpreadingDeviceDescriptionTag () const
 
bool setLateralSpreadingDeviceDescription (unsigned long idx, std::string parameter)
 
bool getLateralSpreadingDeviceID (unsigned long idx, std::string &parameter) const
 
bool getLateralSpreadingDeviceID (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getLateralSpreadingDeviceIDTag () const
 
bool setLateralSpreadingDeviceID (unsigned long idx, std::string parameter)
 
bool getLateralSpreadingDeviceNumber (unsigned long idx, std::string &parameter) const
 
bool getLateralSpreadingDeviceNumber (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getLateralSpreadingDeviceNumberTag () const
 
bool setLateralSpreadingDeviceNumber (unsigned long idx, std::string parameter)
 
bool getLateralSpreadingDeviceType (unsigned long idx, std::string &parameter) const
 
bool getLateralSpreadingDeviceType (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getLateralSpreadingDeviceTypeTag () const
 
bool setLateralSpreadingDeviceType (unsigned long idx, std::string parameter)
 
void setSequence (std::vector< DcmDRTLateralSpreadingDeviceSequenceInterface::Item > dcmSequence)
 Set the DRTLateralSpreadingDeviceSequence this interface class provides access to.
 
std::vector< DcmDRTLateralSpreadingDeviceSequenceInterface::ItemgetSequence () const
 Return the DRTLateralSpreadingDeviceSequence this interface class provides access to.
 
bool hasSequence () const
 Check if the DRTLateralSpreadingDeviceSequence is set.
 
MLint getNumberOfItems () const
 Return number of items the internal sequence consists of.
 
DcmDRTLateralSpreadingDeviceSequenceInterface::Item getItem (const size_t idx) const
 Gets the item at the indicated position.
 
DcmDRTLateralSpreadingDeviceSequenceInterface::ItemaddItem ()
 Adds a new item to the sequence.
 
void addItem (DcmDRTLateralSpreadingDeviceSequenceInterface::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< DcmDRTLateralSpreadingDeviceSequenceInterface::Item_itemVec
 Reference to the wrapped DICOM tree pointer vector.
 

Detailed Description

Class to provide access to DRTLateralSpreadingDeviceSequence.

Definition at line 43 of file mlDcmDRTLateralSpreadingDeviceSequenceInterface.h.

Constructor & Destructor Documentation

◆ DcmDRTLateralSpreadingDeviceSequenceInterface() [1/3]

ml::DcmDRTLateralSpreadingDeviceSequenceInterface::DcmDRTLateralSpreadingDeviceSequenceInterface ( )
inline

◆ DcmDRTLateralSpreadingDeviceSequenceInterface() [2/3]

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

Default Constructor.

Definition at line 101 of file mlDcmDRTLateralSpreadingDeviceSequenceInterface.h.

◆ DcmDRTLateralSpreadingDeviceSequenceInterface() [3/3]

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

Definition at line 103 of file mlDcmDRTLateralSpreadingDeviceSequenceInterface.h.

References mlrange_cast().

◆ ~DcmDRTLateralSpreadingDeviceSequenceInterface()

virtual ml::DcmDRTLateralSpreadingDeviceSequenceInterface::~DcmDRTLateralSpreadingDeviceSequenceInterface ( )
inlinevirtual

Default virtual Destructor.

Definition at line 111 of file mlDcmDRTLateralSpreadingDeviceSequenceInterface.h.

Member Function Documentation

◆ addItem() [1/2]

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

Adds a new item to the sequence.

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

Definition at line 178 of file mlDcmDRTLateralSpreadingDeviceSequenceInterface.h.

◆ addItem() [2/2]

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

Definition at line 183 of file mlDcmDRTLateralSpreadingDeviceSequenceInterface.h.

References mlrange_cast().

◆ getAccessoryCode() [1/2]

bool ml::DcmDRTLateralSpreadingDeviceSequenceInterface::getAccessoryCode ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getAccessoryCode() [2/2]

bool ml::DcmDRTLateralSpreadingDeviceSequenceInterface::getAccessoryCode ( unsigned long idx,
std::string & parameter ) const

◆ getAccessoryCodeTag()

std::string ml::DcmDRTLateralSpreadingDeviceSequenceInterface::getAccessoryCodeTag ( ) const
inline

◆ getItem()

DcmDRTLateralSpreadingDeviceSequenceInterface::Item ml::DcmDRTLateralSpreadingDeviceSequenceInterface::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 169 of file mlDcmDRTLateralSpreadingDeviceSequenceInterface.h.

References mlrange_cast().

◆ getLateralSpreadingDeviceDescription() [1/2]

bool ml::DcmDRTLateralSpreadingDeviceSequenceInterface::getLateralSpreadingDeviceDescription ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getLateralSpreadingDeviceDescription() [2/2]

bool ml::DcmDRTLateralSpreadingDeviceSequenceInterface::getLateralSpreadingDeviceDescription ( unsigned long idx,
std::string & parameter ) const

◆ getLateralSpreadingDeviceDescriptionTag()

std::string ml::DcmDRTLateralSpreadingDeviceSequenceInterface::getLateralSpreadingDeviceDescriptionTag ( ) const
inline

◆ getLateralSpreadingDeviceID() [1/2]

bool ml::DcmDRTLateralSpreadingDeviceSequenceInterface::getLateralSpreadingDeviceID ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getLateralSpreadingDeviceID() [2/2]

bool ml::DcmDRTLateralSpreadingDeviceSequenceInterface::getLateralSpreadingDeviceID ( unsigned long idx,
std::string & parameter ) const

◆ getLateralSpreadingDeviceIDTag()

std::string ml::DcmDRTLateralSpreadingDeviceSequenceInterface::getLateralSpreadingDeviceIDTag ( ) const
inline

◆ getLateralSpreadingDeviceNumber() [1/2]

bool ml::DcmDRTLateralSpreadingDeviceSequenceInterface::getLateralSpreadingDeviceNumber ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getLateralSpreadingDeviceNumber() [2/2]

bool ml::DcmDRTLateralSpreadingDeviceSequenceInterface::getLateralSpreadingDeviceNumber ( unsigned long idx,
std::string & parameter ) const

◆ getLateralSpreadingDeviceNumberTag()

std::string ml::DcmDRTLateralSpreadingDeviceSequenceInterface::getLateralSpreadingDeviceNumberTag ( ) const
inline

◆ getLateralSpreadingDeviceType() [1/2]

bool ml::DcmDRTLateralSpreadingDeviceSequenceInterface::getLateralSpreadingDeviceType ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getLateralSpreadingDeviceType() [2/2]

bool ml::DcmDRTLateralSpreadingDeviceSequenceInterface::getLateralSpreadingDeviceType ( unsigned long idx,
std::string & parameter ) const

◆ getLateralSpreadingDeviceTypeTag()

std::string ml::DcmDRTLateralSpreadingDeviceSequenceInterface::getLateralSpreadingDeviceTypeTag ( ) const
inline

◆ getNumberOfItems()

MLint ml::DcmDRTLateralSpreadingDeviceSequenceInterface::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 163 of file mlDcmDRTLateralSpreadingDeviceSequenceInterface.h.

◆ getSequence()

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

Return the DRTLateralSpreadingDeviceSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTLateralSpreadingDeviceSequence

Definition at line 151 of file mlDcmDRTLateralSpreadingDeviceSequenceInterface.h.

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

◆ hasSequence()

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

Check if the DRTLateralSpreadingDeviceSequence is set.

Returns
True if internal pointer is set, False else.

Definition at line 157 of file mlDcmDRTLateralSpreadingDeviceSequenceInterface.h.

◆ insertItem()

bool ml::DcmDRTLateralSpreadingDeviceSequenceInterface::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 189 of file mlDcmDRTLateralSpreadingDeviceSequenceInterface.h.

References mlrange_cast().

◆ removeItem()

bool ml::DcmDRTLateralSpreadingDeviceSequenceInterface::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 201 of file mlDcmDRTLateralSpreadingDeviceSequenceInterface.h.

References mlrange_cast().

◆ setAccessoryCode()

bool ml::DcmDRTLateralSpreadingDeviceSequenceInterface::setAccessoryCode ( unsigned long idx,
std::string parameter )

◆ setLateralSpreadingDeviceDescription()

bool ml::DcmDRTLateralSpreadingDeviceSequenceInterface::setLateralSpreadingDeviceDescription ( unsigned long idx,
std::string parameter )

◆ setLateralSpreadingDeviceID()

bool ml::DcmDRTLateralSpreadingDeviceSequenceInterface::setLateralSpreadingDeviceID ( unsigned long idx,
std::string parameter )

◆ setLateralSpreadingDeviceNumber()

bool ml::DcmDRTLateralSpreadingDeviceSequenceInterface::setLateralSpreadingDeviceNumber ( unsigned long idx,
std::string parameter )

◆ setLateralSpreadingDeviceType()

bool ml::DcmDRTLateralSpreadingDeviceSequenceInterface::setLateralSpreadingDeviceType ( unsigned long idx,
std::string parameter )

◆ setSequence()

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

Set the DRTLateralSpreadingDeviceSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTLateralSpreadingDeviceSequence

Definition at line 145 of file mlDcmDRTLateralSpreadingDeviceSequenceInterface.h.

References mlrange_cast().

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

Member Data Documentation

◆ _itemVec

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

Reference to the wrapped DICOM tree pointer vector.

Definition at line 213 of file mlDcmDRTLateralSpreadingDeviceSequenceInterface.h.


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