Mercurial > hg > orthanc
comparison Core/FileStorage/FilesystemStorage.h @ 1135:67c3c1e4a6e0
index-only mode, and custom storage area with plugins
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 09 Sep 2014 15:55:43 +0200 |
parents | bf67431a7383 |
children | 2ffe07abd9d8 |
comparison
equal
deleted
inserted
replaced
1134:ba9fd42284d0 | 1135:67c3c1e4a6e0 |
---|---|
51 boost::filesystem::path GetPath(const std::string& uuid) const; | 51 boost::filesystem::path GetPath(const std::string& uuid) const; |
52 | 52 |
53 public: | 53 public: |
54 FilesystemStorage(std::string root); | 54 FilesystemStorage(std::string root); |
55 | 55 |
56 virtual std::string Create(const void* content, | 56 virtual void Create(const std::string& uuid, |
57 size_t size, | 57 const void* content, |
58 FileContentType type); | 58 size_t size, |
59 FileContentType type); | |
59 | 60 |
60 virtual void Read(std::string& content, | 61 virtual void Read(std::string& content, |
61 const std::string& uuid, | 62 const std::string& uuid, |
62 FileContentType type) const; | 63 FileContentType type) const; |
63 | 64 |