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()
◆ crc()
- 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).
◆ hasProperty()
Checks whether the item has the specified property or not.
- Parameters
-
| property | the property to be checked. |
- Returns
- true if the item has the property, false otherwise.
◆ index()
- Returns
- the index of the item in the archive.
◆ isDir()
| auto isDir |
( |
| ) |
const -> bool |
|
finalvirtualinherited |
◆ isEncrypted()
| auto isEncrypted |
( |
| ) |
const -> bool |
|
inherited |
- Returns
- true if and only if the item is encrypted.
◆ isSymLink()
| auto isSymLink |
( |
| ) |
const -> bool |
|
finalvirtualinherited |
- 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.
◆ nativeName()
- Note
- Same as name(), but returning a native string (i.e., std::wstring on Windows, std::string elsewhere).
- Returns
- the name of the item in the archive, if available or inferable from the path, or an empty string otherwise.
◆ nativePath()
- Note
- Same as path(), but returning a native string (i.e., std::wstring on Windows, std::string elsewhere).
- Returns
- the path of the item in the archive, if available or inferable from the name, or an empty string otherwise.
◆ packSize()
- 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.
◆ rawPath()
- Note
- Same as path(), but returning a wide string (the internal string type used by 7-Zip on all OSes).
- Returns
- the path of the item in the archive, if available or inferable from the name, or an empty string otherwise.
◆ size()
The documentation for this class was generated from the following file: