zlibcomplete
Simple C++ wrapper for zlib using RAII and std::string with flush.
 All Classes Namespaces Files Functions Enumerations Enumerator Macros Pages
zlibcomplete.hpp
Go to the documentation of this file.
1 #ifndef __ZLIBCOMPLETE_HPP
2 #define __ZLIBCOMPLETE_HPP
3 
4 #include <string>
5 
6 #include <zlib.h>
7 
8 #if ZLIB_VERNUM < 0x1230
9 #error "Please upgrade your zlib library for security."
10 #endif
11 
12 #ifdef __GNUC__
13 
14  #define CURRENT_GCC_VERSION (__GNUC__ * 10000 \
15  + __GNUC_MINOR__ * 100 \
16  + __GNUC_PATCHLEVEL__)
17 #if CURRENT_GCC_VERSION < 40800
18 #error "Please use g++ version 4.8 or later."
19 #endif
20 
21 #endif
22 
23 #include <zlc/gzipcomplete.hpp>
24 #include <zlc/zlibmisc.hpp>
25 #include <zlc/zlibraw.hpp>
26 
27 #endif
ZLib compression wrapper for C++ using RAII.
GZip compression wrapper for C++ using RAII.
ZLib compression wrapper for C++ using RAII.