Mercurial > hg > orthanc
comparison OrthancServer/Database/Compatibility/ICreateInstance.h @ 3121:f86ebf971a72 db-changes
fix unit tests
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 14 Jan 2019 16:23:08 +0100 |
parents | 2e1808b6146a |
children | c0d7aee8c3f8 |
comparison
equal
deleted
inserted
replaced
3120:a323b75e5b08 | 3121:f86ebf971a72 |
---|---|
49 virtual int64_t CreateResource(const std::string& publicId, | 49 virtual int64_t CreateResource(const std::string& publicId, |
50 ResourceType type) = 0; | 50 ResourceType type) = 0; |
51 | 51 |
52 virtual void AttachChild(int64_t parent, | 52 virtual void AttachChild(int64_t parent, |
53 int64_t child) = 0; | 53 int64_t child) = 0; |
54 | |
55 virtual void TagAsMostRecentPatient(int64_t patientId) = 0; | |
54 | 56 |
55 static bool Apply(ICreateInstance& database, | 57 static bool Apply(ICreateInstance& database, |
56 IDatabaseWrapper::CreateInstanceResult& result, | 58 IDatabaseWrapper::CreateInstanceResult& result, |
57 int64_t& instanceId, | 59 int64_t& instanceId, |
58 const std::string& patient, | 60 const std::string& patient, |