SHORE API
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
shore::xzindex Class Reference

Read and access the index of an xz file. More...

Inheritance diagram for shore::xzindex:
shore::xzbase

Classes

class  iterator
 Iterator over the blocks of the streams. More...
 

Public Member Functions

 xzindex (std::istream *const is)
 Read the index for the stream, then return to the initial position.
 
bool valid () const
 
size_t get_stream_count () const
 Get the number of lzma streams in the stream.
 
size_t get_block_count () const
 Get the total number of lzma blocks.
 
uint64_t get_uncompressed_size () const
 Get the total uncompressed size.
 
iterator begin () const
 Get an iterator over the blocks.
 
void print (std::ostream &os) const
 Print some info.
 

Additional Inherited Members

- Protected Member Functions inherited from shore::xzbase
void xz_error (const std::string &msg)
 Report & throw.
 
void xzstat_error (const std::string &msg)
 Report together with lzma error status & throw.
 
- Protected Attributes inherited from shore::xzbase
::lzma_ret m_xzstat
 lzma error status.
 
- Static Protected Attributes inherited from shore::xzbase
static const size_t BUFSIZE =16384
 Read/write buffer size used in the inflater.
 
static const ::lzma_stream STREAM_INIT
 For initializing lzma streams.
 

Detailed Description

Read and access the index of an xz file.


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