7 #ifndef __FWGDCMIO_CONTAINER_DICOMCODEDATTRIBUTE_HPP__ 8 #define __FWGDCMIO_CONTAINER_DICOMCODEDATTRIBUTE_HPP__ 10 #include "fwGdcmIO/config.hpp" 12 #include <gdcmSegmentHelper.h> 39 const std::string& codingSchemeDesignator =
"",
40 const std::string& codeMeaning =
"",
41 const std::string& codingSchemeVersion =
"");
44 FWGDCMIO_API
bool isEmpty()
const;
49 FWGDCMIO_API
bool operator==(
const DicomCodedAttribute& other)
const;
52 FWGDCMIO_API
friend std::ostream& operator<< (std::ostream& os,
const DicomCodedAttribute& attribute)
55 os <<
"\\\"" << attribute.m_codeValue <<
"\\\" ";
56 os <<
"\\\"" << attribute.m_codingSchemeDesignator <<
"\\\" ";
57 os <<
"\\\"" << attribute.m_codeMeaning <<
"\\\" ";
58 os <<
"\\\"" << attribute.m_codingSchemeVersion <<
"\\\" ";
71 m_codeValue = codeValue;
77 return m_codingSchemeDesignator;
83 m_codingSchemeDesignator = codingSchemeDesignator;
95 m_codeMeaning = codeMeaning;
101 return m_codingSchemeVersion;
107 m_codingSchemeVersion = codingSchemeVersion;
111 FWGDCMIO_API ::gdcm::SegmentHelper::BasicCodedEntry toGDCMFormat()
const;
115 std::string m_codeValue;
118 std::string m_codingSchemeDesignator;
121 std::string m_codeMeaning;
124 std::string m_codingSchemeVersion;
const std::string getCodingSchemeVersion() const
Get coding scheme version.
const std::string getCodeMeaning() const
Get code meaning.
void setCodeValue(const std::string &codeValue)
Set code value.
const std::string getCodingSchemeDesignator() const
Get coding scheme designator.
void setCodingSchemeDesignator(const std::string &codingSchemeDesignator)
Set coding scheme designator.
void setCodeMeaning(const std::string &codeMeaning)
Set code meaning.
const std::string getCodeValue() const
Get code value.
The namespace fwGdcmIO contains reader, writer and helper for dicom data.
This class represents a DICOM basic coded entry. It stores the four mains attributes : Code Value...
void setCodingSchemeVersion(const std::string &codingSchemeVersion)
Set coding scheme version.