13#include "bitcompressionmethod.hpp"
14#include "bitdefines.hpp"
15#include "bittypes.hpp"
71 BitInFormat(
const BitInFormat& other ) =
delete;
73 auto operator=(
const BitInFormat& other ) -> BitInFormat& =
delete;
76 BitInFormat( BitInFormat&& other ) =
delete;
78 auto operator=( BitInFormat&& other ) -> BitInFormat& =
delete;
80 ~BitInFormat() =
default;
91 BIT7Z_NODISCARD
auto value() const noexcept ->
unsigned char;
97 auto operator==( BitInFormat const& other ) const noexcept ->
bool;
103 auto operator!=( BitInFormat const& other ) const noexcept ->
bool;
106 unsigned char mValue;
173 const
tchar* mExtension;
182#ifdef BIT7Z_AUTO_FORMAT
256#ifdef BIT7Z_AUTO_FORMAT
257#define BIT7Z_DEFAULT_FORMAT = BitFormat::Auto
259#define BIT7Z_DEFAULT_FORMAT
The main namespace of the bit7z library.
Definition bit7zlibrary.hpp:29
FormatFeatures
The FormatFeatures enum specifies the features supported by an archive file format.
Definition bitformat.hpp:24
@ HeaderEncryption
The format can encrypt the file names.
Definition bitformat.hpp:29
@ MultipleFiles
The format can compress/extract multiple files.
Definition bitformat.hpp:25
@ MultipleMethods
The format can use different compression methods.
Definition bitformat.hpp:30
@ Encryption
The format supports archive encryption.
Definition bitformat.hpp:28
@ SolidArchive
The format supports solid archives.
Definition bitformat.hpp:26
@ CompressionLevel
The format is able to use different compression levels.
Definition bitformat.hpp:27
constexpr auto to_underlying(Enum enum_value) noexcept -> underlying_type_t< Enum >
Converts an enumerator to its underlying integer value.
Definition bittypes.hpp:231
char tchar
Definition bittypes.hpp:96
constexpr auto operator|(FormatFeatures lhs, FormatFeatures rhs) noexcept -> FormatFeatures
Computes the bitwise OR of two FormatFeatures values.
Definition bitformat.hpp:41
constexpr auto operator&(FormatFeatures lhs, FormatFeatures rhs) noexcept -> FormatFeaturesType
Computes the bitwise AND of two FormatFeatures values.
Definition bitformat.hpp:58
typename std::underlying_type< Enum >::type underlying_type_t
Alias for the underlying integer type of the given enumeration type.
Definition bittypes.hpp:221
underlying_type_t< FormatFeatures > FormatFeaturesType
The underlying integer type of the FormatFeatures enumeration.
Definition bitformat.hpp:48
BitCompressionMethod
The BitCompressionMethod enum represents the compression methods used by 7z when creating archives.
Definition bitcompressionmethod.hpp:20