comparison OrthancServer/Search/IFindConstraint.h @ 3036:8fd203510d8b db-changes

moving LookupIdentifierQuery to the graveyard
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 19 Dec 2018 16:27:07 +0100
parents 878b59270859
children ce272138f15e
comparison
equal deleted inserted replaced
3034:54e422fe31ce 3036:8fd203510d8b
31 **/ 31 **/
32 32
33 33
34 #pragma once 34 #pragma once
35 35
36 #include "LookupIdentifierQuery.h" 36 #include "../../Core/DicomFormat/DicomTag.h"
37
38 #include <boost/noncopyable.hpp>
37 39
38 namespace Orthanc 40 namespace Orthanc
39 { 41 {
40 class IFindConstraint : public boost::noncopyable 42 class IFindConstraint : public boost::noncopyable
41 { 43 {
44 { 46 {
45 } 47 }
46 48
47 virtual IFindConstraint* Clone() const = 0; 49 virtual IFindConstraint* Clone() const = 0;
48 50
49 virtual void Setup(LookupIdentifierQuery& lookup,
50 const DicomTag& tag) const = 0;
51
52 virtual bool Match(const std::string& value) const = 0; 51 virtual bool Match(const std::string& value) const = 0;
53 52
54 virtual std::string Format() const = 0; 53 virtual std::string Format() const = 0;
55 54
56 static IFindConstraint* ParseDicomConstraint(const DicomTag& tag, 55 static IFindConstraint* ParseDicomConstraint(const DicomTag& tag,