-
-
Notifications
You must be signed in to change notification settings - Fork 119
BitInOutFormat
The BitInOutFormat class specifies a format available for creating new archives and extract old ones. Usually, the user of the library should not create new formats and, instead, use the ones provided by the BitFormat namespace.
#include "bitformat.hpp"
inherits from BitInFormat
Return type | Name |
---|---|
BitInOutFormat( unsigned char value, const wstring &ext, bitset< FEATURES_COUNT > features ) | |
const wstring & | extension() const |
const bitset< FEATURES_COUNT > | features() const |
bool | hasFeature( FormatFeatures feature ) const |
int | value() const |
const GUID | guid() const |
bool | operator==( BitInFormat const &other ) const |
bool | operator!=( BitInFormat const &other ) const |
BitInOutFormat( unsigned char value, const wstring &ext, bitset< FEATURES_COUNT > features )
Constructs a BitInOutFormat object with a id value, an extension and a set of supported features.
const wstring& extension() const
Returns the default file estension of the archive format
const bitset< FEATURES_COUNT > features() const
Returns the bitset of the features supported by the format
bool hasFeature( FormatFeatures feature ) const
Checks if the format has a specific feature (see FormatFeatures enum)
Returns true if the format has the feature, false otherwise
Returns the value of the format in the 7z SDK
Returns the GUID that identifies the file format in the 7z SDK
bool operator==( BitInFormat const &other ) const
Returns true if this format is equal to "other"
bool operator!=( BitInFormat const &other ) const
Returns true if this format is not equal to "other"
Copyright © 2014 - 2024 Riccardo Ostani (@rikyoz)
- Bit7zLibrary
- BitArchiveEditor
- BitArchiveReader
- BitArchiveWriter
- BitException
- BitFileCompressor
- BitFileExtractor
- BitMemCompressor
- BitMemExtractor
- BitStreamCompressor
- BitStreamExtractor
- BitInFormat