#include <Filter.h>
Inherits QObject.
Inherited by AzToolsFramework::AssetBrowser::AssetGroupFilter, AzToolsFramework::AssetBrowser::AssetTypeFilter, AzToolsFramework::AssetBrowser::CleanerProductsFilter, AzToolsFramework::AssetBrowser::CompositeFilter, AzToolsFramework::AssetBrowser::CustomFilter, AzToolsFramework::AssetBrowser::EntryTypeFilter, AzToolsFramework::AssetBrowser::InverseFilter, AzToolsFramework::AssetBrowser::RegExpFilter, and AzToolsFramework::AssetBrowser::StringFilter.
Public Types | |
enum | PropagateDirection : int { None = 0x00 , Up = 0x01 , Down = 0x02 } |
Propagate direction allows match satisfaction based on entry parents and/or children. | |
Signals | |
void | updatedSignal () const |
Emitted every time a filter is updated, in case of composite filter, the signal is propagated to the top level filter so only one listener needs to connected. | |
Public Member Functions | |
bool | Match (const AssetBrowserEntry *entry) const |
Check if entry matches filter. | |
bool | MatchWithoutPropagation (const AssetBrowserEntry *entry) const |
Check if the entry matches filter without propagation (i.e. it's an exact match and it doesn't match only. | |
void | Filter (AZStd::vector< const AssetBrowserEntry * > &result, const AssetBrowserEntry *entry) const |
Retrieve all matching entries that are either entry itself or its parents or children. | |
QString | GetName () const |
Filter name is used to uniquely identify the filter. | |
void | SetName (const QString &name) |
const QString & | GetTag () const |
Tags are used for identifying filter groups. | |
void | SetTag (const QString &tag) |
void | SetFilterPropagation (int direction) |
Filters are used to fascilitate searching asset browser for specific asset They are also used for enforcing selection constraints for asset picking