diff OrthancServer/Sources/Search/DicomTagConstraint.h @ 4196:37310bb1cd30

Fix handling of "ModalitiesInStudy" (0008,0061) in C-FIND and "/tools/find"
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 16 Sep 2020 13:22:30 +0200
parents 05b8fd21089c
children 318c16cfccab
line wrap: on
line diff
--- a/OrthancServer/Sources/Search/DicomTagConstraint.h	Wed Sep 16 10:22:25 2020 +0200
+++ b/OrthancServer/Sources/Search/DicomTagConstraint.h	Wed Sep 16 13:22:30 2020 +0200
@@ -70,6 +70,8 @@
                        bool caseSensitive,
                        bool mandatory);
 
+    DicomTagConstraint(const DicomTagConstraint& other);
+    
     DicomTagConstraint(const DatabaseConstraint& constraint);
 
     const DicomTag& GetTag() const
@@ -77,6 +79,11 @@
       return tag_;
     }
 
+    void SetTag(const DicomTag& tag)
+    {
+      tag_ = tag;
+    }
+
     ConstraintType GetConstraintType() const
     {
       return constraintType_;