Function getArchiveProperty

Synopsis

#include <include/bitinputarchive.hpp>

BitPropVariant getArchiveProperty(BitProperty property) const

Description

Gets the specified archive property.

Parameters

property - the property to be retrieved.

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

Source

Lines 128-135 in src/bitinputarchive.cpp. Line 46 in include/bitinputarchive.hpp.

BitPropVariant BitInputArchive::getArchiveProperty( BitProperty property ) const {
    BitPropVariant propvar;
    HRESULT res = mInArchive->GetArchiveProperty( static_cast<PROPID>( property ), &propvar );
    if ( res != S_OK ) {
        throw BitException( "Could not retrieve archive property", res );
    }
    return propvar;
}





Add Discussion as Guest

Log in