The BitGenericItem interface class represents a generic item (either inside or outside an archive).
More...
#include <bit7z/bitgenericitem.hpp>
The BitGenericItem interface class represents a generic item (either inside or outside an archive).
◆ attributes()
virtual auto attributes |
( |
| ) |
const -> uint32_t |
|
pure virtual |
◆ isDir()
virtual auto isDir |
( |
| ) |
const -> bool |
|
pure virtual |
- Returns
- true if and only if the item is a directory (i.e., it has the property BitProperty::IsDir).
Implemented in BitArchiveItem.
◆ isSymLink()
virtual auto isSymLink |
( |
| ) |
const -> bool |
|
pure virtual |
- Returns
- true if and only if the item is a symbolic link.
Implemented in BitArchiveItem.
◆ itemProperty()
◆ name()
virtual auto name |
( |
| ) |
const -> tstring |
|
pure virtual |
- Returns
- the name of the item, if available or inferable from the path, or an empty string otherwise.
Implemented in BitArchiveItem.
◆ path()
virtual auto path |
( |
| ) |
const -> tstring |
|
pure virtual |
◆ size()
virtual auto size |
( |
| ) |
const -> uint64_t |
|
pure virtual |
- Returns
- the uncompressed size of the item.
Implemented in BitArchiveItem.
The documentation for this class was generated from the following file: