Public Member Functions | |
bool | hasFile (const Common::Path &path) const override |
int | listMembers (Common::ArchiveMemberList &) const override |
const Common::ArchiveMemberPtr | getMember (const Common::Path &path) const override |
Common::SharedArchiveContents | readContentsForPath (const Common::Path &translated) const override |
![]() | |
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 | readContentsForPathAltStream (const Path &translatedPath, AltStreamType altStreamType) const |
![]() | |
virtual bool | isPathDirectory (const Path &path) const |
virtual int | listMatchingMembers (ArchiveMemberList &list, const Path &pattern, bool matchPathComponents=false) const |
virtual SeekableReadStream * | createReadStreamForMemberNext (const Path &path, const Archive *starting) const |
Common::Error | dumpArchive (const Path &destPath) |
virtual char | getPathSeparator () const |
virtual bool | getChildren (const Common::Path &path, Common::Array< Common::String > &list, ListMode mode=kListDirectoriesOnly, bool hidden=true) const |
Static Public Member Functions | |
static RNCAArchive * | open (Common::SeekableReadStream *stream, DisposeAfterUse::Flag dispose=DisposeAfterUse::NO) |
Additional Inherited Members | |
![]() | |
enum | ListMode { kListFilesOnly = 1, kListDirectoriesOnly = 2, kListAll = 3 } |
|
overridevirtual |
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.
|
overridevirtual |
Add all members of the Archive to the list. Must only append to list, and not remove elements from it.
Implements Common::Archive.
|
overridevirtual |
Return an ArchiveMember representation of the given file.
Implements Common::Archive.