Medical Imaging Interaction Toolkit
2016.11.0
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 37 of file mitkDICOMTag.h.
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.
unsigned int mitk::DICOMTag::GetElement | ( | ) | const |
Definition at line 76 of file mitkDICOMTag.cpp.
Referenced by mitk::DICOMGDCMTagScanner::AddTag(), and mitk::DICOMGDCMImageFrameInfo::GetTagValueAsString().
unsigned int mitk::DICOMTag::GetGroup | ( | ) | const |
Definition at line 69 of file mitkDICOMTag.cpp.
Referenced by mitk::DICOMGDCMTagScanner::AddTag(), and mitk::DICOMGDCMImageFrameInfo::GetTagValueAsString().
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().