ScummVM API documentation
Common::MemcachingCaseInsensitiveArchive Class Referenceabstract

#include <archive.h>

Inheritance diagram for Common::MemcachingCaseInsensitiveArchive:
Common::Archive Common::ClickteamInstaller DreamWeb::RNCAArchive MADS::MpsInstaller

Public Member Functions

 MemcachingCaseInsensitiveArchive (uint32 maxStronglyCachedSize=512)
 
SeekableReadStreamcreateReadStreamForMember (const Path &path) const
 
SeekableReadStreamcreateReadStreamForMemberAltStream (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 SeekableReadStreamcreateReadStreamForMemberNext (const Path &path, const Archive *starting) const
 
Common::Error dumpArchive (const Path &destPath)
 
virtual char getPathSeparator () const
 

Detailed Description

An archive that caches the resulting contents.

Member Function Documentation

◆ createReadStreamForMember()

SeekableReadStream* Common::MemcachingCaseInsensitiveArchive::createReadStreamForMember ( const Path path) const
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.

Returns
The newly created input stream.

Implements Common::Archive.

◆ createReadStreamForMemberAltStream()

SeekableReadStream* Common::MemcachingCaseInsensitiveArchive::createReadStreamForMemberAltStream ( const Path path,
Common::AltStreamType  altStreamType 
) const
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.

Returns
The newly created input stream.

Reimplemented from Common::Archive.


The documentation for this class was generated from the following file: