CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
zlib_compression_flags.h
1
2#pragma once
3
4#include <system/string.h>
5#include <system/exceptions.h>
6
7namespace Aspose { namespace Zip {
8
10enum class CompressionLevel
11{
12 Level0 = 0,
13 None = 0,
14 NoCompression = 0,
15 Level1 = 1,
16 BestSpeed = 1,
17 Fastest = 1,
18 Level2 = 2,
19 Level3 = 3,
20 Level4 = 4,
21 Level5 = 5,
22 Default = 6,
23 Optimal = 6,
24 Level6 = 6,
25 Level7 = 7,
26 Level8 = 8,
27 Level9 = 9,
28 BestCompression = 9,
29 SmallestSize = 9
30};
31
35enum class CompressionStrategy
36{
37 Default = 0,
38 Filtered = 1,
39 HuffmanOnly = 2,
40 Rle = 3,
41 Fixed = 4
42};
43
45enum class CompressionMode
46{
47 Compress = 0,
48 Decompress = 1
49};
50
52enum class ZlibStreamFlavor
53{
54 DEFLATE = -15, // 1951,
55 ZLIB = 15, // 1950,
56 GZIP = ZLIB + 16 // 1952
57};
58
59}} // namespace Aspose::Zip
std::enable_if< IsExceptionWrapper< T >::value, constT & >::type Default()
Returns the reference to the single default-constructed instance of the exception type.
Definition: default.h:16