Mercurial > hg > orthanc
diff OrthancFramework/Sources/DicomFormat/DicomElement.h @ 4297:785a2713323e
abi continued
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 05 Nov 2020 17:20:49 +0100 |
parents | bf7b9edf6b81 |
children | d9473bd5ed43 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomFormat/DicomElement.h Thu Nov 05 15:52:28 2020 +0100 +++ b/OrthancFramework/Sources/DicomFormat/DicomElement.h Thu Nov 05 17:20:49 2020 +0100 @@ -36,47 +36,21 @@ public: DicomElement(uint16_t group, uint16_t element, - const DicomValue& value) : - tag_(group, element), - value_(value.Clone()) - { - } + const DicomValue& value); DicomElement(const DicomTag& tag, - const DicomValue& value) : - tag_(tag), - value_(value.Clone()) - { - } + const DicomValue& value); - ~DicomElement() - { - delete value_; - } + ~DicomElement(); - const DicomTag& GetTag() const - { - return tag_; - } + const DicomTag& GetTag() const; - const DicomValue& GetValue() const - { - return *value_; - } + const DicomValue& GetValue() const; - uint16_t GetTagGroup() const - { - return tag_.GetGroup(); - } + uint16_t GetTagGroup() const; - uint16_t GetTagElement() const - { - return tag_.GetElement(); - } + uint16_t GetTagElement() const; - bool operator< (const DicomElement& other) const - { - return GetTag() < other.GetTag(); - } + bool operator< (const DicomElement& other) const; }; }