MeVisLab Toolbox Reference
ml::DcmDRTReferencedPatientSequenceInterface Class Reference

Class to provide access to DRTReferencedPatientSequence. More...

#include <mlDcmDRTReferencedPatientSequenceInterface.h>

Classes

class  Item
 

Public Member Functions

 DcmDRTReferencedPatientSequenceInterface ()
 
 DcmDRTReferencedPatientSequenceInterface (std::vector< DcmDRTReferencedPatientSequenceInterface::Item > dcmSequence)
 Default Constructor. More...
 
 DcmDRTReferencedPatientSequenceInterface (DCMTree::TreePtrVector treePtrSeq)
 
virtual ~DcmDRTReferencedPatientSequenceInterface ()
 Default virtual Destructor. More...
 
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< DcmDRTReferencedPatientSequenceInterface::Item > dcmSequence)
 Set the DRTReferencedPatientSequence this interface class provides access to. More...
 
std::vector< DcmDRTReferencedPatientSequenceInterface::ItemgetSequence () const
 Return the DRTReferencedPatientSequence this interface class provides access to. More...
 
bool hasSequence () const
 Check if the DRTReferencedPatientSequence is set. More...
 
MLint getNumberOfItems () const
 Return number of items the internal sequence consists of. More...
 
DcmDRTReferencedPatientSequenceInterface::Item getItem (const size_t idx) const
 Gets the item at the indicated position. More...
 
DcmDRTReferencedPatientSequenceInterface::ItemaddItem ()
 Adds a new item to the sequence. More...
 
void addItem (DcmDRTReferencedPatientSequenceInterface::Item newItem)
 
bool insertItem (const size_t idx)
 Insert an item at the indicated position. More...
 
bool removeItem (const size_t idx)
 Removes the indicated item from the sequence. More...
 

Protected Attributes

std::vector< DcmDRTReferencedPatientSequenceInterface::Item_itemVec
 Reference to the wrapped DICOM tree pointer vector. More...
 

Detailed Description

Class to provide access to DRTReferencedPatientSequence.

Definition at line 43 of file mlDcmDRTReferencedPatientSequenceInterface.h.

Constructor & Destructor Documentation

◆ DcmDRTReferencedPatientSequenceInterface() [1/3]

ml::DcmDRTReferencedPatientSequenceInterface::DcmDRTReferencedPatientSequenceInterface ( )
inline

Definition at line 83 of file mlDcmDRTReferencedPatientSequenceInterface.h.

◆ DcmDRTReferencedPatientSequenceInterface() [2/3]

ml::DcmDRTReferencedPatientSequenceInterface::DcmDRTReferencedPatientSequenceInterface ( std::vector< DcmDRTReferencedPatientSequenceInterface::Item dcmSequence)
inline

Default Constructor.

Definition at line 86 of file mlDcmDRTReferencedPatientSequenceInterface.h.

◆ DcmDRTReferencedPatientSequenceInterface() [3/3]

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

Definition at line 88 of file mlDcmDRTReferencedPatientSequenceInterface.h.

◆ ~DcmDRTReferencedPatientSequenceInterface()

virtual ml::DcmDRTReferencedPatientSequenceInterface::~DcmDRTReferencedPatientSequenceInterface ( )
inlinevirtual

Default virtual Destructor.

Definition at line 96 of file mlDcmDRTReferencedPatientSequenceInterface.h.

Member Function Documentation

◆ addItem() [1/2]

DcmDRTReferencedPatientSequenceInterface::Item& ml::DcmDRTReferencedPatientSequenceInterface::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 mlDcmDRTReferencedPatientSequenceInterface.h.

◆ addItem() [2/2]

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

◆ getItem()

DcmDRTReferencedPatientSequenceInterface::Item ml::DcmDRTReferencedPatientSequenceInterface::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 mlDcmDRTReferencedPatientSequenceInterface.h.

◆ getNumberOfItems()

MLint ml::DcmDRTReferencedPatientSequenceInterface::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 mlDcmDRTReferencedPatientSequenceInterface.h.

◆ getReferencedSOPClassUID() [1/2]

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

◆ getReferencedSOPClassUID() [2/2]

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

◆ getReferencedSOPClassUIDTag()

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

◆ getReferencedSOPInstanceUID() [1/2]

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

◆ getReferencedSOPInstanceUID() [2/2]

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

◆ getReferencedSOPInstanceUIDTag()

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

◆ getSequence()

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

Return the DRTReferencedPatientSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTReferencedPatientSequence

Definition at line 118 of file mlDcmDRTReferencedPatientSequenceInterface.h.

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

◆ hasSequence()

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

Check if the DRTReferencedPatientSequence is set.

Returns
True if internal pointer is set, False else.

Definition at line 124 of file mlDcmDRTReferencedPatientSequenceInterface.h.

◆ insertItem()

bool ml::DcmDRTReferencedPatientSequenceInterface::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 mlDcmDRTReferencedPatientSequenceInterface.h.

◆ removeItem()

bool ml::DcmDRTReferencedPatientSequenceInterface::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 mlDcmDRTReferencedPatientSequenceInterface.h.

◆ setReferencedSOPClassUID()

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

◆ setReferencedSOPInstanceUID()

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

◆ setSequence()

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

Set the DRTReferencedPatientSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTReferencedPatientSequence

Definition at line 112 of file mlDcmDRTReferencedPatientSequenceInterface.h.

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

Member Data Documentation

◆ _itemVec

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

Reference to the wrapped DICOM tree pointer vector.

Definition at line 180 of file mlDcmDRTReferencedPatientSequenceInterface.h.


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