MeVisLab Toolbox Reference
ml::DcmDRTOriginalAttributesSequenceInterface Class Reference

Class to provide access to DRTOriginalAttributesSequence. More...

#include <mlDcmDRTOriginalAttributesSequenceInterface.h>

Classes

class  Item
 

Public Member Functions

 DcmDRTOriginalAttributesSequenceInterface ()
 
 DcmDRTOriginalAttributesSequenceInterface (std::vector< DcmDRTOriginalAttributesSequenceInterface::Item > dcmSequence)
 Default Constructor.
 
 DcmDRTOriginalAttributesSequenceInterface (DCMTree::TreePtrVector treePtrSeq)
 
virtual ~DcmDRTOriginalAttributesSequenceInterface ()
 Default virtual Destructor.
 
bool getAttributeModificationDateTime (unsigned long idx, std::string &parameter) const
 
bool getAttributeModificationDateTime (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getAttributeModificationDateTimeTag () const
 
bool setAttributeModificationDateTime (unsigned long idx, std::string parameter)
 
bool getHL7InstanceIdentifier (unsigned long idx, std::string &parameter) const
 
bool getHL7InstanceIdentifier (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getHL7InstanceIdentifierTag () const
 
bool setHL7InstanceIdentifier (unsigned long idx, std::string parameter)
 
bool getModifyingSystem (unsigned long idx, std::string &parameter) const
 
bool getModifyingSystem (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getModifyingSystemTag () const
 
bool setModifyingSystem (unsigned long idx, std::string parameter)
 
bool getReasonForTheAttributeModification (unsigned long idx, std::string &parameter) const
 
bool getReasonForTheAttributeModification (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getReasonForTheAttributeModificationTag () const
 
bool setReasonForTheAttributeModification (unsigned long idx, std::string parameter)
 
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)
 
bool getRetrieveURI (unsigned long idx, std::string &parameter) const
 
bool getRetrieveURI (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getRetrieveURITag () const
 
bool setRetrieveURI (unsigned long idx, std::string parameter)
 
bool getSourceOfPreviousValues (unsigned long idx, std::string &parameter) const
 
bool getSourceOfPreviousValues (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getSourceOfPreviousValuesTag () const
 
bool setSourceOfPreviousValues (unsigned long idx, std::string parameter)
 
DcmDRTModifiedAttributesSequenceInterface getModifiedAttributesSequence (unsigned long idx) const
 
std::string getModifiedAttributesSequenceTag () const
 
void setModifiedAttributesSequence (DcmDRTModifiedAttributesSequenceInterface seq, unsigned long idx)
 
void setSequence (std::vector< DcmDRTOriginalAttributesSequenceInterface::Item > dcmSequence)
 Set the DRTOriginalAttributesSequence this interface class provides access to.
 
std::vector< DcmDRTOriginalAttributesSequenceInterface::ItemgetSequence () const
 Return the DRTOriginalAttributesSequence this interface class provides access to.
 
bool hasSequence () const
 Check if the DRTOriginalAttributesSequence is set.
 
MLint getNumberOfItems () const
 Return number of items the internal sequence consists of.
 
DcmDRTOriginalAttributesSequenceInterface::Item getItem (const size_t idx) const
 Gets the item at the indicated position.
 
DcmDRTOriginalAttributesSequenceInterface::ItemaddItem ()
 Adds a new item to the sequence.
 
void addItem (DcmDRTOriginalAttributesSequenceInterface::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< DcmDRTOriginalAttributesSequenceInterface::Item_itemVec
 Reference to the wrapped DICOM tree pointer vector.
 

Detailed Description

Class to provide access to DRTOriginalAttributesSequence.

Definition at line 44 of file mlDcmDRTOriginalAttributesSequenceInterface.h.

Constructor & Destructor Documentation

◆ DcmDRTOriginalAttributesSequenceInterface() [1/3]

ml::DcmDRTOriginalAttributesSequenceInterface::DcmDRTOriginalAttributesSequenceInterface ( )
inline

◆ DcmDRTOriginalAttributesSequenceInterface() [2/3]

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

Default Constructor.

Definition at line 122 of file mlDcmDRTOriginalAttributesSequenceInterface.h.

◆ DcmDRTOriginalAttributesSequenceInterface() [3/3]

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

Definition at line 124 of file mlDcmDRTOriginalAttributesSequenceInterface.h.

References mlrange_cast().

◆ ~DcmDRTOriginalAttributesSequenceInterface()

virtual ml::DcmDRTOriginalAttributesSequenceInterface::~DcmDRTOriginalAttributesSequenceInterface ( )
inlinevirtual

Default virtual Destructor.

Definition at line 132 of file mlDcmDRTOriginalAttributesSequenceInterface.h.

Member Function Documentation

◆ addItem() [1/2]

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

Adds a new item to the sequence.

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

Definition at line 222 of file mlDcmDRTOriginalAttributesSequenceInterface.h.

◆ addItem() [2/2]

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

Definition at line 227 of file mlDcmDRTOriginalAttributesSequenceInterface.h.

References mlrange_cast().

◆ getAttributeModificationDateTime() [1/2]

bool ml::DcmDRTOriginalAttributesSequenceInterface::getAttributeModificationDateTime ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getAttributeModificationDateTime() [2/2]

bool ml::DcmDRTOriginalAttributesSequenceInterface::getAttributeModificationDateTime ( unsigned long idx,
std::string & parameter ) const

◆ getAttributeModificationDateTimeTag()

std::string ml::DcmDRTOriginalAttributesSequenceInterface::getAttributeModificationDateTimeTag ( ) const
inline

◆ getHL7InstanceIdentifier() [1/2]

bool ml::DcmDRTOriginalAttributesSequenceInterface::getHL7InstanceIdentifier ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getHL7InstanceIdentifier() [2/2]

bool ml::DcmDRTOriginalAttributesSequenceInterface::getHL7InstanceIdentifier ( unsigned long idx,
std::string & parameter ) const

◆ getHL7InstanceIdentifierTag()

std::string ml::DcmDRTOriginalAttributesSequenceInterface::getHL7InstanceIdentifierTag ( ) const
inline

◆ getItem()

DcmDRTOriginalAttributesSequenceInterface::Item ml::DcmDRTOriginalAttributesSequenceInterface::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 213 of file mlDcmDRTOriginalAttributesSequenceInterface.h.

References mlrange_cast().

◆ getModifiedAttributesSequence()

DcmDRTModifiedAttributesSequenceInterface ml::DcmDRTOriginalAttributesSequenceInterface::getModifiedAttributesSequence ( unsigned long idx) const

◆ getModifiedAttributesSequenceTag()

std::string ml::DcmDRTOriginalAttributesSequenceInterface::getModifiedAttributesSequenceTag ( ) const
inline

◆ getModifyingSystem() [1/2]

bool ml::DcmDRTOriginalAttributesSequenceInterface::getModifyingSystem ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getModifyingSystem() [2/2]

bool ml::DcmDRTOriginalAttributesSequenceInterface::getModifyingSystem ( unsigned long idx,
std::string & parameter ) const

◆ getModifyingSystemTag()

std::string ml::DcmDRTOriginalAttributesSequenceInterface::getModifyingSystemTag ( ) const
inline

◆ getNumberOfItems()

MLint ml::DcmDRTOriginalAttributesSequenceInterface::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 207 of file mlDcmDRTOriginalAttributesSequenceInterface.h.

◆ getReasonForTheAttributeModification() [1/2]

bool ml::DcmDRTOriginalAttributesSequenceInterface::getReasonForTheAttributeModification ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getReasonForTheAttributeModification() [2/2]

bool ml::DcmDRTOriginalAttributesSequenceInterface::getReasonForTheAttributeModification ( unsigned long idx,
std::string & parameter ) const

◆ getReasonForTheAttributeModificationTag()

std::string ml::DcmDRTOriginalAttributesSequenceInterface::getReasonForTheAttributeModificationTag ( ) const
inline

◆ getReferencedSOPClassUID() [1/2]

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

◆ getReferencedSOPClassUID() [2/2]

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

◆ getReferencedSOPClassUIDTag()

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

◆ getReferencedSOPInstanceUID() [1/2]

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

◆ getReferencedSOPInstanceUID() [2/2]

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

◆ getReferencedSOPInstanceUIDTag()

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

◆ getRetrieveURI() [1/2]

bool ml::DcmDRTOriginalAttributesSequenceInterface::getRetrieveURI ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getRetrieveURI() [2/2]

bool ml::DcmDRTOriginalAttributesSequenceInterface::getRetrieveURI ( unsigned long idx,
std::string & parameter ) const

◆ getRetrieveURITag()

std::string ml::DcmDRTOriginalAttributesSequenceInterface::getRetrieveURITag ( ) const
inline

◆ getSequence()

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

Return the DRTOriginalAttributesSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTOriginalAttributesSequence

Definition at line 195 of file mlDcmDRTOriginalAttributesSequenceInterface.h.

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

◆ getSourceOfPreviousValues() [1/2]

bool ml::DcmDRTOriginalAttributesSequenceInterface::getSourceOfPreviousValues ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getSourceOfPreviousValues() [2/2]

bool ml::DcmDRTOriginalAttributesSequenceInterface::getSourceOfPreviousValues ( unsigned long idx,
std::string & parameter ) const

◆ getSourceOfPreviousValuesTag()

std::string ml::DcmDRTOriginalAttributesSequenceInterface::getSourceOfPreviousValuesTag ( ) const
inline

◆ hasSequence()

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

Check if the DRTOriginalAttributesSequence is set.

Returns
True if internal pointer is set, False else.

Definition at line 201 of file mlDcmDRTOriginalAttributesSequenceInterface.h.

◆ insertItem()

bool ml::DcmDRTOriginalAttributesSequenceInterface::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 233 of file mlDcmDRTOriginalAttributesSequenceInterface.h.

References mlrange_cast().

◆ removeItem()

bool ml::DcmDRTOriginalAttributesSequenceInterface::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 245 of file mlDcmDRTOriginalAttributesSequenceInterface.h.

References mlrange_cast().

◆ setAttributeModificationDateTime()

bool ml::DcmDRTOriginalAttributesSequenceInterface::setAttributeModificationDateTime ( unsigned long idx,
std::string parameter )

◆ setHL7InstanceIdentifier()

bool ml::DcmDRTOriginalAttributesSequenceInterface::setHL7InstanceIdentifier ( unsigned long idx,
std::string parameter )

◆ setModifiedAttributesSequence()

void ml::DcmDRTOriginalAttributesSequenceInterface::setModifiedAttributesSequence ( DcmDRTModifiedAttributesSequenceInterface seq,
unsigned long idx )

◆ setModifyingSystem()

bool ml::DcmDRTOriginalAttributesSequenceInterface::setModifyingSystem ( unsigned long idx,
std::string parameter )

◆ setReasonForTheAttributeModification()

bool ml::DcmDRTOriginalAttributesSequenceInterface::setReasonForTheAttributeModification ( unsigned long idx,
std::string parameter )

◆ setReferencedSOPClassUID()

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

◆ setReferencedSOPInstanceUID()

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

◆ setRetrieveURI()

bool ml::DcmDRTOriginalAttributesSequenceInterface::setRetrieveURI ( unsigned long idx,
std::string parameter )

◆ setSequence()

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

Set the DRTOriginalAttributesSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTOriginalAttributesSequence

Definition at line 189 of file mlDcmDRTOriginalAttributesSequenceInterface.h.

References mlrange_cast().

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

◆ setSourceOfPreviousValues()

bool ml::DcmDRTOriginalAttributesSequenceInterface::setSourceOfPreviousValues ( unsigned long idx,
std::string parameter )

Member Data Documentation

◆ _itemVec

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

Reference to the wrapped DICOM tree pointer vector.

Definition at line 257 of file mlDcmDRTOriginalAttributesSequenceInterface.h.


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