Mercurial > hg > orthanc
diff OrthancFramework/Sources/DicomFormat/DicomTag.h @ 4218:8e069a7e1c11
validation against orthanc-tests
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 30 Sep 2020 11:49:38 +0200 |
parents | 1ec3e1e18f50 |
children | 785a2713323e |
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomFormat/DicomTag.h Wed Sep 30 07:38:22 2020 +0200 +++ b/OrthancFramework/Sources/DicomFormat/DicomTag.h Wed Sep 30 11:49:38 2020 +0200 @@ -65,6 +65,18 @@ bool operator< (const DicomTag& other) const; + bool operator<= (const DicomTag& other) const; + + bool operator> (const DicomTag& other) const + { + return !(*this <= other); + } + + bool operator>= (const DicomTag& other) const + { + return !(*this < other); + } + bool operator== (const DicomTag& other) const { return group_ == other.group_ && element_ == other.element_;