comparison OrthancServer/DatabaseWrapper.h @ 1244:a0e420c5f2b8

refactoring
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 08 Dec 2014 12:31:35 +0100
parents 58e6a89c3ef4
children 54bf0f0245f4
comparison
equal deleted inserted replaced
1243:3a3e7e3e244f 1244:a0e420c5f2b8
67 void GetChangesInternal(std::list<ServerIndexChange>& target, 67 void GetChangesInternal(std::list<ServerIndexChange>& target,
68 bool& done, 68 bool& done,
69 SQLite::Statement& s, 69 SQLite::Statement& s,
70 unsigned int maxResults); 70 unsigned int maxResults);
71 71
72 void GetExportedResourcesInternal(Json::Value& target, 72 void GetExportedResourcesInternal(std::list<ExportedResource>& target,
73 bool& done,
73 SQLite::Statement& s, 74 SQLite::Statement& s,
74 int64_t since,
75 unsigned int maxResults); 75 unsigned int maxResults);
76 76
77 public: 77 public:
78 void SetGlobalProperty(GlobalProperty property, 78 void SetGlobalProperty(GlobalProperty property,
79 const std::string& value); 79 const std::string& value);
156 const std::string& studyInstanceUid, 156 const std::string& studyInstanceUid,
157 const std::string& seriesInstanceUid, 157 const std::string& seriesInstanceUid,
158 const std::string& sopInstanceUid, 158 const std::string& sopInstanceUid,
159 const boost::posix_time::ptime& date); 159 const boost::posix_time::ptime& date);
160 160
161 void GetExportedResources(Json::Value& target, 161 void GetExportedResources(std::list<ExportedResource>& target /* out */,
162 bool& done /* out */,
162 int64_t since, 163 int64_t since,
163 unsigned int maxResults); 164 unsigned int maxResults);
164 165
165 void GetLastExportedResource(Json::Value& target); 166 void GetLastExportedResource(std::list<ExportedResource>& target /* out */);
166 167
167 uint64_t GetTotalCompressedSize(); 168 uint64_t GetTotalCompressedSize();
168 169
169 uint64_t GetTotalUncompressedSize(); 170 uint64_t GetTotalUncompressedSize();
170 171