◆ hasFile()
bool Stark::Formats::XARCArchive::hasFile |
( |
const Common::Path & |
path | ) |
const |
|
virtual |
Check if a member with the given name
is present in the Archive. Patterns are not allowed, as this is meant to be a quick File::exists() replacement. This returns "true" for both files and directories.
Implements Common::Archive.
◆ listMatchingMembers()
Add all members of the Archive matching the specified pattern to the list. Must only append to list, and not remove elements from it.
- Parameters
-
matchPathComponents | if set, then whole string will be matched, otherwise (default), path separator ('/') does not match with wildcards |
- Returns
- The number of members added to list.
Reimplemented from Common::Archive.
◆ listMembers()
Add all members of the Archive to the list. Must only append to list, and not remove elements from it.
- Returns
- The number of names added to list.
Implements Common::Archive.
◆ getMember()
Return an ArchiveMember representation of the given file.
Implements Common::Archive.
◆ createReadStreamForMember()
Create a stream bound to a member with the specified name in the archive. If no member with this name exists, 0 is returned.
- Returns
- The newly created input stream.
Implements Common::Archive.
The documentation for this class was generated from the following file: