Medical Imaging Interaction Toolkit  2016.11.0
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 37 of file mitkDICOMTag.h.

Constructor & Destructor Documentation

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

Definition at line 31 of file mitkDICOMTag.cpp.

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

Definition at line 38 of file mitkDICOMTag.cpp.

Member Function Documentation

unsigned int mitk::DICOMTag::GetElement ( ) const
unsigned int mitk::DICOMTag::GetGroup ( ) const
std::string mitk::DICOMTag::GetName ( ) const

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

Definition at line 96 of file mitkDICOMTag.cpp.

Referenced by mitk::DICOMTagsOfInterestService::AddTagOfInterest().

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

Definition at line 83 of file mitkDICOMTag.cpp.

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

Definition at line 57 of file mitkDICOMTag.cpp.

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

Definition at line 46 of file mitkDICOMTag.cpp.

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

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

Definition at line 125 of file mitkDICOMTag.cpp.

References GetName().

Referenced by mitk::DICOMGDCMTagCache::GetTagValue().


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