class
#include <Spore/Resource/IKeyFilter.h>
IKeyFilter A generic interface used to filter ResourceKey objects.
Contents
Derived classes
- class StandardFileFilter
- The standard file filter which filters resources depending on the ResourceKey.
Constructors, destructors, conversion operators
- ~IKeyFilter() virtual
Public functions
- auto IsValid(const ResourceKey& name) -> bool pure virtual
- A method used to determine whether a file with this ResourceKey name is accepted.
Function documentation
bool Resource:: IKeyFilter:: IsValid(const ResourceKey& name) pure virtual
A method used to determine whether a file with this ResourceKey name is accepted.
Parameters | |
---|---|
name | |
Returns | True if the file is accepted, false otherwise. |