comparison Core/Compression/ZipWriter.h @ 759:8cfc6119a5bd dicom-rt

integration mainline -> dicom-rt
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 16 Apr 2014 16:04:55 +0200
parents 2d0a347e8cfc
children 46bca019587e
comparison
equal deleted inserted replaced
605:b82292ba2083 759:8cfc6119a5bd
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
46 { 46 {
47 private: 47 private:
48 struct PImpl; 48 struct PImpl;
49 boost::shared_ptr<PImpl> pimpl_; 49 boost::shared_ptr<PImpl> pimpl_;
50 50
51 bool isZip64_;
51 bool hasFileInZip_; 52 bool hasFileInZip_;
52 uint8_t compressionLevel_; 53 uint8_t compressionLevel_;
53 std::string path_; 54 std::string path_;
54 55
55 public: 56 public:
56 ZipWriter(); 57 ZipWriter();
57 58
58 ~ZipWriter(); 59 ~ZipWriter();
60
61 void SetZip64(bool isZip64);
62
63 bool IsZip64() const
64 {
65 return isZip64_;
66 }
59 67
60 void SetCompressionLevel(uint8_t level); 68 void SetCompressionLevel(uint8_t level);
61 69
62 uint8_t GetCompressionLevel() const 70 uint8_t GetCompressionLevel() const
63 { 71 {