comparison OrthancServer/DatabaseWrapper.h @ 1246:54bf0f0245f4

refactoring
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 08 Dec 2014 12:56:30 +0100
parents a0e420c5f2b8
children 32fcc5dc7562
comparison
equal deleted inserted replaced
1245:aea9277dee75 1246:54bf0f0245f4
140 int64_t id); 140 int64_t id);
141 141
142 void LogChange(int64_t internalId, 142 void LogChange(int64_t internalId,
143 const ServerIndexChange& change); 143 const ServerIndexChange& change);
144 144
145 void GetChanges(std::list<ServerIndexChange>& target /* out */, 145 void GetChanges(std::list<ServerIndexChange>& target /*out*/,
146 bool& done /* out */, 146 bool& done /*out*/,
147 int64_t since, 147 int64_t since,
148 unsigned int maxResults); 148 unsigned int maxResults);
149 149
150 void GetLastChange(std::list<ServerIndexChange>& target /* out */); 150 void GetLastChange(std::list<ServerIndexChange>& target /*out*/);
151 151
152 void LogExportedResource(ResourceType resourceType, 152 void LogExportedResource(const ExportedResource& resource);
153 const std::string& publicId,
154 const std::string& remoteModality,
155 const std::string& patientId,
156 const std::string& studyInstanceUid,
157 const std::string& seriesInstanceUid,
158 const std::string& sopInstanceUid,
159 const boost::posix_time::ptime& date);
160 153
161 void GetExportedResources(std::list<ExportedResource>& target /* out */, 154 void GetExportedResources(std::list<ExportedResource>& target /*out*/,
162 bool& done /* out */, 155 bool& done /*out*/,
163 int64_t since, 156 int64_t since,
164 unsigned int maxResults); 157 unsigned int maxResults);
165 158
166 void GetLastExportedResource(std::list<ExportedResource>& target /* out */); 159 void GetLastExportedResource(std::list<ExportedResource>& target /*out*/);
167 160
168 uint64_t GetTotalCompressedSize(); 161 uint64_t GetTotalCompressedSize();
169 162
170 uint64_t GetTotalUncompressedSize(); 163 uint64_t GetTotalUncompressedSize();
171 164