Ark Server API (ASA) - Wiki
|
#include <FilterCollection.h>
Protected Member Functions | |
void | OnChildFilterChanged () |
Protected Member Functions inherited from TSharedFromThis< TFilterCollection< ItemType > > | |
TSharedFromThis () | |
TSharedFromThis (TSharedFromThis const &) | |
FORCEINLINE TSharedFromThis & | operator= (TSharedFromThis const &) |
~TSharedFromThis () | |
Protected Attributes | |
TArray< TSharedPtr< IFilter< ItemType > > > | ChildFilters |
FChangedEvent | ChangedEvent |
Additional Inherited Members | |
Static Protected Member Functions inherited from TSharedFromThis< TFilterCollection< ItemType > > | |
static FORCEINLINE TSharedRef< OtherType, Mode > | SharedThis (OtherType *ThisPtr) |
static FORCEINLINE TSharedRef< OtherType const, Mode > | SharedThis (const OtherType *ThisPtr) |
A simple collection of Filters, with additional Filter specific functionality.
Definition at line 15 of file FilterCollection.h.
|
inline |
TFilterCollection destructor. Unregisters from all child filter changed delegates.
Definition at line 23 of file FilterCollection.h.
|
inline |
Adds the specified Filter to the collection
Filter | The filter object to add to the collection |
Definition at line 42 of file FilterCollection.h.
TFilterCollection< ItemType >::DECLARE_EVENT | ( | TFilterCollection< ItemType > | , |
FChangedEvent | ) |
Broadcasts anytime the restrictions of any of the child Filters change
|
inline |
Gets the filter at the specified index
Index | The index of the requested filter in the ChildFilters array. |
Definition at line 92 of file FilterCollection.h.
|
inline |
Returns the number of Filters in the collection
Definition at line 98 of file FilterCollection.h.
|
inline |
Definition at line 124 of file FilterCollection.h.
|
inlineprotected |
Called when a child Filter restrictions change and broadcasts the FilterChanged delegate for the collection
Definition at line 132 of file FilterCollection.h.
|
inline |
Returns whether the specified Item passes all of the filters in the collection
InItem | The Item to check against all child filter restrictions |
Definition at line 109 of file FilterCollection.h.
|
inline |
Removes as many instances of the specified Filter as there are in the collection
Filter | The filter object to remove from the collection |
Definition at line 68 of file FilterCollection.h.
|
protected |
Fires whenever any filter in the collection changes
Definition at line 141 of file FilterCollection.h.
|
protected |
The array of child filters
Definition at line 138 of file FilterCollection.h.