Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
zstr::istreambuf Class Reference

#include <zstr.hpp>

Inheritance diagram for zstr::istreambuf:
[legend]
Collaboration diagram for zstr::istreambuf:
[legend]

Public Member Functions

 istreambuf (const istreambuf &)=delete
 istreambuf (std::streambuf *_sbuf_p, std::size_t _buff_size=default_buff_size, bool _auto_detect=true, int _window_bits=0)
istreambufoperator= (const istreambuf &)=delete
pos_type seekoff (off_type off, std::ios_base::seekdir dir, std::ios_base::openmode which) override
std::streambuf::int_type underflow () override

Private Attributes

bool auto_detect
bool auto_detect_run
std::size_t buff_size
std::unique_ptr< char[]> in_buff
char * in_buff_end
char * in_buff_start
bool is_text
std::unique_ptr< char[]> out_buff
std::streambuf * sbuf_p
int window_bits
std::unique_ptr< detail::z_stream_wrapperzstrm_p

Detailed Description

Definition at line 129 of file zstr.hpp.

Constructor & Destructor Documentation

◆ istreambuf() [1/2]

zstr::istreambuf::istreambuf ( std::streambuf * _sbuf_p,
std::size_t _buff_size = default_buff_size,
bool _auto_detect = true,
int _window_bits = 0 )
inline

Definition at line 133 of file zstr.hpp.

References auto_detect, auto_detect_run, buff_size, zstr::default_buff_size, in_buff, in_buff_end, in_buff_start, is_text, out_buff, sbuf_p, window_bits, and zstrm_p.

Referenced by istreambuf(), and operator=().

Here is the caller graph for this function:

◆ istreambuf() [2/2]

zstr::istreambuf::istreambuf ( const istreambuf & )
delete

References istreambuf().

Member Function Documentation

◆ operator=()

istreambuf & zstr::istreambuf::operator= ( const istreambuf & )
delete

References istreambuf().

◆ seekoff()

pos_type zstr::istreambuf::seekoff ( off_type off,
std::ios_base::seekdir dir,
std::ios_base::openmode which )
inlineoverride

Definition at line 158 of file zstr.hpp.

References zstrm_p.

◆ underflow()

std::streambuf::int_type zstr::istreambuf::underflow ( )
inlineoverride

Field Documentation

◆ auto_detect

bool zstr::istreambuf::auto_detect
private

Definition at line 258 of file zstr.hpp.

Referenced by istreambuf(), and underflow().

◆ auto_detect_run

bool zstr::istreambuf::auto_detect_run
private

Definition at line 259 of file zstr.hpp.

Referenced by istreambuf(), and underflow().

◆ buff_size

std::size_t zstr::istreambuf::buff_size
private

Definition at line 257 of file zstr.hpp.

Referenced by istreambuf(), and underflow().

◆ in_buff

std::unique_ptr<char[]> zstr::istreambuf::in_buff
private

Definition at line 252 of file zstr.hpp.

Referenced by istreambuf(), and underflow().

◆ in_buff_end

char* zstr::istreambuf::in_buff_end
private

Definition at line 254 of file zstr.hpp.

Referenced by istreambuf(), and underflow().

◆ in_buff_start

char* zstr::istreambuf::in_buff_start
private

Definition at line 253 of file zstr.hpp.

Referenced by istreambuf(), and underflow().

◆ is_text

bool zstr::istreambuf::is_text
private

Definition at line 260 of file zstr.hpp.

Referenced by istreambuf(), and underflow().

◆ out_buff

std::unique_ptr<char[]> zstr::istreambuf::out_buff
private

Definition at line 255 of file zstr.hpp.

Referenced by istreambuf(), and underflow().

◆ sbuf_p

std::streambuf* zstr::istreambuf::sbuf_p
private

Definition at line 251 of file zstr.hpp.

Referenced by istreambuf(), and underflow().

◆ window_bits

int zstr::istreambuf::window_bits
private

Definition at line 261 of file zstr.hpp.

Referenced by istreambuf(), and underflow().

◆ zstrm_p

std::unique_ptr<detail::z_stream_wrapper> zstr::istreambuf::zstrm_p
private

Definition at line 256 of file zstr.hpp.

Referenced by istreambuf(), seekoff(), and underflow().


The documentation for this class was generated from the following file: