MeVisLab Toolbox Reference
ml::DcmDRTEncryptedAttributesSequenceInterface Class Reference

Class to provide access to DRTEncryptedAttributesSequence. More...

#include <mlDcmDRTEncryptedAttributesSequenceInterface.h>

Classes

class  Item
 

Public Member Functions

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

Detailed Description

Class to provide access to DRTEncryptedAttributesSequence.

Definition at line 43 of file mlDcmDRTEncryptedAttributesSequenceInterface.h.

Constructor & Destructor Documentation

◆ DcmDRTEncryptedAttributesSequenceInterface() [1/3]

ml::DcmDRTEncryptedAttributesSequenceInterface::DcmDRTEncryptedAttributesSequenceInterface ( )
inline

◆ DcmDRTEncryptedAttributesSequenceInterface() [2/3]

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

Default Constructor.

Definition at line 86 of file mlDcmDRTEncryptedAttributesSequenceInterface.h.

◆ DcmDRTEncryptedAttributesSequenceInterface() [3/3]

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

Definition at line 88 of file mlDcmDRTEncryptedAttributesSequenceInterface.h.

References mlrange_cast().

◆ ~DcmDRTEncryptedAttributesSequenceInterface()

virtual ml::DcmDRTEncryptedAttributesSequenceInterface::~DcmDRTEncryptedAttributesSequenceInterface ( )
inlinevirtual

Default virtual Destructor.

Definition at line 96 of file mlDcmDRTEncryptedAttributesSequenceInterface.h.

Member Function Documentation

◆ addItem() [1/2]

DcmDRTEncryptedAttributesSequenceInterface::Item & ml::DcmDRTEncryptedAttributesSequenceInterface::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 mlDcmDRTEncryptedAttributesSequenceInterface.h.

◆ addItem() [2/2]

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

Definition at line 150 of file mlDcmDRTEncryptedAttributesSequenceInterface.h.

References mlrange_cast().

◆ getEncryptedContent() [1/2]

bool ml::DcmDRTEncryptedAttributesSequenceInterface::getEncryptedContent ( DCMTree::TreePtr item,
int & parameter ) const

◆ getEncryptedContent() [2/2]

bool ml::DcmDRTEncryptedAttributesSequenceInterface::getEncryptedContent ( unsigned long idx,
int & parameter ) const

◆ getEncryptedContentTag()

std::string ml::DcmDRTEncryptedAttributesSequenceInterface::getEncryptedContentTag ( ) const
inline

◆ getEncryptedContentTransferSyntaxUID() [1/2]

bool ml::DcmDRTEncryptedAttributesSequenceInterface::getEncryptedContentTransferSyntaxUID ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getEncryptedContentTransferSyntaxUID() [2/2]

bool ml::DcmDRTEncryptedAttributesSequenceInterface::getEncryptedContentTransferSyntaxUID ( unsigned long idx,
std::string & parameter ) const

◆ getEncryptedContentTransferSyntaxUIDTag()

std::string ml::DcmDRTEncryptedAttributesSequenceInterface::getEncryptedContentTransferSyntaxUIDTag ( ) const
inline

◆ getItem()

DcmDRTEncryptedAttributesSequenceInterface::Item ml::DcmDRTEncryptedAttributesSequenceInterface::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 mlDcmDRTEncryptedAttributesSequenceInterface.h.

References mlrange_cast().

◆ getNumberOfItems()

MLint ml::DcmDRTEncryptedAttributesSequenceInterface::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 mlDcmDRTEncryptedAttributesSequenceInterface.h.

◆ getSequence()

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

Return the DRTEncryptedAttributesSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTEncryptedAttributesSequence

Definition at line 118 of file mlDcmDRTEncryptedAttributesSequenceInterface.h.

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

◆ hasSequence()

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

Check if the DRTEncryptedAttributesSequence is set.

Returns
True if internal pointer is set, False else.

Definition at line 124 of file mlDcmDRTEncryptedAttributesSequenceInterface.h.

◆ insertItem()

bool ml::DcmDRTEncryptedAttributesSequenceInterface::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 mlDcmDRTEncryptedAttributesSequenceInterface.h.

References mlrange_cast().

◆ removeItem()

bool ml::DcmDRTEncryptedAttributesSequenceInterface::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 mlDcmDRTEncryptedAttributesSequenceInterface.h.

References mlrange_cast().

◆ setEncryptedContent()

bool ml::DcmDRTEncryptedAttributesSequenceInterface::setEncryptedContent ( unsigned long idx,
int parameter )

◆ setEncryptedContentTransferSyntaxUID()

bool ml::DcmDRTEncryptedAttributesSequenceInterface::setEncryptedContentTransferSyntaxUID ( unsigned long idx,
std::string parameter )

◆ setSequence()

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

Set the DRTEncryptedAttributesSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTEncryptedAttributesSequence

Definition at line 112 of file mlDcmDRTEncryptedAttributesSequenceInterface.h.

References mlrange_cast().

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

Member Data Documentation

◆ _itemVec

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

Reference to the wrapped DICOM tree pointer vector.

Definition at line 180 of file mlDcmDRTEncryptedAttributesSequenceInterface.h.


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