Mercurial > hg > orthanc
comparison Core/FileStorage/StorageAccessor.h @ 1750:55d52567bebb db-changes
LookupResource implemented
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 27 Oct 2015 12:45:50 +0100 |
parents | e5e975e9b738 |
children | 53e045b5a8ec |
comparison
equal
deleted
inserted
replaced
1749:99f4a05f39fa | 1750:55d52567bebb |
---|---|
39 | 39 |
40 #include <vector> | 40 #include <vector> |
41 #include <string> | 41 #include <string> |
42 #include <boost/noncopyable.hpp> | 42 #include <boost/noncopyable.hpp> |
43 #include <stdint.h> | 43 #include <stdint.h> |
44 #include <json/value.h> | |
44 | 45 |
45 namespace Orthanc | 46 namespace Orthanc |
46 { | 47 { |
47 class StorageAccessor : boost::noncopyable | 48 class StorageAccessor : boost::noncopyable |
48 { | 49 { |
73 } | 74 } |
74 | 75 |
75 void Read(std::string& content, | 76 void Read(std::string& content, |
76 const FileInfo& info); | 77 const FileInfo& info); |
77 | 78 |
79 void Read(Json::Value& content, | |
80 const FileInfo& info); | |
81 | |
78 void Remove(const FileInfo& info) | 82 void Remove(const FileInfo& info) |
79 { | 83 { |
80 area_.Remove(info.GetUuid(), info.GetContentType()); | 84 area_.Remove(info.GetUuid(), info.GetContentType()); |
81 } | 85 } |
82 | 86 |