Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
mitk::DICOMTag Class Reference

Representation of a DICOM tag. More...

#include <mitkDICOMTag.h>

Public Member Functions

 DICOMTag (unsigned int group, unsigned int element)
 
 DICOMTag (const DICOMTag &other)
 
DICOMTagoperator= (const DICOMTag &other)
 
bool operator== (const DICOMTag &other) const
 
bool operator< (const DICOMTag &other) const
 
unsigned int GetGroup () const
 
unsigned int GetElement () const
 
std::string GetName () const
 Return the name of this tag (e.g. "SeriesDescription" instead of "(0008,103e)") More...
 
void Print (std::ostream &os) const
 add "(group-id,element-id) name" to given stream More...
 

Detailed Description

Representation of a DICOM tag.

This class is just meant to combine group and element numbers for better readability and make handling tags more easy by offering comparison methods.

Definition at line 32 of file mitkDICOMTag.h.

Constructor & Destructor Documentation

◆ DICOMTag() [1/2]

mitk::DICOMTag::DICOMTag ( unsigned int  group,
unsigned int  element 
)

◆ DICOMTag() [2/2]

mitk::DICOMTag::DICOMTag ( const DICOMTag other)

Member Function Documentation

◆ GetElement()

unsigned int mitk::DICOMTag::GetElement ( ) const

◆ GetGroup()

unsigned int mitk::DICOMTag::GetGroup ( ) const

◆ GetName()

std::string mitk::DICOMTag::GetName ( ) const

Return the name of this tag (e.g. "SeriesDescription" instead of "(0008,103e)")

◆ operator<()

bool mitk::DICOMTag::operator< ( const DICOMTag other) const

◆ operator=()

DICOMTag& mitk::DICOMTag::operator= ( const DICOMTag other)

◆ operator==()

bool mitk::DICOMTag::operator== ( const DICOMTag other) const

◆ Print()

void mitk::DICOMTag::Print ( std::ostream &  os) const

add "(group-id,element-id) name" to given stream


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