Medical Imaging Interaction Toolkit  2018.4.99-b7f3afaa
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 
)

Definition at line 24 of file mitkDICOMTag.cpp.

◆ DICOMTag() [2/2]

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

Definition at line 31 of file mitkDICOMTag.cpp.

References operator==().

Member Function Documentation

◆ GetElement()

◆ GetGroup()

◆ GetName()

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

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

Definition at line 89 of file mitkDICOMTag.cpp.

References Print().

Referenced by mitk::DICOMTagsOfInterestService::AddTagOfInterest(), mitk::DICOMReaderConfigurator::CreateConfigStringFromReader(), operator<(), and Print().

◆ operator<()

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

Definition at line 76 of file mitkDICOMTag.cpp.

References GetName().

Referenced by GetElement().

◆ operator=()

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

Definition at line 50 of file mitkDICOMTag.cpp.

References GetGroup().

Referenced by operator==().

◆ operator==()

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

Definition at line 39 of file mitkDICOMTag.cpp.

References operator=().

Referenced by DICOMTag().

◆ Print()

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

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

Definition at line 118 of file mitkDICOMTag.cpp.

References GetName().

Referenced by GetName(), mitk::DICOMGDCMTagCache::GetTagValue(), and mitk::DICOMSortByTag::Print().


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