comparison OrthancServer/Sources/Database/Compatibility/ISetResourcesContent.h @ 4623:95ffe3b6ef7c db-changes

handling of revisions for metadata
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 16 Apr 2021 17:13:03 +0200
parents d9473bd5ed43
children f0038043fb97 7053502fbf97
comparison
equal deleted inserted replaced
4622:9086aeb9d9d2 4623:95ffe3b6ef7c
54 const DicomTag& tag, 54 const DicomTag& tag,
55 const std::string& value) = 0; 55 const std::string& value) = 0;
56 56
57 virtual void SetMetadata(int64_t id, 57 virtual void SetMetadata(int64_t id,
58 MetadataType type, 58 MetadataType type,
59 const std::string& value) = 0; 59 const std::string& value,
60 int64_t revision) = 0;
60 61
61 static void Apply(ISetResourcesContent& that, 62 static void Apply(ISetResourcesContent& that,
62 const ResourcesContent& content) 63 const ResourcesContent& content)
63 { 64 {
64 content.Store(that); 65 content.Store(that);