comparison OrthancServer/IDatabaseWrapper.h @ 1746:d143db00a794 db-changes

SetOfResources
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 26 Oct 2015 16:04:58 +0100
parents 38dda23c7d7d
children 55d52567bebb
comparison
equal deleted inserted replaced
1745:38dda23c7d7d 1746:d143db00a794
42 #include <list> 42 #include <list>
43 #include <boost/noncopyable.hpp> 43 #include <boost/noncopyable.hpp>
44 44
45 namespace Orthanc 45 namespace Orthanc
46 { 46 {
47 class LookupIdentifierQuery;
48
49 class IDatabaseWrapper : public boost::noncopyable 47 class IDatabaseWrapper : public boost::noncopyable
50 { 48 {
51 public: 49 public:
52 virtual ~IDatabaseWrapper() 50 virtual ~IDatabaseWrapper()
53 { 51 {
146 FileContentType contentType) = 0; 144 FileContentType contentType) = 0;
147 145
148 virtual bool LookupGlobalProperty(std::string& target, 146 virtual bool LookupGlobalProperty(std::string& target,
149 GlobalProperty property) = 0; 147 GlobalProperty property) = 0;
150 148
151 virtual void LookupIdentifierExact(std::list<int64_t>& target, 149 virtual void LookupIdentifier(std::list<int64_t>& result,
152 ResourceType level, 150 ResourceType level,
153 const DicomTag& tag, 151 const DicomTag& tag,
154 const std::string& value) = 0; 152 IdentifierConstraintType type,
155 153 const std::string& value) = 0;
156 virtual void LookupIdentifier(const LookupIdentifierQuery& query) = 0;
157 154
158 virtual bool LookupMetadata(std::string& target, 155 virtual bool LookupMetadata(std::string& target,
159 int64_t id, 156 int64_t id,
160 MetadataType type) = 0; 157 MetadataType type) = 0;
161 158