staticlib_compress  1.2.0
 All Classes Namespaces Files Functions Enumerations
Public Member Functions | List of all members
staticlib::compress::lzma_source< Source, buf_size > Class Template Reference

Source wrapper that decompresses deflated data. More...

#include <staticlib/compress/lzma_source.hpp>

Public Member Functions

 lzma_source (Source src)
 Constructor, created object will own the specified source.
lzma_source & operator= (const lzma_source &)
 Deleted copy assignment operator.
 lzma_source (lzma_source &&other)
 Move constructor.
lzma_source & operator= (lzma_source &&other)
 Move assignment operator.
std::streamsize read (sl::io::span< char > span)
 Read implementation.
Source & get_source ()
 Underlying source accessor.

Detailed Description

template<typename Source, std::size_t buf_size = 4096>
class staticlib::compress::lzma_source< Source, buf_size >

Source wrapper that decompresses deflated data.

Constructor & Destructor Documentation

template<typename Source , std::size_t buf_size = 4096>
staticlib::compress::lzma_source< Source, buf_size >::lzma_source ( Source  src)
inline

Constructor, created object will own the specified source.

Parameters
srcsource to read compressed data from
template<typename Source , std::size_t buf_size = 4096>
staticlib::compress::lzma_source< Source, buf_size >::lzma_source ( lzma_source< Source, buf_size > &&  other)
inline

Move constructor.

Parameters
otherother instance

Member Function Documentation

template<typename Source , std::size_t buf_size = 4096>
Source& staticlib::compress::lzma_source< Source, buf_size >::get_source ( )
inline

Underlying source accessor.

Returns
underlying source reference
template<typename Source , std::size_t buf_size = 4096>
lzma_source& staticlib::compress::lzma_source< Source, buf_size >::operator= ( const lzma_source< Source, buf_size > &  )

Deleted copy assignment operator.

Parameters
otherinstance
Returns
this instance
template<typename Source , std::size_t buf_size = 4096>
lzma_source& staticlib::compress::lzma_source< Source, buf_size >::operator= ( lzma_source< Source, buf_size > &&  other)
inline

Move assignment operator.

Parameters
otherother instance
Returns
this instance
template<typename Source , std::size_t buf_size = 4096>
std::streamsize staticlib::compress::lzma_source< Source, buf_size >::read ( sl::io::span< char >  span)
inline

Read implementation.

Parameters
spanoutput span
Returns
number of bytes written into specified span

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