Skip to content

BitInOutFormat

Oz edited this page Apr 20, 2016 · 16 revisions

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

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
int value() const
const GUID guid() const
bool operator==( BitInFormat const &other ) const
bool operator!=( BitInFormat const &other ) const

Member Function Documentation

BitInOutFormat( unsigned char value, const wstring &ext, bitset< FEATURES_COUNT > features )

BitInOutFormat.


#### const wstring& extension() const extension
#### const bitset< FEATURES_COUNT > features() const Retrieves the bitset of the features supported by the format.

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


#### int value() const value
#### const GUID guid() const guid
#### bool operator==( [BitInFormat](./BitInFormat-Class) const &other ) const operator ==
#### bool operator!=( [BitInFormat](./BitInFormat-Class) const &other ) const operator !=
Clone this wiki locally