ScummVM API documentation
Common::SearchManager Class Reference
Inheritance diagram for Common::SearchManager:
Common::Singleton< SearchManager > Common::SearchSet Common::NonCopyable Common::Archive

Public Member Functions

virtual void clear ()
 
- Public Member Functions inherited from Common::SearchSet
void add (const String &name, Archive *arch, int priority=0, bool autoFree=true)
 
void addDirectory (const String &name, const Path &directory, int priority=0, int depth=1, bool flat=false)
 
void addDirectory (const String &name, const FSNode &directory, int priority=0, int depth=1, bool flat=false)
 
void addDirectory (const Path &directory, int priority=0, int depth=1, bool flat=false)
 
void addDirectory (const FSNode &directory, int priority=0, int depth=1, bool flat=false)
 
void addSubDirectoryMatching (const FSNode &directory, const String &caselessName, int priority=0, int depth=1, bool flat=false)
 
void addSubDirectoriesMatching (const FSNode &directory, String origPattern, bool ignoreCase, int priority=0, int depth=1, bool flat=false)
 
void remove (const String &name)
 
bool hasArchive (const String &name) const
 
ArchivegetArchive (const String &name) const
 
void setPriority (const String &name, int priority)
 
bool hasFile (const Path &path) const override
 
bool isPathDirectory (const Path &path) const override
 
int listMatchingMembers (ArchiveMemberList &list, const Path &pattern, bool matchPathComponents=false) const override
 
int listMatchingMembers (ArchiveMemberDetailsList &list, const Path &pattern, bool matchPathComponents=false) const
 
int listMembers (ArchiveMemberList &list) const override
 
const ArchiveMemberPtr getMember (const Path &path) const override
 
const ArchiveMemberPtr getMember (const Path &path, Archive **container) const
 
SeekableReadStreamcreateReadStreamForMember (const Path &path) const override
 
SeekableReadStreamcreateReadStreamForMemberAltStream (const Path &path, AltStreamType altStreamType) const override
 
SeekableReadStreamcreateReadStreamForMemberNext (const Path &path, const Archive *starting) const override
 
void setIgnoreClashes (bool ignoreClashes)
 
- Public Member Functions inherited from Common::Archive
Common::Error dumpArchive (const Path &destPath)
 
virtual char getPathSeparator () const
 

Additional Inherited Members

- Static Public Member Functions inherited from Common::Singleton< SearchManager >
static bool hasInstance ()
 
static SearchManagerinstance ()
 
static void destroy ()
 
- Protected Types inherited from Common::Singleton< SearchManager >
typedef SearchManager SingletonBaseType
 
- Static Protected Attributes inherited from Common::Singleton< SearchManager >
static SearchManager_singleton
 

Member Function Documentation

◆ clear()

virtual void Common::SearchManager::clear ( )
virtual

Reset the Search Manager to the default list of search paths (system specific dirs + current dir).

Reimplemented from Common::SearchSet.


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