The BitArchiveItemOffset class represents an archived item but doesn't store its properties.
More...
#include <bit7z/bitarchiveitemoffset.hpp>
The BitArchiveItemOffset class represents an archived item but doesn't store its properties.
◆ attributes()
auto attributes |
( |
| ) |
const -> uint32_t |
|
overridevirtualinherited |
◆ crc()
auto crc |
( |
| ) |
const -> uint32_t |
|
inherited |
- Returns
- the CRC value of the item.
◆ creationTime()
- Returns
- the item creation time.
◆ extension()
auto extension |
( |
| ) |
const -> tstring |
|
inherited |
- Returns
- the extension of the item, if available or if it can be inferred from the name; otherwise it returns an empty string (e.g., when the item is a folder).
◆ index()
auto index |
( |
| ) |
const -> uint32_t |
|
noexceptinherited |
- Returns
- the index of the item in the archive.
◆ isDir()
auto isDir |
( |
| ) |
const -> bool |
|
overridevirtualinherited |
- Returns
- true if and only if the item is a directory (i.e., it has the property BitProperty::IsDir).
Implements BitGenericItem.
◆ isEncrypted()
auto isEncrypted |
( |
| ) |
const -> bool |
|
inherited |
- Returns
- true if and only if the item is encrypted.
◆ isSymLink()
auto isSymLink |
( |
| ) |
const -> bool |
|
overridevirtualinherited |
- Returns
- true if and only if the item is a symbolic link (either has a non-empty BitProperty::SymLink, or it has POSIX/Win32 symbolic link file attributes).
Implements BitGenericItem.
◆ itemProperty()
Gets the specified item property.
- Parameters
-
property | the property to be retrieved. |
- Returns
- the value of the item property, if available, or an empty BitPropVariant.
Implements BitGenericItem.
◆ lastAccessTime()
- Returns
- the item last access time.
◆ lastWriteTime()
- Returns
- the item last write time.
◆ name()
- Returns
- the item's name; if not available, it tries to get it from the element's path or, if not possible, it returns an empty string.
Implements BitGenericItem.
◆ packSize()
auto packSize |
( |
| ) |
const -> uint64_t |
|
inherited |
- Returns
- the compressed size of the item.
◆ path()
- Returns
- the path of the item in the archive, if available or inferable from the name, or an empty string otherwise.
Implements BitGenericItem.
◆ size()
auto size |
( |
| ) |
const -> uint64_t |
|
overridevirtualinherited |
The documentation for this class was generated from the following file: