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

#include <zstr.hpp>

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

Public Member Functions

void close ()
 
std::streampos compressed_tellp ()
 
ofstreamflush ()
 
bool is_open () const
 
 ofstream ()
 
 ofstream (const std::string filename, std::ios_base::openmode mode=std::ios_base::out, int level=Z_DEFAULT_COMPRESSION, size_t buff_size=default_buff_size)
 
void open (const std::string filename, std::ios_base::openmode mode=std::ios_base::out, int level=Z_DEFAULT_COMPRESSION)
 
virtual ~ofstream ()
 

Private Attributes

strict_fstream::ofstream _fs
 

Detailed Description

Definition at line 456 of file zstr.hpp.

Constructor & Destructor Documentation

◆ ofstream() [1/2]

zstr::ofstream::ofstream ( const std::string  filename,
std::ios_base::openmode  mode = std::ios_base::out,
int  level = Z_DEFAULT_COMPRESSION,
size_t  buff_size = default_buff_size 
)
inlineexplicit

Definition at line 461 of file zstr.hpp.

◆ ofstream() [2/2]

zstr::ofstream::ofstream ( )
inlineexplicit

Definition at line 468 of file zstr.hpp.

◆ ~ofstream()

virtual zstr::ofstream::~ofstream ( )
inlinevirtual

Member Function Documentation

◆ close()

void zstr::ofstream::close ( )
inline

Definition at line 469 of file zstr.hpp.

References zstr::detail::strict_fstream_holder< strict_fstream::ofstream >::_fs.

Referenced by ~ofstream().

Here is the caller graph for this function:

◆ compressed_tellp()

std::streampos zstr::ofstream::compressed_tellp ( )
inline

◆ flush()

ofstream & zstr::ofstream::flush ( )
inline

Definition at line 483 of file zstr.hpp.

References zstr::detail::strict_fstream_holder< strict_fstream::ofstream >::_fs.

Referenced by open().

Here is the caller graph for this function:

◆ is_open()

bool zstr::ofstream::is_open ( ) const
inline

◆ open()

void zstr::ofstream::open ( const std::string  filename,
std::ios_base::openmode  mode = std::ios_base::out,
int  level = Z_DEFAULT_COMPRESSION 
)
inline

Field Documentation

◆ _fs


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