Skip to content

BitInFormat

Oz edited this page Sep 25, 2024 · 12 revisions

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.

#include <bit7z/bitformat.hpp>

List of all members

Public Members

Return type Name
constexpr BitInFormat( unsigned char value ) noexcept
bool operator!=( BitInFormat const& other ) const noexcept
bool operator==( BitInFormat const& other ) const noexcept
unsigned char value() const noexcept

Member Function Documentation

constexpr BitInFormat( unsigned char value ) noexcept

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

Parameters:

  • value: the value of the format in the 7z SDK.

bool operator!=( BitInFormat const& other ) const noexcept

Parameters:

  • other: the target object to compare to.

Returns a boolean value indicating whether this format is different from the "other" or not.


bool operator==( BitInFormat const& other ) const noexcept

Parameters:

  • other: the target object to compare to.

Returns a boolean value indicating whether this format is equal to the "other" or not.


unsigned char value() const noexcept

Returns the value of the format in the 7z SDK.


Clone this wiki locally