List of all members | Classes | Public Types | Public Member Functions | Private Attributes
utl::zfstream_sink Class Reference

#include <zfstream.h>

Classes

struct  category
 
struct  impl
 

Public Types

typedef char char_type
 

Public Member Functions

void close ()
 
bool flush ()
 
zip_type get_zip_type () const
 
bool is_complete () const
 
void open (const std::string &filename, const zip_type ztype)
 
void open (const std::string &filename, const std::ios_base::openmode omode=std::ios_base::out, zip_type ztype=zip_type::automatic)
 
std::streamsize write (const char *const s, const std::streamsize n)
 
 zfstream_sink ()
 
 zfstream_sink (const std::string &filename, const zip_type ztype)
 
 zfstream_sink (const std::string &filename, const std::ios_base::openmode om=std::ios_base::out, const zip_type ztype=zip_type::automatic)
 

Private Attributes

boost::shared_ptr< impl_impl
 

Detailed Description

Definition at line 226 of file zfstream.h.

Member Typedef Documentation

Definition at line 239 of file zfstream.h.

Constructor & Destructor Documentation

utl::zfstream_sink::zfstream_sink ( )
inline

Definition at line 247 of file zfstream.h.

utl::zfstream_sink::zfstream_sink ( const std::string &  filename,
const zip_type  ztype 
)
inline

Definition at line 249 of file zfstream.h.

References open().

utl::zfstream_sink::zfstream_sink ( const std::string &  filename,
const std::ios_base::openmode  om = std::ios_base::out,
const zip_type  ztype = zip_type::automatic 
)
inline

Definition at line 252 of file zfstream.h.

References open().

Member Function Documentation

void utl::zfstream_sink::close ( )
inline

Definition at line 271 of file zfstream.h.

References _impl.

bool utl::zfstream_sink::flush ( )
inline

Definition at line 276 of file zfstream.h.

References _impl.

zip_type utl::zfstream_sink::get_zip_type ( ) const
inline

Definition at line 280 of file zfstream.h.

References _impl.

bool utl::zfstream_sink::is_complete ( ) const
inline

Definition at line 278 of file zfstream.h.

References _impl.

void utl::zfstream_sink::open ( const std::string &  filename,
const zip_type  ztype 
)
inline

Definition at line 257 of file zfstream.h.

References out.

Referenced by zfstream_sink().

void utl::zfstream_sink::open ( const std::string &  filename,
const std::ios_base::openmode  omode = std::ios_base::out,
zip_type  ztype = zip_type::automatic 
)
inline

Definition at line 261 of file zfstream.h.

References _impl, utl::detail::deduce_zip_type(), and utl::none.

std::streamsize utl::zfstream_sink::write ( const char *const  s,
const std::streamsize  n 
)
inline

Definition at line 273 of file zfstream.h.

References _impl.

Member Data Documentation

boost::shared_ptr<impl> utl::zfstream_sink::_impl
private

Definition at line 283 of file zfstream.h.

Referenced by close(), flush(), get_zip_type(), is_complete(), open(), and write().


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

, generated on Tue Sep 26 2023.