MeVisLab Toolbox Reference
ml::DcmDRTReferencedVerificationImageSequenceInterface Class Reference

Class to provide access to DRTReferencedVerificationImageSequence. More...

#include <mlDcmDRTReferencedVerificationImageSequenceInterface.h>

Classes

class  Item
 

Public Member Functions

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

Detailed Description

Class to provide access to DRTReferencedVerificationImageSequence.

Definition at line 43 of file mlDcmDRTReferencedVerificationImageSequenceInterface.h.

Constructor & Destructor Documentation

◆ DcmDRTReferencedVerificationImageSequenceInterface() [1/3]

ml::DcmDRTReferencedVerificationImageSequenceInterface::DcmDRTReferencedVerificationImageSequenceInterface ( )
inline

◆ DcmDRTReferencedVerificationImageSequenceInterface() [2/3]

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

Default Constructor.

Definition at line 86 of file mlDcmDRTReferencedVerificationImageSequenceInterface.h.

◆ DcmDRTReferencedVerificationImageSequenceInterface() [3/3]

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

◆ ~DcmDRTReferencedVerificationImageSequenceInterface()

virtual ml::DcmDRTReferencedVerificationImageSequenceInterface::~DcmDRTReferencedVerificationImageSequenceInterface ( )
inlinevirtual

Default virtual Destructor.

Definition at line 96 of file mlDcmDRTReferencedVerificationImageSequenceInterface.h.

Member Function Documentation

◆ addItem() [1/2]

DcmDRTReferencedVerificationImageSequenceInterface::Item & ml::DcmDRTReferencedVerificationImageSequenceInterface::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 mlDcmDRTReferencedVerificationImageSequenceInterface.h.

◆ addItem() [2/2]

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

◆ getItem()

DcmDRTReferencedVerificationImageSequenceInterface::Item ml::DcmDRTReferencedVerificationImageSequenceInterface::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 mlDcmDRTReferencedVerificationImageSequenceInterface.h.

References mlrange_cast().

◆ getNumberOfItems()

MLint ml::DcmDRTReferencedVerificationImageSequenceInterface::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 mlDcmDRTReferencedVerificationImageSequenceInterface.h.

◆ getReferencedSOPClassUID() [1/2]

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

◆ getReferencedSOPClassUID() [2/2]

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

◆ getReferencedSOPClassUIDTag()

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

◆ getReferencedSOPInstanceUID() [1/2]

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

◆ getReferencedSOPInstanceUID() [2/2]

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

◆ getReferencedSOPInstanceUIDTag()

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

◆ getSequence()

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

Return the DRTReferencedVerificationImageSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTReferencedVerificationImageSequence

Definition at line 118 of file mlDcmDRTReferencedVerificationImageSequenceInterface.h.

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

◆ hasSequence()

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

Check if the DRTReferencedVerificationImageSequence is set.

Returns
True if internal pointer is set, False else.

Definition at line 124 of file mlDcmDRTReferencedVerificationImageSequenceInterface.h.

◆ insertItem()

bool ml::DcmDRTReferencedVerificationImageSequenceInterface::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 mlDcmDRTReferencedVerificationImageSequenceInterface.h.

References mlrange_cast().

◆ removeItem()

bool ml::DcmDRTReferencedVerificationImageSequenceInterface::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 mlDcmDRTReferencedVerificationImageSequenceInterface.h.

References mlrange_cast().

◆ setReferencedSOPClassUID()

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

◆ setReferencedSOPInstanceUID()

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

◆ setSequence()

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

Set the DRTReferencedVerificationImageSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTReferencedVerificationImageSequence

Definition at line 112 of file mlDcmDRTReferencedVerificationImageSequenceInterface.h.

References mlrange_cast().

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

Member Data Documentation

◆ _itemVec

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

Reference to the wrapped DICOM tree pointer vector.

Definition at line 180 of file mlDcmDRTReferencedVerificationImageSequenceInterface.h.


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