|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Representation of a DICOM tag. More...
#include <mitkDICOMTag.h>
Public Member Functions | |
| DICOMTag (unsigned int group, unsigned int element) | |
| Construct a DICOMTag from group and element numbers. More... | |
| DICOMTag (const DICOMTag &other) | |
| Copy constructor. More... | |
| DICOMTag & | operator= (const DICOMTag &other) |
| Assignment operator. More... | |
| bool | operator== (const DICOMTag &other) const |
| Equality comparison operator. More... | |
| bool | operator< (const DICOMTag &other) const |
| Less-than comparison operator (for sorting/containers). More... | |
| unsigned int | GetGroup () const |
| Get the DICOM group number. More... | |
| unsigned int | GetElement () const |
| Get the DICOM element number. More... | |
| std::string | GetName () const |
| Return the name of this tag (e.g. "SeriesDescription" instead of "(0008,103e)"). More... | |
| void | Print (std::ostream &os) const |
| Print "(group-id,element-id) name" to the 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 | ||
| ) |
Construct a DICOMTag from group and element numbers.
| [in] | group | The DICOM tag group number (e.g. 0x0010). |
| [in] | element | The DICOM tag element number (e.g. 0x0010). |
| mitk::DICOMTag::DICOMTag | ( | const DICOMTag & | other | ) |
Copy constructor.
| unsigned int mitk::DICOMTag::GetElement | ( | ) | const |
Get the DICOM element number.
| unsigned int mitk::DICOMTag::GetGroup | ( | ) | const |
Get the DICOM group number.
| std::string mitk::DICOMTag::GetName | ( | ) | const |
Return the name of this tag (e.g. "SeriesDescription" instead of "(0008,103e)").
| bool mitk::DICOMTag::operator< | ( | const DICOMTag & | other | ) | const |
Less-than comparison operator (for sorting/containers).
| [in] | other | The tag to compare with. |
| bool mitk::DICOMTag::operator== | ( | const DICOMTag & | other | ) | const |
Equality comparison operator.
| [in] | other | The tag to compare with. |
| void mitk::DICOMTag::Print | ( | std::ostream & | os | ) | const |
Print "(group-id,element-id) name" to the given stream.
| [in,out] | os | The output stream to print to. |