Mercurial > hg > orthanc
diff Plugins/Engine/OrthancPluginDatabase.h @ 3189:6f89d22a6ec0
New extensions in the database SDK: LookupResourceAndParent and GetAllMetadata
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 04 Feb 2019 15:47:56 +0100 |
parents | 4bbadcd03966 |
children | 94f4a18a79cc |
line wrap: on
line diff
--- a/Plugins/Engine/OrthancPluginDatabase.h Mon Feb 04 12:09:26 2019 +0100 +++ b/Plugins/Engine/OrthancPluginDatabase.h Mon Feb 04 15:47:56 2019 +0100 @@ -57,7 +57,8 @@ private: class Transaction; - typedef std::pair<int64_t, ResourceType> AnswerResource; + typedef std::pair<int64_t, ResourceType> AnswerResource; + typedef std::map<MetadataType, std::string> AnswerMetadata; SharedLibrary& library_; PluginsErrorDictionary& errorDictionary_; @@ -82,6 +83,7 @@ bool* answerDone_; std::list<std::string>* answerMatchingResources_; std::list<std::string>* answerMatchingInstances_; + AnswerMetadata* answerMetadata_; OrthancPluginDatabaseContext* GetContext() {