MeVisLab Toolbox Reference
ml::DcmDRTReferencedStudySequenceInterface Class Reference

Class to provide access to DRTReferencedStudySequence. More...

#include <mlDcmDRTReferencedStudySequenceInterface.h>

Classes

class  Item
 

Public Member Functions

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

Detailed Description

Class to provide access to DRTReferencedStudySequence.

Definition at line 43 of file mlDcmDRTReferencedStudySequenceInterface.h.

Constructor & Destructor Documentation

◆ DcmDRTReferencedStudySequenceInterface() [1/3]

ml::DcmDRTReferencedStudySequenceInterface::DcmDRTReferencedStudySequenceInterface ( )
inline

Definition at line 83 of file mlDcmDRTReferencedStudySequenceInterface.h.

◆ DcmDRTReferencedStudySequenceInterface() [2/3]

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

Default Constructor.

Definition at line 86 of file mlDcmDRTReferencedStudySequenceInterface.h.

◆ DcmDRTReferencedStudySequenceInterface() [3/3]

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

Definition at line 88 of file mlDcmDRTReferencedStudySequenceInterface.h.

References mlrange_cast().

◆ ~DcmDRTReferencedStudySequenceInterface()

virtual ml::DcmDRTReferencedStudySequenceInterface::~DcmDRTReferencedStudySequenceInterface ( )
inlinevirtual

Default virtual Destructor.

Definition at line 96 of file mlDcmDRTReferencedStudySequenceInterface.h.

Member Function Documentation

◆ addItem() [1/2]

DcmDRTReferencedStudySequenceInterface::Item & ml::DcmDRTReferencedStudySequenceInterface::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 mlDcmDRTReferencedStudySequenceInterface.h.

◆ addItem() [2/2]

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

Definition at line 150 of file mlDcmDRTReferencedStudySequenceInterface.h.

References mlrange_cast().

◆ getItem()

DcmDRTReferencedStudySequenceInterface::Item ml::DcmDRTReferencedStudySequenceInterface::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 mlDcmDRTReferencedStudySequenceInterface.h.

References mlrange_cast().

◆ getNumberOfItems()

MLint ml::DcmDRTReferencedStudySequenceInterface::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 mlDcmDRTReferencedStudySequenceInterface.h.

◆ getReferencedSOPClassUID() [1/2]

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

◆ getReferencedSOPClassUID() [2/2]

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

◆ getReferencedSOPClassUIDTag()

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

◆ getReferencedSOPInstanceUID() [1/2]

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

◆ getReferencedSOPInstanceUID() [2/2]

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

◆ getReferencedSOPInstanceUIDTag()

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

◆ getSequence()

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

Return the DRTReferencedStudySequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTReferencedStudySequence

Definition at line 118 of file mlDcmDRTReferencedStudySequenceInterface.h.

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

◆ hasSequence()

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

Check if the DRTReferencedStudySequence is set.

Returns
True if internal pointer is set, False else.

Definition at line 124 of file mlDcmDRTReferencedStudySequenceInterface.h.

◆ insertItem()

bool ml::DcmDRTReferencedStudySequenceInterface::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 mlDcmDRTReferencedStudySequenceInterface.h.

References mlrange_cast().

◆ removeItem()

bool ml::DcmDRTReferencedStudySequenceInterface::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 mlDcmDRTReferencedStudySequenceInterface.h.

References mlrange_cast().

◆ setReferencedSOPClassUID()

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

◆ setReferencedSOPInstanceUID()

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

◆ setSequence()

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

Set the DRTReferencedStudySequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTReferencedStudySequence

Definition at line 112 of file mlDcmDRTReferencedStudySequenceInterface.h.

References mlrange_cast().

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

Member Data Documentation

◆ _itemVec

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

Reference to the wrapped DICOM tree pointer vector.

Definition at line 180 of file mlDcmDRTReferencedStudySequenceInterface.h.


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