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

#include <zstream.h>

Classes

struct  category
 
struct  impl
 

Public Types

typedef char char_type
 

Public Member Functions

template<class ostream >
void attach (ostream &os, const zip_type ztype=zip_type::none)
 
void close ()
 
bool flush ()
 
bool is_complete () const
 
std::streamsize write (const char *const s, const std::streamsize n)
 
 zstream_sink ()
 
template<class ostream >
 zstream_sink (ostream &os, const zip_type ztype=zip_type::none)
 

Private Attributes

boost::shared_ptr< impl_impl
 

Detailed Description

Definition at line 130 of file zstream.h.

Member Typedef Documentation

Definition at line 139 of file zstream.h.

Constructor & Destructor Documentation

utl::zstream_sink::zstream_sink ( )
inline

Definition at line 147 of file zstream.h.

template<class ostream >
utl::zstream_sink::zstream_sink ( ostream &  os,
const zip_type  ztype = zip_type::none 
)
inline

Definition at line 150 of file zstream.h.

References attach().

Member Function Documentation

template<class ostream >
void utl::zstream_sink::attach ( ostream &  os,
const zip_type  ztype = zip_type::none 
)
inline

Definition at line 154 of file zstream.h.

References _impl.

Referenced by zstream_sink().

void utl::zstream_sink::close ( )
inline

Definition at line 157 of file zstream.h.

References _impl.

bool utl::zstream_sink::flush ( )
inline

Definition at line 162 of file zstream.h.

References _impl.

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

Definition at line 164 of file zstream.h.

References _impl.

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

Definition at line 159 of file zstream.h.

References _impl.

Member Data Documentation

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

Definition at line 167 of file zstream.h.

Referenced by attach(), close(), flush(), is_complete(), and write().


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

, generated on Tue Sep 26 2023.