Mercurial > hg > orthanc
diff OrthancFramework/Sources/FileStorage/MemoryStorageArea.h @ 5080:d7274e43ea7c attach-custom-data
allow plugins to store a customData in the Attachments table to e.g. store custom paths without requiring an external DB
author | Alain Mazy <am@osimis.io> |
---|---|
date | Thu, 08 Sep 2022 17:42:08 +0200 |
parents | 43e613a7756b |
children |
line wrap: on
line diff
--- a/OrthancFramework/Sources/FileStorage/MemoryStorageArea.h Wed Aug 31 10:36:38 2022 +0200 +++ b/OrthancFramework/Sources/FileStorage/MemoryStorageArea.h Thu Sep 08 17:42:08 2022 +0200 @@ -32,7 +32,7 @@ namespace Orthanc { - class MemoryStorageArea : public IStorageArea + class MemoryStorageArea : public ICoreStorageArea { private: typedef std::map<std::string, std::string*> Content; @@ -43,6 +43,7 @@ public: virtual ~MemoryStorageArea(); + protected: virtual void Create(const std::string& uuid, const void* content, size_t size,