MeVisLab Toolbox Reference
ml::DcmDRTRTReferencedSeriesSequenceInterface Class Reference

Class to provide access to DRTRTReferencedSeriesSequence. More...

#include <mlDcmDRTRTReferencedSeriesSequenceInterface.h>

Classes

class  Item
 

Public Member Functions

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

Detailed Description

Class to provide access to DRTRTReferencedSeriesSequence.

Definition at line 44 of file mlDcmDRTRTReferencedSeriesSequenceInterface.h.

Constructor & Destructor Documentation

◆ DcmDRTRTReferencedSeriesSequenceInterface() [1/3]

ml::DcmDRTRTReferencedSeriesSequenceInterface::DcmDRTRTReferencedSeriesSequenceInterface ( )
inline

◆ DcmDRTRTReferencedSeriesSequenceInterface() [2/3]

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

Default Constructor.

Definition at line 87 of file mlDcmDRTRTReferencedSeriesSequenceInterface.h.

◆ DcmDRTRTReferencedSeriesSequenceInterface() [3/3]

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

Definition at line 89 of file mlDcmDRTRTReferencedSeriesSequenceInterface.h.

References mlrange_cast().

◆ ~DcmDRTRTReferencedSeriesSequenceInterface()

virtual ml::DcmDRTRTReferencedSeriesSequenceInterface::~DcmDRTRTReferencedSeriesSequenceInterface ( )
inlinevirtual

Default virtual Destructor.

Definition at line 97 of file mlDcmDRTRTReferencedSeriesSequenceInterface.h.

Member Function Documentation

◆ addItem() [1/2]

DcmDRTRTReferencedSeriesSequenceInterface::Item & ml::DcmDRTRTReferencedSeriesSequenceInterface::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 mlDcmDRTRTReferencedSeriesSequenceInterface.h.

◆ addItem() [2/2]

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

Definition at line 150 of file mlDcmDRTRTReferencedSeriesSequenceInterface.h.

References mlrange_cast().

◆ getContourImageSequence()

DcmDRTContourImageSequenceInterface ml::DcmDRTRTReferencedSeriesSequenceInterface::getContourImageSequence ( unsigned long idx) const

◆ getContourImageSequenceTag()

std::string ml::DcmDRTRTReferencedSeriesSequenceInterface::getContourImageSequenceTag ( ) const
inline

◆ getItem()

DcmDRTRTReferencedSeriesSequenceInterface::Item ml::DcmDRTRTReferencedSeriesSequenceInterface::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 mlDcmDRTRTReferencedSeriesSequenceInterface.h.

References mlrange_cast().

◆ getNumberOfItems()

MLint ml::DcmDRTRTReferencedSeriesSequenceInterface::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 mlDcmDRTRTReferencedSeriesSequenceInterface.h.

◆ getSequence()

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

Return the DRTRTReferencedSeriesSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTRTReferencedSeriesSequence

Definition at line 118 of file mlDcmDRTRTReferencedSeriesSequenceInterface.h.

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

◆ getSeriesInstanceUID() [1/2]

bool ml::DcmDRTRTReferencedSeriesSequenceInterface::getSeriesInstanceUID ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getSeriesInstanceUID() [2/2]

bool ml::DcmDRTRTReferencedSeriesSequenceInterface::getSeriesInstanceUID ( unsigned long idx,
std::string & parameter ) const

◆ getSeriesInstanceUIDTag()

std::string ml::DcmDRTRTReferencedSeriesSequenceInterface::getSeriesInstanceUIDTag ( ) const
inline

◆ hasSequence()

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

Check if the DRTRTReferencedSeriesSequence is set.

Returns
True if internal pointer is set, False else.

Definition at line 124 of file mlDcmDRTRTReferencedSeriesSequenceInterface.h.

◆ insertItem()

bool ml::DcmDRTRTReferencedSeriesSequenceInterface::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 mlDcmDRTRTReferencedSeriesSequenceInterface.h.

References mlrange_cast().

◆ removeItem()

bool ml::DcmDRTRTReferencedSeriesSequenceInterface::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 mlDcmDRTRTReferencedSeriesSequenceInterface.h.

References mlrange_cast().

◆ setContourImageSequence()

void ml::DcmDRTRTReferencedSeriesSequenceInterface::setContourImageSequence ( DcmDRTContourImageSequenceInterface seq,
unsigned long idx )

◆ setSequence()

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

Set the DRTRTReferencedSeriesSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTRTReferencedSeriesSequence

Definition at line 112 of file mlDcmDRTRTReferencedSeriesSequenceInterface.h.

References mlrange_cast().

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

◆ setSeriesInstanceUID()

bool ml::DcmDRTRTReferencedSeriesSequenceInterface::setSeriesInstanceUID ( unsigned long idx,
std::string parameter )

Member Data Documentation

◆ _itemVec

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

Reference to the wrapped DICOM tree pointer vector.

Definition at line 180 of file mlDcmDRTRTReferencedSeriesSequenceInterface.h.


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