Function isItemFolder

Synopsis

#include <include/bitinputarchive.hpp>

bool isItemFolder(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 a folder.

Source

Lines 155-158 in src/bitinputarchive.cpp. Line 69 in include/bitinputarchive.hpp.

bool BitInputArchive::isItemFolder( uint32_t index ) const {
    BitPropVariant prop = getItemProperty( index, BitProperty::IsDir );
    return !prop.isEmpty() && prop.getBool();
}





Add Discussion as Guest

Log in