MeVisLab Toolbox Reference
ml::DcmDRTScheduledProtocolCodeSequenceInterface Class Reference

Class to provide access to DRTScheduledProtocolCodeSequence. More...

#include <mlDcmDRTScheduledProtocolCodeSequenceInterface.h>

Classes

class  Item
 

Public Member Functions

 DcmDRTScheduledProtocolCodeSequenceInterface ()
 
 DcmDRTScheduledProtocolCodeSequenceInterface (std::vector< DcmDRTScheduledProtocolCodeSequenceInterface::Item > dcmSequence)
 Default Constructor.
 
 DcmDRTScheduledProtocolCodeSequenceInterface (DCMTree::TreePtrVector treePtrSeq)
 
virtual ~DcmDRTScheduledProtocolCodeSequenceInterface ()
 Default virtual Destructor.
 
bool getCodeMeaning (unsigned long idx, std::string &parameter) const
 
bool getCodeMeaning (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getCodeMeaningTag () const
 
bool setCodeMeaning (unsigned long idx, std::string parameter)
 
bool getCodeValue (unsigned long idx, std::string &parameter) const
 
bool getCodeValue (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getCodeValueTag () const
 
bool setCodeValue (unsigned long idx, std::string parameter)
 
bool getCodingSchemeDesignator (unsigned long idx, std::string &parameter) const
 
bool getCodingSchemeDesignator (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getCodingSchemeDesignatorTag () const
 
bool setCodingSchemeDesignator (unsigned long idx, std::string parameter)
 
bool getCodingSchemeVersion (unsigned long idx, std::string &parameter) const
 
bool getCodingSchemeVersion (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getCodingSchemeVersionTag () const
 
bool setCodingSchemeVersion (unsigned long idx, std::string parameter)
 
bool getContextGroupExtensionCreatorUID (unsigned long idx, std::string &parameter) const
 
bool getContextGroupExtensionCreatorUID (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getContextGroupExtensionCreatorUIDTag () const
 
bool setContextGroupExtensionCreatorUID (unsigned long idx, std::string parameter)
 
bool getContextGroupExtensionFlag (unsigned long idx, std::string &parameter) const
 
bool getContextGroupExtensionFlag (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getContextGroupExtensionFlagTag () const
 
bool setContextGroupExtensionFlag (unsigned long idx, std::string parameter)
 
bool getContextGroupLocalVersion (unsigned long idx, std::string &parameter) const
 
bool getContextGroupLocalVersion (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getContextGroupLocalVersionTag () const
 
bool setContextGroupLocalVersion (unsigned long idx, std::string parameter)
 
bool getContextGroupVersion (unsigned long idx, std::string &parameter) const
 
bool getContextGroupVersion (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getContextGroupVersionTag () const
 
bool setContextGroupVersion (unsigned long idx, std::string parameter)
 
bool getContextIdentifier (unsigned long idx, std::string &parameter) const
 
bool getContextIdentifier (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getContextIdentifierTag () const
 
bool setContextIdentifier (unsigned long idx, std::string parameter)
 
bool getMappingResource (unsigned long idx, std::string &parameter) const
 
bool getMappingResource (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getMappingResourceTag () const
 
bool setMappingResource (unsigned long idx, std::string parameter)
 
DcmDRTProtocolContextSequenceInterface getProtocolContextSequence (unsigned long idx) const
 
std::string getProtocolContextSequenceTag () const
 
void setProtocolContextSequence (DcmDRTProtocolContextSequenceInterface seq, unsigned long idx)
 
void setSequence (std::vector< DcmDRTScheduledProtocolCodeSequenceInterface::Item > dcmSequence)
 Set the DRTScheduledProtocolCodeSequence this interface class provides access to.
 
std::vector< DcmDRTScheduledProtocolCodeSequenceInterface::ItemgetSequence () const
 Return the DRTScheduledProtocolCodeSequence this interface class provides access to.
 
bool hasSequence () const
 Check if the DRTScheduledProtocolCodeSequence is set.
 
MLint getNumberOfItems () const
 Return number of items the internal sequence consists of.
 
DcmDRTScheduledProtocolCodeSequenceInterface::Item getItem (const size_t idx) const
 Gets the item at the indicated position.
 
DcmDRTScheduledProtocolCodeSequenceInterface::ItemaddItem ()
 Adds a new item to the sequence.
 
void addItem (DcmDRTScheduledProtocolCodeSequenceInterface::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< DcmDRTScheduledProtocolCodeSequenceInterface::Item_itemVec
 Reference to the wrapped DICOM tree pointer vector.
 

Detailed Description

Class to provide access to DRTScheduledProtocolCodeSequence.

Definition at line 44 of file mlDcmDRTScheduledProtocolCodeSequenceInterface.h.

Constructor & Destructor Documentation

◆ DcmDRTScheduledProtocolCodeSequenceInterface() [1/3]

ml::DcmDRTScheduledProtocolCodeSequenceInterface::DcmDRTScheduledProtocolCodeSequenceInterface ( )
inline

◆ DcmDRTScheduledProtocolCodeSequenceInterface() [2/3]

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

Default Constructor.

Definition at line 132 of file mlDcmDRTScheduledProtocolCodeSequenceInterface.h.

◆ DcmDRTScheduledProtocolCodeSequenceInterface() [3/3]

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

Definition at line 134 of file mlDcmDRTScheduledProtocolCodeSequenceInterface.h.

References mlrange_cast().

◆ ~DcmDRTScheduledProtocolCodeSequenceInterface()

virtual ml::DcmDRTScheduledProtocolCodeSequenceInterface::~DcmDRTScheduledProtocolCodeSequenceInterface ( )
inlinevirtual

Default virtual Destructor.

Definition at line 142 of file mlDcmDRTScheduledProtocolCodeSequenceInterface.h.

Member Function Documentation

◆ addItem() [1/2]

DcmDRTScheduledProtocolCodeSequenceInterface::Item & ml::DcmDRTScheduledProtocolCodeSequenceInterface::addItem ( )
inline

Adds a new item to the sequence.

Returns
Return the new item which has been added to the sequence

Definition at line 244 of file mlDcmDRTScheduledProtocolCodeSequenceInterface.h.

◆ addItem() [2/2]

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

Definition at line 249 of file mlDcmDRTScheduledProtocolCodeSequenceInterface.h.

References mlrange_cast().

◆ getCodeMeaning() [1/2]

bool ml::DcmDRTScheduledProtocolCodeSequenceInterface::getCodeMeaning ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getCodeMeaning() [2/2]

bool ml::DcmDRTScheduledProtocolCodeSequenceInterface::getCodeMeaning ( unsigned long idx,
std::string & parameter ) const

◆ getCodeMeaningTag()

std::string ml::DcmDRTScheduledProtocolCodeSequenceInterface::getCodeMeaningTag ( ) const
inline

◆ getCodeValue() [1/2]

bool ml::DcmDRTScheduledProtocolCodeSequenceInterface::getCodeValue ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getCodeValue() [2/2]

bool ml::DcmDRTScheduledProtocolCodeSequenceInterface::getCodeValue ( unsigned long idx,
std::string & parameter ) const

◆ getCodeValueTag()

std::string ml::DcmDRTScheduledProtocolCodeSequenceInterface::getCodeValueTag ( ) const
inline

◆ getCodingSchemeDesignator() [1/2]

bool ml::DcmDRTScheduledProtocolCodeSequenceInterface::getCodingSchemeDesignator ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getCodingSchemeDesignator() [2/2]

bool ml::DcmDRTScheduledProtocolCodeSequenceInterface::getCodingSchemeDesignator ( unsigned long idx,
std::string & parameter ) const

◆ getCodingSchemeDesignatorTag()

std::string ml::DcmDRTScheduledProtocolCodeSequenceInterface::getCodingSchemeDesignatorTag ( ) const
inline

◆ getCodingSchemeVersion() [1/2]

bool ml::DcmDRTScheduledProtocolCodeSequenceInterface::getCodingSchemeVersion ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getCodingSchemeVersion() [2/2]

bool ml::DcmDRTScheduledProtocolCodeSequenceInterface::getCodingSchemeVersion ( unsigned long idx,
std::string & parameter ) const

◆ getCodingSchemeVersionTag()

std::string ml::DcmDRTScheduledProtocolCodeSequenceInterface::getCodingSchemeVersionTag ( ) const
inline

◆ getContextGroupExtensionCreatorUID() [1/2]

bool ml::DcmDRTScheduledProtocolCodeSequenceInterface::getContextGroupExtensionCreatorUID ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getContextGroupExtensionCreatorUID() [2/2]

bool ml::DcmDRTScheduledProtocolCodeSequenceInterface::getContextGroupExtensionCreatorUID ( unsigned long idx,
std::string & parameter ) const

◆ getContextGroupExtensionCreatorUIDTag()

std::string ml::DcmDRTScheduledProtocolCodeSequenceInterface::getContextGroupExtensionCreatorUIDTag ( ) const
inline

◆ getContextGroupExtensionFlag() [1/2]

bool ml::DcmDRTScheduledProtocolCodeSequenceInterface::getContextGroupExtensionFlag ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getContextGroupExtensionFlag() [2/2]

bool ml::DcmDRTScheduledProtocolCodeSequenceInterface::getContextGroupExtensionFlag ( unsigned long idx,
std::string & parameter ) const

◆ getContextGroupExtensionFlagTag()

std::string ml::DcmDRTScheduledProtocolCodeSequenceInterface::getContextGroupExtensionFlagTag ( ) const
inline

◆ getContextGroupLocalVersion() [1/2]

bool ml::DcmDRTScheduledProtocolCodeSequenceInterface::getContextGroupLocalVersion ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getContextGroupLocalVersion() [2/2]

bool ml::DcmDRTScheduledProtocolCodeSequenceInterface::getContextGroupLocalVersion ( unsigned long idx,
std::string & parameter ) const

◆ getContextGroupLocalVersionTag()

std::string ml::DcmDRTScheduledProtocolCodeSequenceInterface::getContextGroupLocalVersionTag ( ) const
inline

◆ getContextGroupVersion() [1/2]

bool ml::DcmDRTScheduledProtocolCodeSequenceInterface::getContextGroupVersion ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getContextGroupVersion() [2/2]

bool ml::DcmDRTScheduledProtocolCodeSequenceInterface::getContextGroupVersion ( unsigned long idx,
std::string & parameter ) const

◆ getContextGroupVersionTag()

std::string ml::DcmDRTScheduledProtocolCodeSequenceInterface::getContextGroupVersionTag ( ) const
inline

◆ getContextIdentifier() [1/2]

bool ml::DcmDRTScheduledProtocolCodeSequenceInterface::getContextIdentifier ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getContextIdentifier() [2/2]

bool ml::DcmDRTScheduledProtocolCodeSequenceInterface::getContextIdentifier ( unsigned long idx,
std::string & parameter ) const

◆ getContextIdentifierTag()

std::string ml::DcmDRTScheduledProtocolCodeSequenceInterface::getContextIdentifierTag ( ) const
inline

◆ getItem()

DcmDRTScheduledProtocolCodeSequenceInterface::Item ml::DcmDRTScheduledProtocolCodeSequenceInterface::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 235 of file mlDcmDRTScheduledProtocolCodeSequenceInterface.h.

References mlrange_cast().

◆ getMappingResource() [1/2]

bool ml::DcmDRTScheduledProtocolCodeSequenceInterface::getMappingResource ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getMappingResource() [2/2]

bool ml::DcmDRTScheduledProtocolCodeSequenceInterface::getMappingResource ( unsigned long idx,
std::string & parameter ) const

◆ getMappingResourceTag()

std::string ml::DcmDRTScheduledProtocolCodeSequenceInterface::getMappingResourceTag ( ) const
inline

◆ getNumberOfItems()

MLint ml::DcmDRTScheduledProtocolCodeSequenceInterface::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 229 of file mlDcmDRTScheduledProtocolCodeSequenceInterface.h.

◆ getProtocolContextSequence()

DcmDRTProtocolContextSequenceInterface ml::DcmDRTScheduledProtocolCodeSequenceInterface::getProtocolContextSequence ( unsigned long idx) const

◆ getProtocolContextSequenceTag()

std::string ml::DcmDRTScheduledProtocolCodeSequenceInterface::getProtocolContextSequenceTag ( ) const
inline

◆ getSequence()

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

Return the DRTScheduledProtocolCodeSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTScheduledProtocolCodeSequence

Definition at line 217 of file mlDcmDRTScheduledProtocolCodeSequenceInterface.h.

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

◆ hasSequence()

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

Check if the DRTScheduledProtocolCodeSequence is set.

Returns
True if internal pointer is set, False else.

Definition at line 223 of file mlDcmDRTScheduledProtocolCodeSequenceInterface.h.

◆ insertItem()

bool ml::DcmDRTScheduledProtocolCodeSequenceInterface::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 255 of file mlDcmDRTScheduledProtocolCodeSequenceInterface.h.

References mlrange_cast().

◆ removeItem()

bool ml::DcmDRTScheduledProtocolCodeSequenceInterface::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 267 of file mlDcmDRTScheduledProtocolCodeSequenceInterface.h.

References mlrange_cast().

◆ setCodeMeaning()

bool ml::DcmDRTScheduledProtocolCodeSequenceInterface::setCodeMeaning ( unsigned long idx,
std::string parameter )

◆ setCodeValue()

bool ml::DcmDRTScheduledProtocolCodeSequenceInterface::setCodeValue ( unsigned long idx,
std::string parameter )

◆ setCodingSchemeDesignator()

bool ml::DcmDRTScheduledProtocolCodeSequenceInterface::setCodingSchemeDesignator ( unsigned long idx,
std::string parameter )

◆ setCodingSchemeVersion()

bool ml::DcmDRTScheduledProtocolCodeSequenceInterface::setCodingSchemeVersion ( unsigned long idx,
std::string parameter )

◆ setContextGroupExtensionCreatorUID()

bool ml::DcmDRTScheduledProtocolCodeSequenceInterface::setContextGroupExtensionCreatorUID ( unsigned long idx,
std::string parameter )

◆ setContextGroupExtensionFlag()

bool ml::DcmDRTScheduledProtocolCodeSequenceInterface::setContextGroupExtensionFlag ( unsigned long idx,
std::string parameter )

◆ setContextGroupLocalVersion()

bool ml::DcmDRTScheduledProtocolCodeSequenceInterface::setContextGroupLocalVersion ( unsigned long idx,
std::string parameter )

◆ setContextGroupVersion()

bool ml::DcmDRTScheduledProtocolCodeSequenceInterface::setContextGroupVersion ( unsigned long idx,
std::string parameter )

◆ setContextIdentifier()

bool ml::DcmDRTScheduledProtocolCodeSequenceInterface::setContextIdentifier ( unsigned long idx,
std::string parameter )

◆ setMappingResource()

bool ml::DcmDRTScheduledProtocolCodeSequenceInterface::setMappingResource ( unsigned long idx,
std::string parameter )

◆ setProtocolContextSequence()

void ml::DcmDRTScheduledProtocolCodeSequenceInterface::setProtocolContextSequence ( DcmDRTProtocolContextSequenceInterface seq,
unsigned long idx )

◆ setSequence()

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

Set the DRTScheduledProtocolCodeSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTScheduledProtocolCodeSequence

Definition at line 211 of file mlDcmDRTScheduledProtocolCodeSequenceInterface.h.

References mlrange_cast().

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

Member Data Documentation

◆ _itemVec

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

Reference to the wrapped DICOM tree pointer vector.

Definition at line 279 of file mlDcmDRTScheduledProtocolCodeSequenceInterface.h.


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