Mercurial > hg > orthanc
comparison OrthancFramework/Sources/Compression/ZipWriter.h @ 4296:3b70a2e6a06c
moving inline methods to source files for ABI compatibility
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 05 Nov 2020 15:52:28 +0100 |
parents | bf7b9edf6b81 |
children | d9473bd5ed43 |
comparison
equal
deleted
inserted
replaced
4295:90f91b78d708 | 4296:3b70a2e6a06c |
---|---|
57 | 57 |
58 ~ZipWriter(); | 58 ~ZipWriter(); |
59 | 59 |
60 void SetZip64(bool isZip64); | 60 void SetZip64(bool isZip64); |
61 | 61 |
62 bool IsZip64() const | 62 bool IsZip64() const; |
63 { | |
64 return isZip64_; | |
65 } | |
66 | 63 |
67 void SetCompressionLevel(uint8_t level); | 64 void SetCompressionLevel(uint8_t level); |
68 | 65 |
69 uint8_t GetCompressionLevel() const | 66 uint8_t GetCompressionLevel() const; |
70 { | |
71 return compressionLevel_; | |
72 } | |
73 | 67 |
74 void SetAppendToExisting(bool append); | 68 void SetAppendToExisting(bool append); |
75 | 69 |
76 bool IsAppendToExisting() const | 70 bool IsAppendToExisting() const; |
77 { | |
78 return append_; | |
79 } | |
80 | 71 |
81 void Open(); | 72 void Open(); |
82 | 73 |
83 void Close(); | 74 void Close(); |
84 | 75 |
85 bool IsOpen() const; | 76 bool IsOpen() const; |
86 | 77 |
87 void SetOutputPath(const char* path); | 78 void SetOutputPath(const char* path); |
88 | 79 |
89 const std::string& GetOutputPath() const | 80 const std::string& GetOutputPath() const; |
90 { | |
91 return path_; | |
92 } | |
93 | 81 |
94 void OpenFile(const char* path); | 82 void OpenFile(const char* path); |
95 | 83 |
96 void Write(const void* data, size_t length); | 84 void Write(const void* data, size_t length); |
97 | 85 |