MeVisLab Toolbox Reference
ml::DcmDRTReferencedRTPlanSequenceInRTImageModuleInterface Class Reference

Class to provide access to DRTReferencedRTPlanSequenceInRTImageModule. More...

#include <mlDcmDRTReferencedRTPlanSequenceInRTImageModuleInterface.h>

Classes

class  Item
 

Public Member Functions

 DcmDRTReferencedRTPlanSequenceInRTImageModuleInterface ()
 
 DcmDRTReferencedRTPlanSequenceInRTImageModuleInterface (std::vector< DcmDRTReferencedRTPlanSequenceInRTImageModuleInterface::Item > dcmSequence)
 Default Constructor.
 
 DcmDRTReferencedRTPlanSequenceInRTImageModuleInterface (DCMTree::TreePtrVector treePtrSeq)
 
virtual ~DcmDRTReferencedRTPlanSequenceInRTImageModuleInterface ()
 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< DcmDRTReferencedRTPlanSequenceInRTImageModuleInterface::Item > dcmSequence)
 Set the DRTReferencedRTPlanSequenceInRTImageModule this interface class provides access to.
 
std::vector< DcmDRTReferencedRTPlanSequenceInRTImageModuleInterface::ItemgetSequence () const
 Return the DRTReferencedRTPlanSequenceInRTImageModule this interface class provides access to.
 
bool hasSequence () const
 Check if the DRTReferencedRTPlanSequenceInRTImageModule is set.
 
MLint getNumberOfItems () const
 Return number of items the internal sequence consists of.
 
DcmDRTReferencedRTPlanSequenceInRTImageModuleInterface::Item getItem (const size_t idx) const
 Gets the item at the indicated position.
 
DcmDRTReferencedRTPlanSequenceInRTImageModuleInterface::ItemaddItem ()
 Adds a new item to the sequence.
 
void addItem (DcmDRTReferencedRTPlanSequenceInRTImageModuleInterface::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< DcmDRTReferencedRTPlanSequenceInRTImageModuleInterface::Item_itemVec
 Reference to the wrapped DICOM tree pointer vector.
 

Detailed Description

Class to provide access to DRTReferencedRTPlanSequenceInRTImageModule.

Definition at line 43 of file mlDcmDRTReferencedRTPlanSequenceInRTImageModuleInterface.h.

Constructor & Destructor Documentation

◆ DcmDRTReferencedRTPlanSequenceInRTImageModuleInterface() [1/3]

ml::DcmDRTReferencedRTPlanSequenceInRTImageModuleInterface::DcmDRTReferencedRTPlanSequenceInRTImageModuleInterface ( )
inline

◆ DcmDRTReferencedRTPlanSequenceInRTImageModuleInterface() [2/3]

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

Default Constructor.

Definition at line 86 of file mlDcmDRTReferencedRTPlanSequenceInRTImageModuleInterface.h.

◆ DcmDRTReferencedRTPlanSequenceInRTImageModuleInterface() [3/3]

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

◆ ~DcmDRTReferencedRTPlanSequenceInRTImageModuleInterface()

virtual ml::DcmDRTReferencedRTPlanSequenceInRTImageModuleInterface::~DcmDRTReferencedRTPlanSequenceInRTImageModuleInterface ( )
inlinevirtual

Default virtual Destructor.

Definition at line 96 of file mlDcmDRTReferencedRTPlanSequenceInRTImageModuleInterface.h.

Member Function Documentation

◆ addItem() [1/2]

DcmDRTReferencedRTPlanSequenceInRTImageModuleInterface::Item & ml::DcmDRTReferencedRTPlanSequenceInRTImageModuleInterface::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 mlDcmDRTReferencedRTPlanSequenceInRTImageModuleInterface.h.

◆ addItem() [2/2]

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

◆ getItem()

DcmDRTReferencedRTPlanSequenceInRTImageModuleInterface::Item ml::DcmDRTReferencedRTPlanSequenceInRTImageModuleInterface::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 mlDcmDRTReferencedRTPlanSequenceInRTImageModuleInterface.h.

References mlrange_cast().

◆ getNumberOfItems()

MLint ml::DcmDRTReferencedRTPlanSequenceInRTImageModuleInterface::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 mlDcmDRTReferencedRTPlanSequenceInRTImageModuleInterface.h.

◆ getReferencedSOPClassUID() [1/2]

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

◆ getReferencedSOPClassUID() [2/2]

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

◆ getReferencedSOPClassUIDTag()

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

◆ getReferencedSOPInstanceUID() [1/2]

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

◆ getReferencedSOPInstanceUID() [2/2]

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

◆ getReferencedSOPInstanceUIDTag()

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

◆ getSequence()

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

Return the DRTReferencedRTPlanSequenceInRTImageModule this interface class provides access to.

Parameters
dcmSequencePointer to DRTReferencedRTPlanSequenceInRTImageModule

Definition at line 118 of file mlDcmDRTReferencedRTPlanSequenceInRTImageModuleInterface.h.

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

◆ hasSequence()

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

Check if the DRTReferencedRTPlanSequenceInRTImageModule is set.

Returns
True if internal pointer is set, False else.

Definition at line 124 of file mlDcmDRTReferencedRTPlanSequenceInRTImageModuleInterface.h.

◆ insertItem()

bool ml::DcmDRTReferencedRTPlanSequenceInRTImageModuleInterface::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 mlDcmDRTReferencedRTPlanSequenceInRTImageModuleInterface.h.

References mlrange_cast().

◆ removeItem()

bool ml::DcmDRTReferencedRTPlanSequenceInRTImageModuleInterface::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 mlDcmDRTReferencedRTPlanSequenceInRTImageModuleInterface.h.

References mlrange_cast().

◆ setReferencedSOPClassUID()

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

◆ setReferencedSOPInstanceUID()

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

◆ setSequence()

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

Set the DRTReferencedRTPlanSequenceInRTImageModule this interface class provides access to.

Parameters
dcmSequencePointer to DRTReferencedRTPlanSequenceInRTImageModule

Definition at line 112 of file mlDcmDRTReferencedRTPlanSequenceInRTImageModuleInterface.h.

References mlrange_cast().

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

Member Data Documentation

◆ _itemVec

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

Reference to the wrapped DICOM tree pointer vector.

Definition at line 180 of file mlDcmDRTReferencedRTPlanSequenceInRTImageModuleInterface.h.


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