Mercurial > hg > orthanc
comparison OrthancServer/Sources/ServerIndex.h @ 4574:855e43bb293c db-changes
cont
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 08 Mar 2021 18:15:26 +0100 |
parents | f6bd5563b5df |
children | a114a5db2afe |
comparison
equal
deleted
inserted
replaced
4573:f6bd5563b5df | 4574:855e43bb293c |
---|---|
149 uint64_t pixelDataOffset); | 149 uint64_t pixelDataOffset); |
150 | 150 |
151 StoreStatus AddAttachment(const FileInfo& attachment, | 151 StoreStatus AddAttachment(const FileInfo& attachment, |
152 const std::string& publicId); | 152 const std::string& publicId); |
153 | 153 |
154 void ReconstructInstance(const ParsedDicomFile& dicom); | |
155 | |
156 | 154 |
157 | 155 |
158 /*** | 156 /*** |
159 ** PROTOTYPING FOR DB REFACTORING BELOW | 157 ** PROTOTYPING FOR DB REFACTORING BELOW |
160 ***/ | 158 ***/ |
383 void ClearExportedResources() | 381 void ClearExportedResources() |
384 { | 382 { |
385 db_.ClearExportedResources(); | 383 db_.ClearExportedResources(); |
386 } | 384 } |
387 | 385 |
386 void ClearMainDicomTags(int64_t id) | |
387 { | |
388 return db_.ClearMainDicomTags(id); | |
389 } | |
390 | |
388 void DeleteAttachment(int64_t id, | 391 void DeleteAttachment(int64_t id, |
389 FileContentType attachment) | 392 FileContentType attachment) |
390 { | 393 { |
391 return db_.DeleteAttachment(id, attachment); | 394 return db_.DeleteAttachment(id, attachment); |
392 } | 395 } |
430 | 433 |
431 void SetProtectedPatient(int64_t internalId, | 434 void SetProtectedPatient(int64_t internalId, |
432 bool isProtected) | 435 bool isProtected) |
433 { | 436 { |
434 db_.SetProtectedPatient(internalId, isProtected); | 437 db_.SetProtectedPatient(internalId, isProtected); |
438 } | |
439 | |
440 void SetResourcesContent(const ResourcesContent& content) | |
441 { | |
442 db_.SetResourcesContent(content); | |
435 } | 443 } |
436 }; | 444 }; |
437 | 445 |
438 | 446 |
439 class IReadOnlyOperations : public boost::noncopyable | 447 class IReadOnlyOperations : public boost::noncopyable |
601 void DeleteAttachment(const std::string& publicId, | 609 void DeleteAttachment(const std::string& publicId, |
602 FileContentType type); | 610 FileContentType type); |
603 | 611 |
604 void LogChange(ChangeType changeType, | 612 void LogChange(ChangeType changeType, |
605 const std::string& publicId); | 613 const std::string& publicId); |
614 | |
615 void ReconstructInstance(const ParsedDicomFile& dicom); | |
606 }; | 616 }; |
607 } | 617 } |