|
Medical Imaging Interaction Toolkit
2025.12.02
Medical Imaging Interaction Toolkit
|
Represents a DICOM Code Sequence with value, scheme, and meaning. More...
#include <mitkDICOMCodeSequence.h>


Public Member Functions | |
| DICOMCodeSequence ()=default | |
| DICOMCodeSequence (const std::string &value, const std::string &scheme, const std::string &meaning) | |
| Constructs a DICOMCodeSequence with the specified attributes. More... | |
| virtual | ~DICOMCodeSequence ()=default |
| DICOMCodeSequence (const DICOMCodeSequence &)=default | |
| DICOMCodeSequence & | operator= (const DICOMCodeSequence &)=default |
| DICOMCodeSequence (DICOMCodeSequence &&)=default | |
| DICOMCodeSequence & | operator= (DICOMCodeSequence &&)=default |
| const std::string & | GetValue () const |
| Gets the Code Value. More... | |
| void | SetValue (const std::string &value) |
| Sets the Code Value. More... | |
| const std::string & | GetScheme () const |
| Gets the Coding Scheme Designator. More... | |
| void | SetScheme (const std::string &scheme) |
| Sets the Coding Scheme Designator. More... | |
| const std::string & | GetMeaning () const |
| Gets the Code Meaning. More... | |
| void | SetMeaning (const std::string &meaning) |
| Sets the Code Meaning. More... | |
| bool | IsEmpty () const |
| Checks if the code is empty (all fields empty). More... | |
| bool | operator== (const DICOMCodeSequence &other) const |
| Equality comparison operator. More... | |
| bool | operator!= (const DICOMCodeSequence &other) const |
| Inequality comparison operator. More... | |
Protected Attributes | |
| std::string | m_Value |
| std::string | m_Scheme |
| std::string | m_Meaning |
Represents a DICOM Code Sequence with value, scheme, and meaning.
This class provides a simplified representation of a DICOM Code Sequence, storing only the essential elements: Code Value, Coding Scheme Designator, and Code Meaning. It abstracts the underlying DICOM library implementation. The code value might stem from one of the following DICOM tags:
Definition at line 35 of file mitkDICOMCodeSequence.h.
|
default |
| mitk::DICOMCodeSequence::DICOMCodeSequence | ( | const std::string & | value, |
| const std::string & | scheme, | ||
| const std::string & | meaning | ||
| ) |
Constructs a DICOMCodeSequence with the specified attributes.
| value | The Code Value (0008,0100), Long Code Value (0008,0119), or URN Code Value (0008,0120) |
| scheme | The Coding Scheme Designator (0008,0102) |
| meaning | The Code Meaning (0008,0104) |
|
virtualdefault |
|
default |
|
default |
| const std::string& mitk::DICOMCodeSequence::GetMeaning | ( | ) | const |
Gets the Code Meaning.
| const std::string& mitk::DICOMCodeSequence::GetScheme | ( | ) | const |
Gets the Coding Scheme Designator.
| const std::string& mitk::DICOMCodeSequence::GetValue | ( | ) | const |
Gets the Code Value.
| bool mitk::DICOMCodeSequence::IsEmpty | ( | ) | const |
Checks if the code is empty (all fields empty).
| bool mitk::DICOMCodeSequence::operator!= | ( | const DICOMCodeSequence & | other | ) | const |
Inequality comparison operator.
| other | The DICOMCodeSequence to compare with |
|
default |
|
default |
| bool mitk::DICOMCodeSequence::operator== | ( | const DICOMCodeSequence & | other | ) | const |
Equality comparison operator.
| other | The DICOMCodeSequence to compare with |
| void mitk::DICOMCodeSequence::SetMeaning | ( | const std::string & | meaning | ) |
Sets the Code Meaning.
| void mitk::DICOMCodeSequence::SetScheme | ( | const std::string & | scheme | ) |
Sets the Coding Scheme Designator.
| void mitk::DICOMCodeSequence::SetValue | ( | const std::string & | value | ) |
Sets the Code Value.
|
protected |
Definition at line 108 of file mitkDICOMCodeSequence.h.
|
protected |
Definition at line 107 of file mitkDICOMCodeSequence.h.
|
protected |
Definition at line 106 of file mitkDICOMCodeSequence.h.