Mercurial > hg > orthanc
diff Core/Compression/HierarchicalZipWriter.h @ 1121:82567bac5e25
Creation of ZIP archives for media storage, with DICOMDIR
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 05 Sep 2014 14:28:43 +0200 |
parents | 2d0a347e8cfc |
children | 46bca019587e |
line wrap: on
line diff
--- a/Core/Compression/HierarchicalZipWriter.h Wed Sep 03 16:49:26 2014 +0200 +++ b/Core/Compression/HierarchicalZipWriter.h Fri Sep 05 14:28:43 2014 +0200 @@ -63,8 +63,6 @@ Stack stack_; - std::string GetCurrentDirectoryPath() const; - std::string EnsureUniqueFilename(const char* filename); public: @@ -83,6 +81,8 @@ void CloseDirectory(); + std::string GetCurrentDirectoryPath() const; + static std::string KeepAlphanumeric(const std::string& source); }; @@ -120,6 +120,11 @@ void CloseDirectory(); + std::string GetCurrentDirectoryPath() const + { + return indexer_.GetCurrentDirectoryPath(); + } + void Write(const char* data, size_t length) { writer_.Write(data, length);