#include <data_archive.h>
Public Member Functions | |
bool | hasFile (const Common::Path &path) const override |
int | listMatchingMembers (Common::ArchiveMemberList &list, const Common::Path &pattern, bool matchPathComponents=false) const override |
int | listMembers (Common::ArchiveMemberList &list) const override |
const Common::ArchiveMemberPtr | getMember (const Common::Path &path) const override |
Common::SeekableReadStream * | createReadStreamForMember (const Common::Path &path) const override |
bool | isPathDirectory (const Common::Path &path) const override |
Public Member Functions inherited from Common::Archive | |
virtual SeekableReadStream * | createReadStreamForMemberAltStream (const Path &path, AltStreamType altStreamType) const |
virtual SeekableReadStream * | createReadStreamForMemberNext (const Path &path, const Archive *starting) const |
Common::Error | dumpArchive (const Path &destPath) |
virtual char | getPathSeparator () const |
The data archive proxy class is used for debugging purposes to access engine data files when the create_ultima folder is in the search path. It will allow for local mucking around with the data files and committing changes without having to recreate the ultima.dat file every time a change is made. ultima.dat then just has to be recreated prior to a release or when the changes are completed and stable
|
inlineoverridevirtual |
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.
Implements Common::Archive.
|
overridevirtual |
Add all members of the Archive matching the specified pattern to list. Must only append to list, and not remove elements from it.
Reimplemented from Common::Archive.
|
overridevirtual |
Add all members of the Archive to list. Must only append to list, and not remove elements from it.
Implements Common::Archive.
|
overridevirtual |
Returns a ArchiveMember representation of the given file.
Implements Common::Archive.
|
overridevirtual |
Create a stream bound to a member with the specified name in the archive. If no member with this name exists, 0 is returned.
Implements Common::Archive.
|
overridevirtual |
Check if a member with the given name
exists and is a directory.
Reimplemented from Common::Archive.