Mercurial > hg > orthanc
comparison Core/Cache/SharedArchive.h @ 2976:cb5d75143da0
Asynchronous generation of ZIP archives and DICOM medias
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 06 Dec 2018 12:23:46 +0100 |
parents | 878b59270859 |
children | 4e43e67f8ecf |
comparison
equal
deleted
inserted
replaced
2970:eea66afed0db | 2976:cb5d75143da0 |
---|---|
70 | 70 |
71 public: | 71 public: |
72 Accessor(SharedArchive& that, | 72 Accessor(SharedArchive& that, |
73 const std::string& id); | 73 const std::string& id); |
74 | 74 |
75 IDynamicObject& GetItem() const | 75 bool IsValid() const |
76 { | 76 { |
77 return *item_; | 77 return item_ != NULL; |
78 } | 78 } |
79 | |
80 IDynamicObject& GetItem() const; | |
79 }; | 81 }; |
80 | 82 |
81 | 83 |
82 SharedArchive(size_t maxSize); | 84 SharedArchive(size_t maxSize); |
83 | 85 |