Botan 2.1.0 Crypto and TLS for C++11

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

lzma.h
Go to the documentation of this file.
1 /*
2 * Lzma Compressor
3 * (C) 2001 Peter J Jones
4 * 2001-2007 Jack Lloyd
5 * 2012 Vojtech Kral
6 *
7 * Botan is released under the Simplified BSD License (see license.txt)
8 */
9
10 #ifndef BOTAN_LZMA_H__
11 #define BOTAN_LZMA_H__
12
13 #include <botan/compression.h>
14
15 namespace Botan {
16
17 /**
18 * LZMA Compression
19 */
20 class BOTAN_DLL LZMA_Compression final : public Stream_Compression
21 {
22 public:
23 std::string name() const override { return "LZMA_Compression"; }
24
25 private:
26 Compression_Stream* make_stream(size_t level) const override;
27 };
28
29 /**
30 * LZMA Deccompression
31 */
32 class BOTAN_DLL LZMA_Decompression final : public Stream_Decompression
33 {
34 public:
35 std::string name() const override { return "LZMA_Decompression"; }
36 private:
37 Compression_Stream* make_stream() const override;
38 };
39
40 }
41
42 #endif
Botan::Compression_Stream
Definition: compression.h:109
Botan::Stream_Decompression
Definition: compression.h:155
Botan::Stream_Compression
Definition: compression.h:132
Botan::LZMA_Compression::name
std::string name() const override
Definition: lzma.h:23
Botan::LZMA_Decompression
Definition: lzma.h:32
Botan::LZMA_Decompression::name
std::string name() const override
Definition: lzma.h:35
Botan
Definition: alg_id.cpp:13
Botan::LZMA_Compression
Definition: lzma.h:20