Input stream wrapper that transparently decompresses data read from an underlying compressed source stream.
More...
#include <CompressionStreams.hpp>
|
| typedef StreamType::char_type | char_type |
| | The character type of the stream. More...
|
| |
| typedef StreamType::traits_type | traits_type |
| | The character traits type of the stream. More...
|
| |
| typedef StreamType::int_type | int_type |
| | The integer type used to represent characters and EOF. More...
|
| |
| typedef StreamType::pos_type | pos_type |
| | The type used to represent stream positions. More...
|
| |
| typedef StreamType::off_type | off_type |
| | The type used to represent stream offsets. More...
|
| |
| typedef StreamType::char_type | char_type |
| | The character type of the wrapped stream. More...
|
| |
| typedef StreamType::traits_type | traits_type |
| | The character traits type of the wrapped stream. More...
|
| |
| typedef StreamType::int_type | int_type |
| | The integer type used to represent characters and EOF. More...
|
| |
| typedef StreamType::pos_type | pos_type |
| | The type used to represent stream positions. More...
|
| |
| typedef StreamType::off_type | off_type |
| | The type used to represent stream offsets. More...
|
| |
| typedef std::basic_istream< char_type, traits_type > | IStreamType |
| | Input-stream type with matching character and traits types. More...
|
| |
| typedef std::basic_ostream< char_type, traits_type > | OStreamType |
| | Output-stream type with matching character and traits types. More...
|
| |
|
| | DecompressionIStream () |
| | Constructs the DecompressionIStream instance without an associated source stream. More...
|
| |
| | DecompressionIStream (StreamType &stream) |
| | Constructs the DecompressionIStream instance and immediately opens it on stream. More...
|
| |
| void | open (StreamType &stream) |
| | Opens the decompression stream on stream. More...
|
| |
| void | close () |
| | Closes the decompression stream and releases the temporary buffer. More...
|
| |
| | CompressionStreamBase () |
| | Constructs the CompressionStreamBase instance and installs the temporary-file buffer. More...
|
| |
template<CompressionAlgo CompAlgo, typename CharT = char, typename TraitsT = std::char_traits<CharT>>
class CDPL::Util::DecompressionIStream< CompAlgo, CharT, TraitsT >
Input stream wrapper that transparently decompresses data read from an underlying compressed source stream.
- Template Parameters
-
| CompAlgo | The compression algorithm identifier (see Util::CompressionAlgo). |
| CharT | The character type of the stream. |
| TraitsT | The character traits type of the stream. |
◆ char_type
template<CompressionAlgo CompAlgo, typename CharT = char, typename TraitsT = std::char_traits<CharT>>
The character type of the stream.
◆ traits_type
template<CompressionAlgo CompAlgo, typename CharT = char, typename TraitsT = std::char_traits<CharT>>
The character traits type of the stream.
◆ int_type
template<CompressionAlgo CompAlgo, typename CharT = char, typename TraitsT = std::char_traits<CharT>>
The integer type used to represent characters and EOF.
◆ pos_type
template<CompressionAlgo CompAlgo, typename CharT = char, typename TraitsT = std::char_traits<CharT>>
The type used to represent stream positions.
◆ off_type
template<CompressionAlgo CompAlgo, typename CharT = char, typename TraitsT = std::char_traits<CharT>>
The type used to represent stream offsets.
◆ DecompressionIStream() [1/2]
template<CDPL::Util::CompressionAlgo CompAlgo, typename CharT , typename TraitsT >
Constructs the DecompressionIStream instance without an associated source stream.
◆ DecompressionIStream() [2/2]
template<CDPL::Util::CompressionAlgo CompAlgo, typename CharT , typename TraitsT >
Constructs the DecompressionIStream instance and immediately opens it on stream.
- Parameters
-
| stream | The compressed source stream to read from. |
◆ open()
template<CDPL::Util::CompressionAlgo CompAlgo, typename CharT , typename TraitsT >
Opens the decompression stream on stream.
- Parameters
-
| stream | The compressed source stream to read from. |
◆ close()
template<CDPL::Util::CompressionAlgo CompAlgo, typename CharT , typename TraitsT >
Closes the decompression stream and releases the temporary buffer.
The documentation for this class was generated from the following file: