ScummVM API documentation
Nancy::PatchTree Class Reference
Inheritance diagram for Nancy::PatchTree:
Nancy::CifTree Common::Archive

Public Member Functions

 PatchTree (Common::SeekableReadStream *stream, const Common::Path &name)
 
bool hasFile (const Common::Path &path) const override
 
- Public Member Functions inherited from Nancy::CifTree
const CifInfogetCifInfo (const Common::Path &name) const
 
int listMembers (Common::ArchiveMemberList &list) const override
 
const Common::ArchiveMemberPtr getMember (const Common::Path &path) const override
 
Common::SeekableReadStreamcreateReadStreamForMember (const Common::Path &path) const override
 
Common::Path getName () const
 
- Public Member Functions inherited from Common::Archive
virtual bool isPathDirectory (const Path &path) const
 
virtual int listMatchingMembers (ArchiveMemberList &list, const Path &pattern, bool matchPathComponents=false) const
 
virtual SeekableReadStreamcreateReadStreamForMemberAltStream (const Path &path, AltStreamType altStreamType) const
 
virtual SeekableReadStreamcreateReadStreamForMemberNext (const Path &path, const Archive *starting) const
 
Common::Error dumpArchive (const Path &destPath)
 
virtual char getPathSeparator () const
 

Public Attributes

Common::Array< Common::Pair< Common::Array< Common::Pair< Common::String, Common::String > >, Common::Array< Common::Path > > > _associations
 

Additional Inherited Members

- Static Public Member Functions inherited from Nancy::CifTree
static CifTreemakeCifTreeArchive (const Common::String &name, const Common::String &ext)
 
- Protected Member Functions inherited from Nancy::CifTree
 CifTree (Common::SeekableReadStream *stream, const Common::Path &name)
 

Member Function Documentation

◆ hasFile()

bool Nancy::PatchTree::hasFile ( const Common::Path path) const
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.

Reimplemented from Nancy::CifTree.


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