#include <archive.h>
Public Member Functions | |
MemcachingCaseInsensitiveArchive (uint32 maxStronglyCachedSize=512) | |
SeekableReadStream * | createReadStreamForMember (const Path &path) const |
SeekableReadStream * | createReadStreamForMemberAltStream (const Path &path, Common::AltStreamType altStreamType) const |
virtual Path | translatePath (const Path &path) const |
virtual SharedArchiveContents | readContentsForPath (const Path &translatedPath) const =0 |
virtual SharedArchiveContents | readContentsForPathAltStream (const Path &translatedPath, AltStreamType altStreamType) const |
Public Member Functions inherited from Common::Archive | |
virtual bool | hasFile (const Path &path) const =0 |
virtual bool | isPathDirectory (const Path &path) const |
virtual int | listMatchingMembers (ArchiveMemberList &list, const Path &pattern, bool matchPathComponents=false) const |
virtual int | listMembers (ArchiveMemberList &list) const =0 |
virtual const ArchiveMemberPtr | getMember (const Path &path) const =0 |
virtual SeekableReadStream * | createReadStreamForMemberNext (const Path &path, const Archive *starting) const |
Common::Error | dumpArchive (const Path &destPath) |
virtual char | getPathSeparator () const |
An archive that caches the resulting contents.
|
virtual |
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.
|
virtual |
Create a stream bound to an alternate stream of a member with the specified name in the archive. If no member with this name exists, 0 is returned.
Reimplemented from Common::Archive.