Skip to content

BitInOutFormat

Oz edited this page Apr 28, 2017 · 16 revisions

The BitInOutFormat class specifies a format available for creating new archives and extract old ones.

#include "bitformat.hpp"

inherits from BitInFormat

List of all members

Public Members

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

Member Function Documentation

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


Clone this wiki locally