MeVisLab Toolbox Reference
ml::DcmDRTPhysiciansOfRecordIdentificationSequenceInterface Class Reference

Class to provide access to DRTPhysiciansOfRecordIdentificationSequence. More...

#include <mlDcmDRTPhysiciansOfRecordIdentificationSequenceInterface.h>

Classes

class  Item
 

Public Member Functions

 DcmDRTPhysiciansOfRecordIdentificationSequenceInterface ()
 
 DcmDRTPhysiciansOfRecordIdentificationSequenceInterface (std::vector< DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::Item > dcmSequence)
 Default Constructor.
 
 DcmDRTPhysiciansOfRecordIdentificationSequenceInterface (DCMTree::TreePtrVector treePtrSeq)
 
virtual ~DcmDRTPhysiciansOfRecordIdentificationSequenceInterface ()
 Default virtual Destructor.
 
bool getInstitutionAddress (unsigned long idx, std::string &parameter) const
 
bool getInstitutionAddress (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getInstitutionAddressTag () const
 
bool setInstitutionAddress (unsigned long idx, std::string parameter)
 
bool getInstitutionName (unsigned long idx, std::string &parameter) const
 
bool getInstitutionName (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getInstitutionNameTag () const
 
bool setInstitutionName (unsigned long idx, std::string parameter)
 
bool getPersonAddress (unsigned long idx, std::string &parameter) const
 
bool getPersonAddress (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getPersonAddressTag () const
 
bool setPersonAddress (unsigned long idx, std::string parameter)
 
bool getPersonTelephoneNumbers (unsigned long idx, std::string &parameter) const
 
bool getPersonTelephoneNumbers (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getPersonTelephoneNumbersTag () const
 
bool setPersonTelephoneNumbers (unsigned long idx, std::string parameter)
 
DcmDRTInstitutionCodeSequenceInterface getInstitutionCodeSequence (unsigned long idx) const
 
std::string getInstitutionCodeSequenceTag () const
 
void setInstitutionCodeSequence (DcmDRTInstitutionCodeSequenceInterface seq, unsigned long idx)
 
DcmDRTPersonIdentificationCodeSequenceInterface getPersonIdentificationCodeSequence (unsigned long idx) const
 
std::string getPersonIdentificationCodeSequenceTag () const
 
void setPersonIdentificationCodeSequence (DcmDRTPersonIdentificationCodeSequenceInterface seq, unsigned long idx)
 
void setSequence (std::vector< DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::Item > dcmSequence)
 Set the DRTPhysiciansOfRecordIdentificationSequence this interface class provides access to.
 
std::vector< DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::ItemgetSequence () const
 Return the DRTPhysiciansOfRecordIdentificationSequence this interface class provides access to.
 
bool hasSequence () const
 Check if the DRTPhysiciansOfRecordIdentificationSequence is set.
 
MLint getNumberOfItems () const
 Return number of items the internal sequence consists of.
 
DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::Item getItem (const size_t idx) const
 Gets the item at the indicated position.
 
DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::ItemaddItem ()
 Adds a new item to the sequence.
 
void addItem (DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::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< DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::Item_itemVec
 Reference to the wrapped DICOM tree pointer vector.
 

Detailed Description

Class to provide access to DRTPhysiciansOfRecordIdentificationSequence.

Definition at line 45 of file mlDcmDRTPhysiciansOfRecordIdentificationSequenceInterface.h.

Constructor & Destructor Documentation

◆ DcmDRTPhysiciansOfRecordIdentificationSequenceInterface() [1/3]

ml::DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::DcmDRTPhysiciansOfRecordIdentificationSequenceInterface ( )
inline

◆ DcmDRTPhysiciansOfRecordIdentificationSequenceInterface() [2/3]

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

Default Constructor.

Definition at line 108 of file mlDcmDRTPhysiciansOfRecordIdentificationSequenceInterface.h.

◆ DcmDRTPhysiciansOfRecordIdentificationSequenceInterface() [3/3]

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

◆ ~DcmDRTPhysiciansOfRecordIdentificationSequenceInterface()

virtual ml::DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::~DcmDRTPhysiciansOfRecordIdentificationSequenceInterface ( )
inlinevirtual

Default virtual Destructor.

Definition at line 118 of file mlDcmDRTPhysiciansOfRecordIdentificationSequenceInterface.h.

Member Function Documentation

◆ addItem() [1/2]

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

Adds a new item to the sequence.

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

Definition at line 189 of file mlDcmDRTPhysiciansOfRecordIdentificationSequenceInterface.h.

◆ addItem() [2/2]

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

◆ getInstitutionAddress() [1/2]

bool ml::DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::getInstitutionAddress ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getInstitutionAddress() [2/2]

bool ml::DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::getInstitutionAddress ( unsigned long idx,
std::string & parameter ) const

◆ getInstitutionAddressTag()

std::string ml::DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::getInstitutionAddressTag ( ) const
inline

◆ getInstitutionCodeSequence()

DcmDRTInstitutionCodeSequenceInterface ml::DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::getInstitutionCodeSequence ( unsigned long idx) const

◆ getInstitutionCodeSequenceTag()

std::string ml::DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::getInstitutionCodeSequenceTag ( ) const
inline

◆ getInstitutionName() [1/2]

bool ml::DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::getInstitutionName ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getInstitutionName() [2/2]

bool ml::DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::getInstitutionName ( unsigned long idx,
std::string & parameter ) const

◆ getInstitutionNameTag()

std::string ml::DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::getInstitutionNameTag ( ) const
inline

◆ getItem()

DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::Item ml::DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::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 180 of file mlDcmDRTPhysiciansOfRecordIdentificationSequenceInterface.h.

References mlrange_cast().

◆ getNumberOfItems()

MLint ml::DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::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 174 of file mlDcmDRTPhysiciansOfRecordIdentificationSequenceInterface.h.

◆ getPersonAddress() [1/2]

bool ml::DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::getPersonAddress ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getPersonAddress() [2/2]

bool ml::DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::getPersonAddress ( unsigned long idx,
std::string & parameter ) const

◆ getPersonAddressTag()

std::string ml::DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::getPersonAddressTag ( ) const
inline

◆ getPersonIdentificationCodeSequence()

DcmDRTPersonIdentificationCodeSequenceInterface ml::DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::getPersonIdentificationCodeSequence ( unsigned long idx) const

◆ getPersonIdentificationCodeSequenceTag()

std::string ml::DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::getPersonIdentificationCodeSequenceTag ( ) const
inline

◆ getPersonTelephoneNumbers() [1/2]

bool ml::DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::getPersonTelephoneNumbers ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getPersonTelephoneNumbers() [2/2]

bool ml::DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::getPersonTelephoneNumbers ( unsigned long idx,
std::string & parameter ) const

◆ getPersonTelephoneNumbersTag()

std::string ml::DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::getPersonTelephoneNumbersTag ( ) const
inline

◆ getSequence()

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

Return the DRTPhysiciansOfRecordIdentificationSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTPhysiciansOfRecordIdentificationSequence

Definition at line 162 of file mlDcmDRTPhysiciansOfRecordIdentificationSequenceInterface.h.

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

◆ hasSequence()

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

Check if the DRTPhysiciansOfRecordIdentificationSequence is set.

Returns
True if internal pointer is set, False else.

Definition at line 168 of file mlDcmDRTPhysiciansOfRecordIdentificationSequenceInterface.h.

◆ insertItem()

bool ml::DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::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 200 of file mlDcmDRTPhysiciansOfRecordIdentificationSequenceInterface.h.

References mlrange_cast().

◆ removeItem()

bool ml::DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::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 212 of file mlDcmDRTPhysiciansOfRecordIdentificationSequenceInterface.h.

References mlrange_cast().

◆ setInstitutionAddress()

bool ml::DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::setInstitutionAddress ( unsigned long idx,
std::string parameter )

◆ setInstitutionCodeSequence()

void ml::DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::setInstitutionCodeSequence ( DcmDRTInstitutionCodeSequenceInterface seq,
unsigned long idx )

◆ setInstitutionName()

bool ml::DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::setInstitutionName ( unsigned long idx,
std::string parameter )

◆ setPersonAddress()

bool ml::DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::setPersonAddress ( unsigned long idx,
std::string parameter )

◆ setPersonIdentificationCodeSequence()

void ml::DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::setPersonIdentificationCodeSequence ( DcmDRTPersonIdentificationCodeSequenceInterface seq,
unsigned long idx )

◆ setPersonTelephoneNumbers()

bool ml::DcmDRTPhysiciansOfRecordIdentificationSequenceInterface::setPersonTelephoneNumbers ( unsigned long idx,
std::string parameter )

◆ setSequence()

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

Set the DRTPhysiciansOfRecordIdentificationSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTPhysiciansOfRecordIdentificationSequence

Definition at line 156 of file mlDcmDRTPhysiciansOfRecordIdentificationSequenceInterface.h.

References mlrange_cast().

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

Member Data Documentation

◆ _itemVec

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

Reference to the wrapped DICOM tree pointer vector.

Definition at line 224 of file mlDcmDRTPhysiciansOfRecordIdentificationSequenceInterface.h.


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