Function isItemEncrypted

Synopsis

#include <include/bitinputarchive.hpp>

bool isItemEncrypted(uint32_t index) const

Description

Parameters

index - the index of an item in the archive.

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

Source

Lines 160-163 in src/bitinputarchive.cpp. Line 76 in include/bitinputarchive.hpp.

bool BitInputArchive::isItemEncrypted( uint32_t index ) const {
    BitPropVariant propvar = getItemProperty( index, BitProperty::Encrypted );
    return propvar.isBool() && propvar.getBool();
}





Add Discussion as Guest

Log in