MeVisLab Toolbox Reference
ml::DcmDRTReferencedTreatmentRecordSequenceInterface Class Reference

Class to provide access to DRTReferencedTreatmentRecordSequence. More...

#include <mlDcmDRTReferencedTreatmentRecordSequenceInterface.h>

Classes

class  Item
 

Public Member Functions

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

Detailed Description

Class to provide access to DRTReferencedTreatmentRecordSequence.

Definition at line 43 of file mlDcmDRTReferencedTreatmentRecordSequenceInterface.h.

Constructor & Destructor Documentation

◆ DcmDRTReferencedTreatmentRecordSequenceInterface() [1/3]

ml::DcmDRTReferencedTreatmentRecordSequenceInterface::DcmDRTReferencedTreatmentRecordSequenceInterface ( )
inline

◆ DcmDRTReferencedTreatmentRecordSequenceInterface() [2/3]

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

Default Constructor.

Definition at line 86 of file mlDcmDRTReferencedTreatmentRecordSequenceInterface.h.

◆ DcmDRTReferencedTreatmentRecordSequenceInterface() [3/3]

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

◆ ~DcmDRTReferencedTreatmentRecordSequenceInterface()

virtual ml::DcmDRTReferencedTreatmentRecordSequenceInterface::~DcmDRTReferencedTreatmentRecordSequenceInterface ( )
inlinevirtual

Default virtual Destructor.

Definition at line 96 of file mlDcmDRTReferencedTreatmentRecordSequenceInterface.h.

Member Function Documentation

◆ addItem() [1/2]

DcmDRTReferencedTreatmentRecordSequenceInterface::Item & ml::DcmDRTReferencedTreatmentRecordSequenceInterface::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 mlDcmDRTReferencedTreatmentRecordSequenceInterface.h.

◆ addItem() [2/2]

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

◆ getItem()

DcmDRTReferencedTreatmentRecordSequenceInterface::Item ml::DcmDRTReferencedTreatmentRecordSequenceInterface::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 mlDcmDRTReferencedTreatmentRecordSequenceInterface.h.

References mlrange_cast().

◆ getNumberOfItems()

MLint ml::DcmDRTReferencedTreatmentRecordSequenceInterface::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 mlDcmDRTReferencedTreatmentRecordSequenceInterface.h.

◆ getReferencedSOPClassUID() [1/2]

bool ml::DcmDRTReferencedTreatmentRecordSequenceInterface::getReferencedSOPClassUID ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getReferencedSOPClassUID() [2/2]

bool ml::DcmDRTReferencedTreatmentRecordSequenceInterface::getReferencedSOPClassUID ( unsigned long idx,
std::string & parameter ) const

◆ getReferencedSOPClassUIDTag()

std::string ml::DcmDRTReferencedTreatmentRecordSequenceInterface::getReferencedSOPClassUIDTag ( ) const
inline

◆ getReferencedSOPInstanceUID() [1/2]

bool ml::DcmDRTReferencedTreatmentRecordSequenceInterface::getReferencedSOPInstanceUID ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getReferencedSOPInstanceUID() [2/2]

bool ml::DcmDRTReferencedTreatmentRecordSequenceInterface::getReferencedSOPInstanceUID ( unsigned long idx,
std::string & parameter ) const

◆ getReferencedSOPInstanceUIDTag()

std::string ml::DcmDRTReferencedTreatmentRecordSequenceInterface::getReferencedSOPInstanceUIDTag ( ) const
inline

◆ getSequence()

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

Return the DRTReferencedTreatmentRecordSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTReferencedTreatmentRecordSequence

Definition at line 118 of file mlDcmDRTReferencedTreatmentRecordSequenceInterface.h.

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

◆ hasSequence()

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

Check if the DRTReferencedTreatmentRecordSequence is set.

Returns
True if internal pointer is set, False else.

Definition at line 124 of file mlDcmDRTReferencedTreatmentRecordSequenceInterface.h.

◆ insertItem()

bool ml::DcmDRTReferencedTreatmentRecordSequenceInterface::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 mlDcmDRTReferencedTreatmentRecordSequenceInterface.h.

References mlrange_cast().

◆ removeItem()

bool ml::DcmDRTReferencedTreatmentRecordSequenceInterface::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 mlDcmDRTReferencedTreatmentRecordSequenceInterface.h.

References mlrange_cast().

◆ setReferencedSOPClassUID()

bool ml::DcmDRTReferencedTreatmentRecordSequenceInterface::setReferencedSOPClassUID ( unsigned long idx,
std::string parameter )

◆ setReferencedSOPInstanceUID()

bool ml::DcmDRTReferencedTreatmentRecordSequenceInterface::setReferencedSOPInstanceUID ( unsigned long idx,
std::string parameter )

◆ setSequence()

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

Set the DRTReferencedTreatmentRecordSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTReferencedTreatmentRecordSequence

Definition at line 112 of file mlDcmDRTReferencedTreatmentRecordSequenceInterface.h.

References mlrange_cast().

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

Member Data Documentation

◆ _itemVec

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

Reference to the wrapped DICOM tree pointer vector.

Definition at line 180 of file mlDcmDRTReferencedTreatmentRecordSequenceInterface.h.


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