|
|
Go to the documentation of this file. 1 #ifndef PhysicsTools_MVAComputer_zstream_h
2 #define PhysicsTools_MVAComputer_zstream_h
25 template <
typename Item_t,
typename Traits_t = std::
char_traits<Item_t>,
typename Allocator_t = std::allocator<Item_t> >
28 typedef std::basic_ostream<Item_t, Traits_t>
OStream_t;
41 using StreamBuf_t::epptr;
42 using StreamBuf_t::pbase;
43 using StreamBuf_t::pptr;
47 std::streamsize
flush();
57 std::vector<char_type, Allocator_t>
buffer;
60 template <
typename Item_t,
typename Traits_t = std::
char_traits<Item_t>,
typename Allocator_t = std::allocator<Item_t> >
63 typedef std::basic_istream<Item_t, Traits_t>
IStream_t;
76 using StreamBuf_t::eback;
77 using StreamBuf_t::egptr;
78 using StreamBuf_t::gptr;
91 std::vector<char_type, Allocator_t>
buffer;
94 template <
typename Item_t,
typename Traits_t = std::
char_traits<Item_t>,
typename Allocator_t = std::allocator<Item_t> >
97 typedef std::basic_ostream<Item_t, Traits_t>
OStream_t;
108 template <
typename Item_t,
typename Traits_t = std::
char_traits<Item_t>,
typename Allocator_t = std::allocator<Item_t> >
122 template <
typename Item_t,
typename Traits_t = std::
char_traits<Item_t>,
typename Allocator_t = std::allocator<Item_t> >
124 public std::basic_ostream<Item_t, Traits_t> {
134 template <
typename Item_t,
typename Traits_t = std::
char_traits<Item_t>,
typename Allocator_t = std::allocator<Item_t> >
136 public std::basic_istream<Item_t, Traits_t> {
153 #include "PhysicsTools/MVAComputer/interface/zstream.icc"
155 #endif // PhysicsTools_MVAComputer_zstream_h
std::basic_ostream< Item_t, Traits_t > OStream_t
basic_ozstream(OStream_t *os, int open_mode=std::ios::out, int level=9)
basic_ozstream< char > ozstream
std::basic_istream< Item_t, Traits_t > IStream_t
basic_izstreambase< Item_t, Traits_t, Allocator_t > ZIStreamBase_t
std::basic_streambuf< Item_t, Traits_t > StreamBuf_t
Traits_t::off_type off_type
~basic_ozstreambuf() override
void putbackFromZStream()
Traits_t::int_type int_type
basic_izstream(IStream_t *is, int open_mode=std::ios::in)
basic_izstreambuf< Item_t, Traits_t, Allocator_t > ZIStreamBuf_t
basic_ozstreambuf(OStream_t *os, int level)
std::streamsize unzipFromStream(char_type *buf, std::streamsize size)
std::vector< char_type, Allocator_t > buffer
basic_izstreambuf(IStream_t *is)
~basic_izstream() override
basic_izstream< char > izstream
std::basic_streambuf< Item_t, Traits_t > StreamBuf_t
bool zipToStream(char_type *buf, std::streamsize size)
std::vector< char_type, Allocator_t > buffer
basic_ozstreambuf< Item_t, Traits_t, Allocator_t > ZOStreamBuf_t
~basic_ozstream() override
std::vector< byte_type > inputBuffer
~basic_izstreambuf() override
Traits_t::int_type int_type
basic_izstreambase(IStream_t *is)
basic_ozstreambase(OStream_t *os, int level)
int_type underflow() override
Traits_t::off_type off_type
std::vector< byte_type > outputBuffer
basic_ozstream< wchar_t > wozstream
std::basic_istream< Item_t, Traits_t > IStream_t
std::basic_istream< Item_t, Traits_t > IStream_t
Traits_t::pos_type pos_type
basic_ozstreambase< Item_t, Traits_t, Allocator_t > ZOStreamBase_t
Traits_t::pos_type pos_type
int_type overflow(int_type c) override
basic_izstream< wchar_t > wizstream
std::basic_ostream< Item_t, Traits_t > OStream_t
std::basic_ostream< Item_t, Traits_t > OStream_t