diff OrthancServer/Search/DicomTagConstraint.h @ 3029:ea653ec47f31 db-changes

new class: DatabaseConstraint
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 18 Dec 2018 18:56:55 +0100
parents fd587cf51a89
children 71ac4f28176f
line wrap: on
line diff
--- a/OrthancServer/Search/DicomTagConstraint.h	Tue Dec 18 12:50:27 2018 +0100
+++ b/OrthancServer/Search/DicomTagConstraint.h	Tue Dec 18 18:56:55 2018 +0100
@@ -47,7 +47,6 @@
     class RegularExpression;
 
     DicomTag                tag_;
-    DicomTagType            tagType_;
     ConstraintType          constraintType_;
     std::set<std::string>   values_;
     bool                    caseSensitive_;
@@ -55,12 +54,6 @@
 
     boost::shared_ptr<RegularExpression>  regex_;
 
-    DicomTagConstraint() :
-      tag_(0, 0),
-      tagType_(DicomTagType_Generic)
-    {
-    }
-    
   public:
     DicomTagConstraint(const DicomTag& tag,
                        ConstraintType type,
@@ -74,24 +67,11 @@
                        bool caseSensitive,
                        bool mandatory);
 
-    DicomTagConstraint* Clone() const;    
-
     const DicomTag& GetTag() const
     {
       return tag_;
     }
 
-    DicomTagType GetTagType() const
-    {
-      return tagType_;
-    }
-
-    // Set by "ServerIndex::NormalizeLookup()"
-    void SetTagType(DicomTagType type)
-    {
-      tagType_ = type;
-    }
-    
     ConstraintType GetConstraintType() const
     {
       return constraintType_;