Mercurial > hg > orthanc
comparison OrthancServer/DatabaseWrapper.h @ 1301:5d56cfa49f68
rename
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 09 Feb 2015 15:31:29 +0100 |
parents | 910478b2d4e4 |
children | 5fe254fb1c93 |
comparison
equal
deleted
inserted
replaced
1300:919dfb2fb3fe | 1301:5d56cfa49f68 |
---|---|
120 const FileInfo& attachment); | 120 const FileInfo& attachment); |
121 | 121 |
122 virtual void DeleteAttachment(int64_t id, | 122 virtual void DeleteAttachment(int64_t id, |
123 FileContentType attachment); | 123 FileContentType attachment); |
124 | 124 |
125 virtual void ListAvailableAttachments(std::list<FileContentType>& result, | 125 virtual void ListAvailableAttachments(std::list<FileContentType>& target, |
126 int64_t id); | 126 int64_t id); |
127 | 127 |
128 virtual bool LookupAttachment(FileInfo& attachment, | 128 virtual bool LookupAttachment(FileInfo& attachment, |
129 int64_t id, | 129 int64_t id, |
130 FileContentType contentType); | 130 FileContentType contentType); |
134 const std::string& value); | 134 const std::string& value); |
135 | 135 |
136 virtual void GetMainDicomTags(DicomMap& map, | 136 virtual void GetMainDicomTags(DicomMap& map, |
137 int64_t id); | 137 int64_t id); |
138 | 138 |
139 virtual void GetChildrenPublicId(std::list<std::string>& result, | 139 virtual void GetChildrenPublicId(std::list<std::string>& target, |
140 int64_t id); | 140 int64_t id); |
141 | 141 |
142 virtual void GetChildrenInternalId(std::list<int64_t>& result, | 142 virtual void GetChildrenInternalId(std::list<int64_t>& target, |
143 int64_t id); | 143 int64_t id); |
144 | 144 |
145 virtual void LogChange(int64_t internalId, | 145 virtual void LogChange(int64_t internalId, |
146 const ServerIndexChange& change); | 146 const ServerIndexChange& change); |
147 | 147 |
200 ClearTable("ExportedResources"); | 200 ClearTable("ExportedResources"); |
201 } | 201 } |
202 | 202 |
203 virtual bool IsExistingResource(int64_t internalId); | 203 virtual bool IsExistingResource(int64_t internalId); |
204 | 204 |
205 virtual void LookupIdentifier(std::list<int64_t>& result, | 205 virtual void LookupIdentifier(std::list<int64_t>& target, |
206 const DicomTag& tag, | 206 const DicomTag& tag, |
207 const std::string& value); | 207 const std::string& value); |
208 | 208 |
209 virtual void LookupIdentifier(std::list<int64_t>& result, | 209 virtual void LookupIdentifier(std::list<int64_t>& target, |
210 const std::string& value); | 210 const std::string& value); |
211 | 211 |
212 virtual void GetAllMetadata(std::map<MetadataType, std::string>& result, | 212 virtual void GetAllMetadata(std::map<MetadataType, std::string>& target, |
213 int64_t id); | 213 int64_t id); |
214 | 214 |
215 | 215 |
216 | 216 |
217 | 217 |
227 void GetChildren(std::list<std::string>& childrenPublicIds, | 227 void GetChildren(std::list<std::string>& childrenPublicIds, |
228 int64_t id); | 228 int64_t id); |
229 | 229 |
230 int64_t GetTableRecordCount(const std::string& table); | 230 int64_t GetTableRecordCount(const std::string& table); |
231 | 231 |
232 bool GetParentPublicId(std::string& result, | 232 bool GetParentPublicId(std::string& target, |
233 int64_t id); | 233 int64_t id); |
234 | 234 |
235 }; | 235 }; |
236 } | 236 } |