Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
Representation of a DICOM tag. More...
#include <mitkDICOMTag.h>
Public Member Functions | |
DICOMTag (unsigned int group, unsigned int element) | |
DICOMTag (const DICOMTag &other) | |
DICOMTag & | operator= (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... | |
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.
mitk::DICOMTag::DICOMTag | ( | unsigned int | group, |
unsigned int | element | ||
) |
Definition at line 24 of file mitkDICOMTag.cpp.
mitk::DICOMTag::DICOMTag | ( | const DICOMTag & | other | ) |
Definition at line 31 of file mitkDICOMTag.cpp.
References operator==().
unsigned int mitk::DICOMTag::GetElement | ( | ) | const |
Definition at line 69 of file mitkDICOMTag.cpp.
References operator<().
Referenced by mitk::DICOMGDCMTagScanner::AddTag(), mitk::DICOMReaderConfigurator::CreateConfigStringFromReader(), mitk::DICOMQIPropertyHelper::DeriveDICOMSourceProperties(), GetGroup(), and mitk::DICOMGDCMImageFrameInfo::GetTagValueAsString().
unsigned int mitk::DICOMTag::GetGroup | ( | ) | const |
Definition at line 62 of file mitkDICOMTag.cpp.
References GetElement().
Referenced by mitk::DICOMGDCMTagScanner::AddTag(), mitk::DICOMReaderConfigurator::CreateConfigStringFromReader(), mitk::DICOMQIPropertyHelper::DeriveDICOMSourceProperties(), mitk::DICOMGDCMImageFrameInfo::GetTagValueAsString(), and operator=().
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().
bool mitk::DICOMTag::operator< | ( | const DICOMTag & | other | ) | const |
mitk::DICOMTag & mitk::DICOMTag::operator= | ( | const DICOMTag & | other | ) |
bool mitk::DICOMTag::operator== | ( | const DICOMTag & | other | ) | const |
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().