MeVisLab Toolbox Reference
ml::DcmDRTRecordedSnoutSequenceInterface Class Reference

Class to provide access to DRTRecordedSnoutSequence. More...

#include <mlDcmDRTRecordedSnoutSequenceInterface.h>

Classes

class  Item
 

Public Member Functions

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

Detailed Description

Class to provide access to DRTRecordedSnoutSequence.

Definition at line 43 of file mlDcmDRTRecordedSnoutSequenceInterface.h.

Constructor & Destructor Documentation

◆ DcmDRTRecordedSnoutSequenceInterface() [1/3]

ml::DcmDRTRecordedSnoutSequenceInterface::DcmDRTRecordedSnoutSequenceInterface ( )
inline

Definition at line 83 of file mlDcmDRTRecordedSnoutSequenceInterface.h.

◆ DcmDRTRecordedSnoutSequenceInterface() [2/3]

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

Default Constructor.

Definition at line 86 of file mlDcmDRTRecordedSnoutSequenceInterface.h.

◆ DcmDRTRecordedSnoutSequenceInterface() [3/3]

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

Definition at line 88 of file mlDcmDRTRecordedSnoutSequenceInterface.h.

References mlrange_cast().

◆ ~DcmDRTRecordedSnoutSequenceInterface()

virtual ml::DcmDRTRecordedSnoutSequenceInterface::~DcmDRTRecordedSnoutSequenceInterface ( )
inlinevirtual

Default virtual Destructor.

Definition at line 96 of file mlDcmDRTRecordedSnoutSequenceInterface.h.

Member Function Documentation

◆ addItem() [1/2]

DcmDRTRecordedSnoutSequenceInterface::Item & ml::DcmDRTRecordedSnoutSequenceInterface::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 mlDcmDRTRecordedSnoutSequenceInterface.h.

◆ addItem() [2/2]

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

Definition at line 150 of file mlDcmDRTRecordedSnoutSequenceInterface.h.

References mlrange_cast().

◆ getAccessoryCode() [1/2]

bool ml::DcmDRTRecordedSnoutSequenceInterface::getAccessoryCode ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getAccessoryCode() [2/2]

bool ml::DcmDRTRecordedSnoutSequenceInterface::getAccessoryCode ( unsigned long idx,
std::string & parameter ) const

◆ getAccessoryCodeTag()

std::string ml::DcmDRTRecordedSnoutSequenceInterface::getAccessoryCodeTag ( ) const
inline

◆ getItem()

DcmDRTRecordedSnoutSequenceInterface::Item ml::DcmDRTRecordedSnoutSequenceInterface::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 mlDcmDRTRecordedSnoutSequenceInterface.h.

References mlrange_cast().

◆ getNumberOfItems()

MLint ml::DcmDRTRecordedSnoutSequenceInterface::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 mlDcmDRTRecordedSnoutSequenceInterface.h.

◆ getSequence()

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

Return the DRTRecordedSnoutSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTRecordedSnoutSequence

Definition at line 118 of file mlDcmDRTRecordedSnoutSequenceInterface.h.

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

◆ getSnoutID() [1/2]

bool ml::DcmDRTRecordedSnoutSequenceInterface::getSnoutID ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getSnoutID() [2/2]

bool ml::DcmDRTRecordedSnoutSequenceInterface::getSnoutID ( unsigned long idx,
std::string & parameter ) const

◆ getSnoutIDTag()

std::string ml::DcmDRTRecordedSnoutSequenceInterface::getSnoutIDTag ( ) const
inline

◆ hasSequence()

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

Check if the DRTRecordedSnoutSequence is set.

Returns
True if internal pointer is set, False else.

Definition at line 124 of file mlDcmDRTRecordedSnoutSequenceInterface.h.

◆ insertItem()

bool ml::DcmDRTRecordedSnoutSequenceInterface::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 mlDcmDRTRecordedSnoutSequenceInterface.h.

References mlrange_cast().

◆ removeItem()

bool ml::DcmDRTRecordedSnoutSequenceInterface::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 mlDcmDRTRecordedSnoutSequenceInterface.h.

References mlrange_cast().

◆ setAccessoryCode()

bool ml::DcmDRTRecordedSnoutSequenceInterface::setAccessoryCode ( unsigned long idx,
std::string parameter )

◆ setSequence()

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

Set the DRTRecordedSnoutSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTRecordedSnoutSequence

Definition at line 112 of file mlDcmDRTRecordedSnoutSequenceInterface.h.

References mlrange_cast().

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

◆ setSnoutID()

bool ml::DcmDRTRecordedSnoutSequenceInterface::setSnoutID ( unsigned long idx,
std::string parameter )

Member Data Documentation

◆ _itemVec

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

Reference to the wrapped DICOM tree pointer vector.

Definition at line 180 of file mlDcmDRTRecordedSnoutSequenceInterface.h.


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