10#ifndef BITFILECOMPRESSOR_HPP
11#define BITFILECOMPRESSOR_HPP
17#include "bitcompressor.hpp"
25using namespace filesystem;
94 bool recursive =
true,
95 const tstring& filter = BIT7Z_STRING(
"*" ) )
const;
The Bit7zLibrary class allows accessing the basic functionalities provided by the 7z DLLs.
Definition bit7zlibrary.hpp:56
auto format() const noexcept -> const BitInFormat &override
The BitCompressor template class allows compressing files into archives.
Definition bitcompressor.hpp:45
The BitFileCompressor class allows compressing files and directories.
Definition bitfilecompressor.hpp:34
void compress(const std::vector< tstring > &inPaths, const tstring &outFile) const
Compresses the given files or directories.
void compress(const std::map< tstring, tstring > &inPaths, const tstring &outFile) const
Compresses the given files or directories using the specified aliases.
void compressDirectory(const tstring &inDir, const tstring &outFile) const
Compresses an entire directory.
void compress(const std::vector< tstring > &inPaths, std::ostream &outStream) const
Compresses the given files or directories.
void compress(const std::map< tstring, tstring > &inPaths, std::ostream &outStream) const
Compresses the given files or directories using the specified aliases.
void compressFiles(const tstring &inDir, const tstring &outFile, bool recursive=true, const tstring &filter="*") const
Compresses the files contained in a directory.
void compressFiles(const std::vector< tstring > &inFiles, const tstring &outFile) const
Compresses a group of files.
BitFileCompressor(const Bit7zLibrary &lib, const BitInOutFormat &format)
Constructs a BitFileCompressor object.
The main namespace of the bit7z library.
Definition bit7zlibrary.hpp:30