comparison 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
comparison
equal deleted inserted replaced
4217:78c8b4a18619 4218:8e069a7e1c11
62 } 62 }
63 63
64 const char* GetMainTagsName() const; 64 const char* GetMainTagsName() const;
65 65
66 bool operator< (const DicomTag& other) const; 66 bool operator< (const DicomTag& other) const;
67
68 bool operator<= (const DicomTag& other) const;
69
70 bool operator> (const DicomTag& other) const
71 {
72 return !(*this <= other);
73 }
74
75 bool operator>= (const DicomTag& other) const
76 {
77 return !(*this < other);
78 }
67 79
68 bool operator== (const DicomTag& other) const 80 bool operator== (const DicomTag& other) const
69 { 81 {
70 return group_ == other.group_ && element_ == other.element_; 82 return group_ == other.group_ && element_ == other.element_;
71 } 83 }