10#ifndef BITGENERICITEM_HPP
11#define BITGENERICITEM_HPP
13#include "bitpropvariant.hpp"
25 BIT7Z_NODISCARD
virtual auto isDir() const ->
bool = 0;
30 BIT7Z_NODISCARD virtual auto
isSymLink() const ->
bool = 0;
35 BIT7Z_NODISCARD virtual auto
size() const -> uint64_t = 0;
50 BIT7Z_NODISCARD virtual auto
attributes() const -> uint32_t = 0;
The BitGenericItem interface class represents a generic item (either inside or outside an archive).
Definition bitgenericitem.hpp:20
virtual auto attributes() const -> uint32_t=0
virtual auto size() const -> uint64_t=0
virtual auto isSymLink() const -> bool=0
virtual auto itemProperty(BitProperty property) const -> BitPropVariant=0
Gets the specified item property.
virtual auto path() const -> tstring=0
virtual auto name() const -> tstring=0
virtual auto isDir() const -> bool=0
The main namespace of the bit7z library.
Definition bit7zlibrary.hpp:30
BitProperty
The BitProperty enum represents the archive/item properties that 7-zip can read or write.
Definition bitpropvariant.hpp:30
The BitPropVariant struct is a light extension to the WinAPI PROPVARIANT struct providing useful gett...
Definition bitpropvariant.hpp:150