Mercurial > hg > orthanc
comparison Core/FileStorage/FilesystemStorage.h @ 2223:29689b30f9ae
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 13 Dec 2016 15:28:05 +0100 |
parents | b1291df2f780 |
children | a3a65de1840f |
comparison
equal
deleted
inserted
replaced
2222:21713ce8717b | 2223:29689b30f9ae |
---|---|
50 boost::filesystem::path root_; | 50 boost::filesystem::path root_; |
51 | 51 |
52 boost::filesystem::path GetPath(const std::string& uuid) const; | 52 boost::filesystem::path GetPath(const std::string& uuid) const; |
53 | 53 |
54 public: | 54 public: |
55 FilesystemStorage(std::string root); | 55 explicit FilesystemStorage(std::string root); |
56 | 56 |
57 virtual void Create(const std::string& uuid, | 57 virtual void Create(const std::string& uuid, |
58 const void* content, | 58 const void* content, |
59 size_t size, | 59 size_t size, |
60 FileContentType type); | 60 FileContentType type); |