Skip to content

BitInputArchive

Oz edited this page Sep 3, 2019 · 8 revisions
#include "bitinputarchive.hpp"

List of all members

Public Members

Return type Name
BitInputArchive( const BitArchiveHandler &handler, const wstring &in_file )
BitInputArchive( const BitArchiveHandler &handler, const vector< byte_t > &in_buffer )
BitInputArchive( const BitArchiveHandler &handler, std::istream &in_stream )
~BitInputArchive()
const BitInFormat & detectedFormat() const
BitPropVariant getArchiveProperty( BitProperty property ) const
BitPropVariant getItemProperty( uint32_t index, BitProperty property ) const
uint32_t itemsCount() const
bool isItemFolder( uint32_t index ) const
bool isItemEncrypted( uint32_t index ) const

Member Function Documentation

BitInputArchive( const BitArchiveHandler &handler, const wstring &in_file )


BitInputArchive( const BitArchiveHandler &handler, const vector< byte_t > &in_buffer )


BitInputArchive( const BitArchiveHandler &handler, std::istream &in_stream )


[virtual] ~BitInputArchive()


const BitInFormat & detectedFormat() const

Returns the detected format of the file.


BitPropVariant getArchiveProperty( BitProperty property ) const

Gets the specified archive property.

Returns the current value of the archive property or an empty BitPropVariant if no value is specified.


BitPropVariant getItemProperty( uint32_t index, BitProperty property ) const

Gets the specified property of an item in the archive.

Returns the current value of the item property or an empty BitPropVariant if the item has no value for the property.


uint32_t itemsCount() const

Returns the number of items contained in the archive.


bool isItemFolder( uint32_t index ) const

Returns true if and only if the item at index is a folder.


bool isItemEncrypted( uint32_t index ) const

Returns true if and only if the item at index is encrypted.


Clone this wiki locally