Function isDir

Synopsis

#include <include/bitarchiveitem.hpp>

bool isDir() const

Description

Return
true if and only if the item is a directory (i.e. it has the property BitProperty::IsDir).

Source

Lines 38-41 in src/bitarchiveitem.cpp. Line 48 in include/bitarchiveitem.hpp.

bool BitArchiveItem::isDir() const {
    BitPropVariant propvar = getProperty( BitProperty::IsDir );
    return !propvar.isEmpty() && propvar.getBool();
}





Add Discussion as Guest

Log in