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

#include <zfstream.h>

Classes

struct  category
 
struct  impl
 

Public Types

typedef char char_type
 

Public Member Functions

void close ()
 
int get_n_open_calls () const
 
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 openmode=std::ios_base::in, const zip_type ztype=zip_type::automatic)
 
std::streamsize read (char *const s, const std::streamsize n)
 
boost::iostreams::stream_offset seek (const boost::iostreams::stream_offset off, const std::ios_base::seekdir way)
 
std::size_t tellg () const
 
 zfstream_source ()
 
 zfstream_source (const std::string &filename, const zip_type ztype)
 
 zfstream_source (const std::string &filename, const std::ios_base::openmode openmode=std::ios_base::in, const zip_type ztype=zip_type::automatic)
 

Private Attributes

boost::shared_ptr< impl_impl
 

Detailed Description

Definition at line 44 of file zfstream.h.

Member Typedef Documentation

Definition at line 67 of file zfstream.h.

Constructor & Destructor Documentation

utl::zfstream_source::zfstream_source ( )
inline

Definition at line 74 of file zfstream.h.

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

Definition at line 76 of file zfstream.h.

References open().

utl::zfstream_source::zfstream_source ( const std::string &  filename,
const std::ios_base::openmode  openmode = std::ios_base::in,
const zip_type  ztype = zip_type::automatic 
)
inline

Definition at line 79 of file zfstream.h.

References open().

Member Function Documentation

void utl::zfstream_source::close ( )
inline

Definition at line 99 of file zfstream.h.

References _impl.

int utl::zfstream_source::get_n_open_calls ( ) const
inline

Definition at line 158 of file zfstream.h.

References _impl.

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

Definition at line 162 of file zfstream.h.

References _impl.

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

Definition at line 160 of file zfstream.h.

References _impl.

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

Definition at line 84 of file zfstream.h.

Referenced by zfstream_source().

void utl::zfstream_source::open ( const std::string &  filename,
const std::ios_base::openmode  openmode = std::ios_base::in,
const zip_type  ztype = zip_type::automatic 
)
inline

Definition at line 88 of file zfstream.h.

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

std::streamsize utl::zfstream_source::read ( char *const  s,
const std::streamsize  n 
)
inline

Definition at line 102 of file zfstream.h.

References _impl.

Referenced by seek().

boost::iostreams::stream_offset utl::zfstream_source::seek ( const boost::iostreams::stream_offset  off,
const std::ios_base::seekdir  way 
)
inline

Definition at line 111 of file zfstream.h.

References _impl, SdAreaSelectorWG::next(), and read().

std::size_t utl::zfstream_source::tellg ( ) const
inline

Definition at line 156 of file zfstream.h.

References _impl.

Member Data Documentation

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

Definition at line 165 of file zfstream.h.

Referenced by close(), get_n_open_calls(), get_zip_type(), is_complete(), open(), read(), seek(), and tellg().


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

, generated on Tue Sep 26 2023.