comparison OrthancServer/ServerIndex.h @ 758:67e6400fca03 query-retrieve

integration mainline -> query-retrieve
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 16 Apr 2014 16:34:09 +0200
parents 3bdb5db8e839 696dbb4fd390
children 111e23bb4904
comparison
equal deleted inserted replaced
681:3bdb5db8e839 758:67e6400fca03
1 /** 1 /**
2 * Orthanc - A Lightweight, RESTful DICOM Store 2 * Orthanc - A Lightweight, RESTful DICOM Store
3 * Copyright (C) 2012-2013 Medical Physics Department, CHU of Liege, 3 * Copyright (C) 2012-2014 Medical Physics Department, CHU of Liege,
4 * Belgium 4 * Belgium
5 * 5 *
6 * This program is free software: you can redistribute it and/or 6 * This program is free software: you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as 7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation, either version 3 of the 8 * published by the Free Software Foundation, either version 3 of the
161 bool IsProtectedPatient(const std::string& publicId); 161 bool IsProtectedPatient(const std::string& publicId);
162 162
163 void SetProtectedPatient(const std::string& publicId, 163 void SetProtectedPatient(const std::string& publicId,
164 bool isProtected); 164 bool isProtected);
165 165
166 void GetChildren(std::list<std::string>& result,
167 const std::string& publicId);
168
166 void GetChildInstances(std::list<std::string>& result, 169 void GetChildInstances(std::list<std::string>& result,
167 const std::string& publicId); 170 const std::string& publicId);
168 171
169 void SetMetadata(const std::string& publicId, 172 void SetMetadata(const std::string& publicId,
170 MetadataType type, 173 MetadataType type,
175 178
176 bool LookupMetadata(std::string& target, 179 bool LookupMetadata(std::string& target,
177 const std::string& publicId, 180 const std::string& publicId,
178 MetadataType type); 181 MetadataType type);
179 182
180 bool ListAvailableMetadata(std::list<MetadataType>& target, 183 void ListAvailableMetadata(std::list<MetadataType>& target,
181 const std::string& publicId); 184 const std::string& publicId);
185
186 void ListAvailableAttachments(std::list<FileContentType>& target,
187 const std::string& publicId,
188 ResourceType expectedType);
182 189
183 bool LookupParent(std::string& target, 190 bool LookupParent(std::string& target,
184 const std::string& publicId); 191 const std::string& publicId);
185 192
186 uint64_t IncrementGlobalSequence(GlobalProperty sequence); 193 uint64_t IncrementGlobalSequence(GlobalProperty sequence);
212 const std::string& value); 219 const std::string& value);
213 220
214 void LookupTagValue(std::list<std::string>& result, 221 void LookupTagValue(std::list<std::string>& result,
215 const std::string& value); 222 const std::string& value);
216 223
217 224 StoreStatus AddAttachment(const FileInfo& attachment,
218 // TODO IS IT USEFUL??? 225 const std::string& publicId);
219 void LookupTagValue(std::set<std::string>& result, 226
220 DicomTag tag, 227 void DeleteAttachment(const std::string& publicId,
221 const std::string& value, 228 FileContentType type);
222 ResourceType type);
223
224 // TODO IS IT USEFUL???
225 void LookupTagValue(std::set<std::string>& result,
226 DicomTag tag,
227 const std::string& value);
228
229 // TODO IS IT USEFUL???
230 void LookupTagValue(std::set<std::string>& result,
231 const std::string& value);
232 }; 229 };
233 } 230 }