Function test

Synopsis

#include <include/bitextractor.hpp>

void test(const wstring &in_file) const

Description

Tests the given archive without extracting its content.

If the input archive is not valid, a BitException is thrown!

Parameters

in_file - the input archive file to be tested.

Source

Lines 131-136 in src/bitextractor.cpp. Line 130 in include/bitextractor.hpp.

void BitExtractor::test( const wstring& in_file ) const {
    BitInputArchive in_archive( *this, in_file );

    CMyComPtr< ExtractCallback > extract_callback = new FileExtractCallback( *this, in_archive, in_file, L"" );
    in_archive.test( extract_callback );
}





Add Discussion as Guest

Log in