MeVisLab Toolbox Reference
ml::DcmDRTDigitalSignaturesSequenceInterface Class Reference

Class to provide access to DRTDigitalSignaturesSequence. More...

#include <mlDcmDRTDigitalSignaturesSequenceInterface.h>

Classes

class  Item
 

Public Member Functions

 DcmDRTDigitalSignaturesSequenceInterface ()
 
 DcmDRTDigitalSignaturesSequenceInterface (std::vector< DcmDRTDigitalSignaturesSequenceInterface::Item > dcmSequence)
 Default Constructor.
 
 DcmDRTDigitalSignaturesSequenceInterface (DCMTree::TreePtrVector treePtrSeq)
 
virtual ~DcmDRTDigitalSignaturesSequenceInterface ()
 Default virtual Destructor.
 
bool getCertificateOfSigner (unsigned long idx, int &parameter) const
 
bool getCertificateOfSigner (DCMTree::TreePtr item, int &parameter) const
 
std::string getCertificateOfSignerTag () const
 
bool setCertificateOfSigner (unsigned long idx, int parameter)
 
bool getCertificateType (unsigned long idx, std::string &parameter) const
 
bool getCertificateType (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getCertificateTypeTag () const
 
bool setCertificateType (unsigned long idx, std::string parameter)
 
bool getCertifiedTimestamp (unsigned long idx, int &parameter) const
 
bool getCertifiedTimestamp (DCMTree::TreePtr item, int &parameter) const
 
std::string getCertifiedTimestampTag () const
 
bool setCertifiedTimestamp (unsigned long idx, int parameter)
 
bool getCertifiedTimestampType (unsigned long idx, std::string &parameter) const
 
bool getCertifiedTimestampType (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getCertifiedTimestampTypeTag () const
 
bool setCertifiedTimestampType (unsigned long idx, std::string parameter)
 
bool getDigitalSignatureDateTime (unsigned long idx, std::string &parameter) const
 
bool getDigitalSignatureDateTime (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getDigitalSignatureDateTimeTag () const
 
bool setDigitalSignatureDateTime (unsigned long idx, std::string parameter)
 
bool getDigitalSignatureUID (unsigned long idx, std::string &parameter) const
 
bool getDigitalSignatureUID (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getDigitalSignatureUIDTag () const
 
bool setDigitalSignatureUID (unsigned long idx, std::string parameter)
 
bool getMACIDNumber (unsigned long idx, MLuint16 &parameter) const
 
bool getMACIDNumber (DCMTree::TreePtr item, MLuint16 &parameter) const
 
std::string getMACIDNumberTag () const
 
bool setMACIDNumber (unsigned long idx, MLuint16 parameter)
 
bool getSignature (unsigned long idx, int &parameter) const
 
bool getSignature (DCMTree::TreePtr item, int &parameter) const
 
std::string getSignatureTag () const
 
bool setSignature (unsigned long idx, int parameter)
 
DcmDRTDigitalSignaturePurposeCodeSequenceInterface getDigitalSignaturePurposeCodeSequence (unsigned long idx) const
 
std::string getDigitalSignaturePurposeCodeSequenceTag () const
 
void setDigitalSignaturePurposeCodeSequence (DcmDRTDigitalSignaturePurposeCodeSequenceInterface seq, unsigned long idx)
 
void setSequence (std::vector< DcmDRTDigitalSignaturesSequenceInterface::Item > dcmSequence)
 Set the DRTDigitalSignaturesSequence this interface class provides access to.
 
std::vector< DcmDRTDigitalSignaturesSequenceInterface::ItemgetSequence () const
 Return the DRTDigitalSignaturesSequence this interface class provides access to.
 
bool hasSequence () const
 Check if the DRTDigitalSignaturesSequence is set.
 
MLint getNumberOfItems () const
 Return number of items the internal sequence consists of.
 
DcmDRTDigitalSignaturesSequenceInterface::Item getItem (const size_t idx) const
 Gets the item at the indicated position.
 
DcmDRTDigitalSignaturesSequenceInterface::ItemaddItem ()
 Adds a new item to the sequence.
 
void addItem (DcmDRTDigitalSignaturesSequenceInterface::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< DcmDRTDigitalSignaturesSequenceInterface::Item_itemVec
 Reference to the wrapped DICOM tree pointer vector.
 

Detailed Description

Class to provide access to DRTDigitalSignaturesSequence.

Definition at line 44 of file mlDcmDRTDigitalSignaturesSequenceInterface.h.

Constructor & Destructor Documentation

◆ DcmDRTDigitalSignaturesSequenceInterface() [1/3]

ml::DcmDRTDigitalSignaturesSequenceInterface::DcmDRTDigitalSignaturesSequenceInterface ( )
inline

◆ DcmDRTDigitalSignaturesSequenceInterface() [2/3]

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

Default Constructor.

Definition at line 122 of file mlDcmDRTDigitalSignaturesSequenceInterface.h.

◆ DcmDRTDigitalSignaturesSequenceInterface() [3/3]

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

Definition at line 124 of file mlDcmDRTDigitalSignaturesSequenceInterface.h.

References mlrange_cast().

◆ ~DcmDRTDigitalSignaturesSequenceInterface()

virtual ml::DcmDRTDigitalSignaturesSequenceInterface::~DcmDRTDigitalSignaturesSequenceInterface ( )
inlinevirtual

Default virtual Destructor.

Definition at line 132 of file mlDcmDRTDigitalSignaturesSequenceInterface.h.

Member Function Documentation

◆ addItem() [1/2]

DcmDRTDigitalSignaturesSequenceInterface::Item & ml::DcmDRTDigitalSignaturesSequenceInterface::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 mlDcmDRTDigitalSignaturesSequenceInterface.h.

◆ addItem() [2/2]

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

Definition at line 227 of file mlDcmDRTDigitalSignaturesSequenceInterface.h.

References mlrange_cast().

◆ getCertificateOfSigner() [1/2]

bool ml::DcmDRTDigitalSignaturesSequenceInterface::getCertificateOfSigner ( DCMTree::TreePtr item,
int & parameter ) const

◆ getCertificateOfSigner() [2/2]

bool ml::DcmDRTDigitalSignaturesSequenceInterface::getCertificateOfSigner ( unsigned long idx,
int & parameter ) const

◆ getCertificateOfSignerTag()

std::string ml::DcmDRTDigitalSignaturesSequenceInterface::getCertificateOfSignerTag ( ) const
inline

◆ getCertificateType() [1/2]

bool ml::DcmDRTDigitalSignaturesSequenceInterface::getCertificateType ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getCertificateType() [2/2]

bool ml::DcmDRTDigitalSignaturesSequenceInterface::getCertificateType ( unsigned long idx,
std::string & parameter ) const

◆ getCertificateTypeTag()

std::string ml::DcmDRTDigitalSignaturesSequenceInterface::getCertificateTypeTag ( ) const
inline

◆ getCertifiedTimestamp() [1/2]

bool ml::DcmDRTDigitalSignaturesSequenceInterface::getCertifiedTimestamp ( DCMTree::TreePtr item,
int & parameter ) const

◆ getCertifiedTimestamp() [2/2]

bool ml::DcmDRTDigitalSignaturesSequenceInterface::getCertifiedTimestamp ( unsigned long idx,
int & parameter ) const

◆ getCertifiedTimestampTag()

std::string ml::DcmDRTDigitalSignaturesSequenceInterface::getCertifiedTimestampTag ( ) const
inline

◆ getCertifiedTimestampType() [1/2]

bool ml::DcmDRTDigitalSignaturesSequenceInterface::getCertifiedTimestampType ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getCertifiedTimestampType() [2/2]

bool ml::DcmDRTDigitalSignaturesSequenceInterface::getCertifiedTimestampType ( unsigned long idx,
std::string & parameter ) const

◆ getCertifiedTimestampTypeTag()

std::string ml::DcmDRTDigitalSignaturesSequenceInterface::getCertifiedTimestampTypeTag ( ) const
inline

◆ getDigitalSignatureDateTime() [1/2]

bool ml::DcmDRTDigitalSignaturesSequenceInterface::getDigitalSignatureDateTime ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getDigitalSignatureDateTime() [2/2]

bool ml::DcmDRTDigitalSignaturesSequenceInterface::getDigitalSignatureDateTime ( unsigned long idx,
std::string & parameter ) const

◆ getDigitalSignatureDateTimeTag()

std::string ml::DcmDRTDigitalSignaturesSequenceInterface::getDigitalSignatureDateTimeTag ( ) const
inline

◆ getDigitalSignaturePurposeCodeSequence()

DcmDRTDigitalSignaturePurposeCodeSequenceInterface ml::DcmDRTDigitalSignaturesSequenceInterface::getDigitalSignaturePurposeCodeSequence ( unsigned long idx) const

◆ getDigitalSignaturePurposeCodeSequenceTag()

std::string ml::DcmDRTDigitalSignaturesSequenceInterface::getDigitalSignaturePurposeCodeSequenceTag ( ) const
inline

◆ getDigitalSignatureUID() [1/2]

bool ml::DcmDRTDigitalSignaturesSequenceInterface::getDigitalSignatureUID ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getDigitalSignatureUID() [2/2]

bool ml::DcmDRTDigitalSignaturesSequenceInterface::getDigitalSignatureUID ( unsigned long idx,
std::string & parameter ) const

◆ getDigitalSignatureUIDTag()

std::string ml::DcmDRTDigitalSignaturesSequenceInterface::getDigitalSignatureUIDTag ( ) const
inline

◆ getItem()

DcmDRTDigitalSignaturesSequenceInterface::Item ml::DcmDRTDigitalSignaturesSequenceInterface::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 mlDcmDRTDigitalSignaturesSequenceInterface.h.

References mlrange_cast().

◆ getMACIDNumber() [1/2]

bool ml::DcmDRTDigitalSignaturesSequenceInterface::getMACIDNumber ( DCMTree::TreePtr item,
MLuint16 & parameter ) const

◆ getMACIDNumber() [2/2]

bool ml::DcmDRTDigitalSignaturesSequenceInterface::getMACIDNumber ( unsigned long idx,
MLuint16 & parameter ) const

◆ getMACIDNumberTag()

std::string ml::DcmDRTDigitalSignaturesSequenceInterface::getMACIDNumberTag ( ) const
inline

◆ getNumberOfItems()

MLint ml::DcmDRTDigitalSignaturesSequenceInterface::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 mlDcmDRTDigitalSignaturesSequenceInterface.h.

◆ getSequence()

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

Return the DRTDigitalSignaturesSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTDigitalSignaturesSequence

Definition at line 195 of file mlDcmDRTDigitalSignaturesSequenceInterface.h.

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

◆ getSignature() [1/2]

bool ml::DcmDRTDigitalSignaturesSequenceInterface::getSignature ( DCMTree::TreePtr item,
int & parameter ) const

◆ getSignature() [2/2]

bool ml::DcmDRTDigitalSignaturesSequenceInterface::getSignature ( unsigned long idx,
int & parameter ) const

◆ getSignatureTag()

std::string ml::DcmDRTDigitalSignaturesSequenceInterface::getSignatureTag ( ) const
inline

◆ hasSequence()

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

Check if the DRTDigitalSignaturesSequence is set.

Returns
True if internal pointer is set, False else.

Definition at line 201 of file mlDcmDRTDigitalSignaturesSequenceInterface.h.

◆ insertItem()

bool ml::DcmDRTDigitalSignaturesSequenceInterface::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 mlDcmDRTDigitalSignaturesSequenceInterface.h.

References mlrange_cast().

◆ removeItem()

bool ml::DcmDRTDigitalSignaturesSequenceInterface::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 mlDcmDRTDigitalSignaturesSequenceInterface.h.

References mlrange_cast().

◆ setCertificateOfSigner()

bool ml::DcmDRTDigitalSignaturesSequenceInterface::setCertificateOfSigner ( unsigned long idx,
int parameter )

◆ setCertificateType()

bool ml::DcmDRTDigitalSignaturesSequenceInterface::setCertificateType ( unsigned long idx,
std::string parameter )

◆ setCertifiedTimestamp()

bool ml::DcmDRTDigitalSignaturesSequenceInterface::setCertifiedTimestamp ( unsigned long idx,
int parameter )

◆ setCertifiedTimestampType()

bool ml::DcmDRTDigitalSignaturesSequenceInterface::setCertifiedTimestampType ( unsigned long idx,
std::string parameter )

◆ setDigitalSignatureDateTime()

bool ml::DcmDRTDigitalSignaturesSequenceInterface::setDigitalSignatureDateTime ( unsigned long idx,
std::string parameter )

◆ setDigitalSignaturePurposeCodeSequence()

void ml::DcmDRTDigitalSignaturesSequenceInterface::setDigitalSignaturePurposeCodeSequence ( DcmDRTDigitalSignaturePurposeCodeSequenceInterface seq,
unsigned long idx )

◆ setDigitalSignatureUID()

bool ml::DcmDRTDigitalSignaturesSequenceInterface::setDigitalSignatureUID ( unsigned long idx,
std::string parameter )

◆ setMACIDNumber()

bool ml::DcmDRTDigitalSignaturesSequenceInterface::setMACIDNumber ( unsigned long idx,
MLuint16 parameter )

◆ setSequence()

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

Set the DRTDigitalSignaturesSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTDigitalSignaturesSequence

Definition at line 189 of file mlDcmDRTDigitalSignaturesSequenceInterface.h.

References mlrange_cast().

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

◆ setSignature()

bool ml::DcmDRTDigitalSignaturesSequenceInterface::setSignature ( unsigned long idx,
int parameter )

Member Data Documentation

◆ _itemVec

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

Reference to the wrapped DICOM tree pointer vector.

Definition at line 257 of file mlDcmDRTDigitalSignaturesSequenceInterface.h.


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