Mercurial > hg > orthanc
diff OrthancServer/Search/DicomTagConstraint.h @ 3055:71ac4f28176f db-changes
compatibility layer seems to be working
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 21 Dec 2018 13:36:30 +0100 |
parents | ea653ec47f31 |
children | ce272138f15e |
line wrap: on
line diff
--- a/OrthancServer/Search/DicomTagConstraint.h Fri Dec 21 12:45:24 2018 +0100 +++ b/OrthancServer/Search/DicomTagConstraint.h Fri Dec 21 13:36:30 2018 +0100 @@ -40,6 +40,8 @@ namespace Orthanc { + class DatabaseConstraint; + class DicomTagConstraint : public boost::noncopyable { private: @@ -54,6 +56,8 @@ boost::shared_ptr<RegularExpression> regex_; + void AssignSingleValue(const std::string& value); + public: DicomTagConstraint(const DicomTag& tag, ConstraintType type, @@ -67,6 +71,8 @@ bool caseSensitive, bool mandatory); + DicomTagConstraint(const DatabaseConstraint& constraint); + const DicomTag& GetTag() const { return tag_;