Mercurial > hg > orthanc-databases
comparison SQLite/Plugins/SQLiteIndex.h @ 201:42990b2dd51b
create IDatabaseBackendOutput only if needed
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 18 Mar 2021 16:51:51 +0100 |
parents | 8cae98f73d53 |
children | 61c309e06797 |
comparison
equal
deleted
inserted
replaced
200:30b210616f4f | 201:42990b2dd51b |
---|---|
62 bool fast_; | 62 bool fast_; |
63 | 63 |
64 IDatabase* OpenInternal(); | 64 IDatabase* OpenInternal(); |
65 | 65 |
66 public: | 66 public: |
67 SQLiteIndex(); // Opens in memory | 67 SQLiteIndex(OrthancPluginContext* context); // Opens in memory |
68 | 68 |
69 SQLiteIndex(const std::string& path); | 69 SQLiteIndex(OrthancPluginContext* context, |
70 const std::string& path); | |
70 | 71 |
71 void SetFast(bool fast) | 72 void SetFast(bool fast) |
72 { | 73 { |
73 fast_ = fast; | 74 fast_ = fast; |
74 } | 75 } |