Mercurial > hg > orthanc
diff OrthancServer/DatabaseWrapper.h @ 1763:f7014cca73c7
integration db-changes->mainline
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 29 Oct 2015 12:45:20 +0100 |
parents | 55d52567bebb |
children | b1291df2f780 |
line wrap: on
line diff
--- a/OrthancServer/DatabaseWrapper.h Fri Oct 23 17:04:22 2015 +0200 +++ b/OrthancServer/DatabaseWrapper.h Thu Oct 29 12:45:20 2015 +0100 @@ -249,6 +249,12 @@ return base_.GetResourceCount(resourceType); } + virtual void GetAllInternalIds(std::list<int64_t>& target, + ResourceType resourceType) + { + base_.GetAllInternalIds(target, resourceType); + } + virtual void GetAllPublicIds(std::list<std::string>& target, ResourceType resourceType) { @@ -315,11 +321,13 @@ return base_.IsExistingResource(internalId); } - virtual void LookupIdentifier(std::list<int64_t>& target, + virtual void LookupIdentifier(std::list<int64_t>& result, + ResourceType level, const DicomTag& tag, + IdentifierConstraintType type, const std::string& value) { - base_.LookupIdentifier(target, tag, value); + base_.LookupIdentifier(result, level, tag, type, value); } virtual void GetAllMetadata(std::map<MetadataType, std::string>& target,