-
-
Notifications
You must be signed in to change notification settings - Fork 120
BitGenericItem
Oz edited this page Sep 25, 2024
·
5 revisions
The BitGenericItem interface class represents a generic item (either inside or outside an archive).
#include <bit7z/bitgenericitem.hpp>
Return type | Name |
---|---|
uint32_t=0 | attributes() const |
bool=0 | isDir() const |
bool=0 | isSymLink() const |
BitPropVariant=0 | itemProperty( BitProperty property ) const |
tstring=0 | name() const |
tstring=0 | path() const |
uint64_t=0 | size() const |
Returns the item attributes.
Returns true if and only if the item is a directory (i.e., it has the property BitProperty::IsDir).
Returns true if and only if the item is a symbolic link.
[pure virtual] BitPropVariant=0 itemProperty( BitProperty property ) const
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.
[pure virtual] tstring=0 name() const
Returns the name of the item, if available or inferable from the path, or an empty string otherwise.
[pure virtual] tstring=0 path() const
Returns the path of the item.
Returns the uncompressed size of the item.
Documentation for bit7z v4.0.9
Copyright © 2014 - 2024 Riccardo Ostani (@rikyoz)
Copyright © 2014 - 2024 Riccardo Ostani (@rikyoz)
- Bit7zLibrary
- BitArchiveEditor
- BitArchiveReader
- BitArchiveWriter
- BitException
- BitFileCompressor
- BitFileExtractor
- BitMemCompressor
- BitMemExtractor
- BitStreamCompressor
- BitStreamExtractor
- BitInFormat