bit7z 4.0.0
A C++ library for interfacing with the 7-zip shared libs.
Loading...
Searching...
No Matches
BitInFormat Class Reference

The BitInFormat class specifies an extractable archive format. More...

#include <bit7z/bitformat.hpp>

+ Inheritance diagram for BitInFormat:

Public Member Functions

constexpr BitInFormat (unsigned char value) noexcept
 Constructs a BitInFormat object with the ID value used by the 7z SDK.
 
auto operator!= (BitInFormat const &other) const noexcept -> bool
 
auto operator== (BitInFormat const &other) const noexcept -> bool
 
auto value () const noexcept -> unsigned char
 

Detailed Description

The BitInFormat class specifies an extractable archive format.

Note
Usually, the user of the library should not create new formats and, instead, use the ones provided by the BitFormat namespace.

Constructor & Destructor Documentation

◆ BitInFormat()

constexpr BitInFormat ( unsigned char  value)
inlineexplicitconstexprnoexcept

Constructs a BitInFormat object with the ID value used by the 7z SDK.

Parameters
valuethe value of the format in the 7z SDK.

Member Function Documentation

◆ operator!=()

auto operator!= ( BitInFormat const &  other) const -> bool
noexcept
Parameters
otherthe target object to compare to.
Returns
a boolean value indicating whether this format is different from the "other" or not.

◆ operator==()

auto operator== ( BitInFormat const &  other) const -> bool
noexcept
Parameters
otherthe target object to compare to.
Returns
a boolean value indicating whether this format is equal to the "other" or not.

◆ value()

auto value ( ) const -> unsigned char
noexcept
Returns
the value of the format in the 7z SDK.

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