MeVisLab Toolbox Reference
ml::DcmDRTChannelSourceSequenceInterface Class Reference

Class to provide access to DRTChannelSourceSequence. More...

#include <mlDcmDRTChannelSourceSequenceInterface.h>

Classes

class  Item
 

Public Member Functions

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

Detailed Description

Class to provide access to DRTChannelSourceSequence.

Definition at line 43 of file mlDcmDRTChannelSourceSequenceInterface.h.

Constructor & Destructor Documentation

◆ DcmDRTChannelSourceSequenceInterface() [1/3]

ml::DcmDRTChannelSourceSequenceInterface::DcmDRTChannelSourceSequenceInterface ( )
inline

Definition at line 123 of file mlDcmDRTChannelSourceSequenceInterface.h.

◆ DcmDRTChannelSourceSequenceInterface() [2/3]

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

Default Constructor.

Definition at line 126 of file mlDcmDRTChannelSourceSequenceInterface.h.

◆ DcmDRTChannelSourceSequenceInterface() [3/3]

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

Definition at line 128 of file mlDcmDRTChannelSourceSequenceInterface.h.

References mlrange_cast().

◆ ~DcmDRTChannelSourceSequenceInterface()

virtual ml::DcmDRTChannelSourceSequenceInterface::~DcmDRTChannelSourceSequenceInterface ( )
inlinevirtual

Default virtual Destructor.

Definition at line 136 of file mlDcmDRTChannelSourceSequenceInterface.h.

Member Function Documentation

◆ addItem() [1/2]

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

Adds a new item to the sequence.

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

Definition at line 233 of file mlDcmDRTChannelSourceSequenceInterface.h.

◆ addItem() [2/2]

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

Definition at line 238 of file mlDcmDRTChannelSourceSequenceInterface.h.

References mlrange_cast().

◆ getCodeMeaning() [1/2]

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

◆ getCodeMeaning() [2/2]

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

◆ getCodeMeaningTag()

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

◆ getCodeValue() [1/2]

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

◆ getCodeValue() [2/2]

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

◆ getCodeValueTag()

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

◆ getCodingSchemeDesignator() [1/2]

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

◆ getCodingSchemeDesignator() [2/2]

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

◆ getCodingSchemeDesignatorTag()

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

◆ getCodingSchemeVersion() [1/2]

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

◆ getCodingSchemeVersion() [2/2]

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

◆ getCodingSchemeVersionTag()

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

◆ getContextGroupExtensionCreatorUID() [1/2]

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

◆ getContextGroupExtensionCreatorUID() [2/2]

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

◆ getContextGroupExtensionCreatorUIDTag()

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

◆ getContextGroupExtensionFlag() [1/2]

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

◆ getContextGroupExtensionFlag() [2/2]

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

◆ getContextGroupExtensionFlagTag()

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

◆ getContextGroupLocalVersion() [1/2]

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

◆ getContextGroupLocalVersion() [2/2]

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

◆ getContextGroupLocalVersionTag()

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

◆ getContextGroupVersion() [1/2]

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

◆ getContextGroupVersion() [2/2]

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

◆ getContextGroupVersionTag()

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

◆ getContextIdentifier() [1/2]

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

◆ getContextIdentifier() [2/2]

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

◆ getContextIdentifierTag()

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

◆ getItem()

DcmDRTChannelSourceSequenceInterface::Item ml::DcmDRTChannelSourceSequenceInterface::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 224 of file mlDcmDRTChannelSourceSequenceInterface.h.

References mlrange_cast().

◆ getMappingResource() [1/2]

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

◆ getMappingResource() [2/2]

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

◆ getMappingResourceTag()

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

◆ getNumberOfItems()

MLint ml::DcmDRTChannelSourceSequenceInterface::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 218 of file mlDcmDRTChannelSourceSequenceInterface.h.

◆ getSequence()

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

Return the DRTChannelSourceSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTChannelSourceSequence

Definition at line 206 of file mlDcmDRTChannelSourceSequenceInterface.h.

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

◆ hasSequence()

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

Check if the DRTChannelSourceSequence is set.

Returns
True if internal pointer is set, False else.

Definition at line 212 of file mlDcmDRTChannelSourceSequenceInterface.h.

◆ insertItem()

bool ml::DcmDRTChannelSourceSequenceInterface::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 244 of file mlDcmDRTChannelSourceSequenceInterface.h.

References mlrange_cast().

◆ removeItem()

bool ml::DcmDRTChannelSourceSequenceInterface::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 256 of file mlDcmDRTChannelSourceSequenceInterface.h.

References mlrange_cast().

◆ setCodeMeaning()

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

◆ setCodeValue()

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

◆ setCodingSchemeDesignator()

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

◆ setCodingSchemeVersion()

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

◆ setContextGroupExtensionCreatorUID()

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

◆ setContextGroupExtensionFlag()

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

◆ setContextGroupLocalVersion()

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

◆ setContextGroupVersion()

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

◆ setContextIdentifier()

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

◆ setMappingResource()

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

◆ setSequence()

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

Set the DRTChannelSourceSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTChannelSourceSequence

Definition at line 200 of file mlDcmDRTChannelSourceSequenceInterface.h.

References mlrange_cast().

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

Member Data Documentation

◆ _itemVec

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

Reference to the wrapped DICOM tree pointer vector.

Definition at line 268 of file mlDcmDRTChannelSourceSequenceInterface.h.


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