Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc
Inheritance Hierarchy
- TSharedFromThis
- FPathPermissionList
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Misc/NamePermissionList.h |
| Include | #include "Misc/NamePermissionList.h" |
Syntax
class FPathPermissionList : public TSharedFromThis< FPathPermissionList >
Variables
| Type | Name | Description | |
|---|---|---|---|
| TMap< FString, FPermissionListOwners > | AllowList | List of items to allow, if not empty all items will be filtered out unless they are in the list | |
| bool | bSuppressOnFilterChanged | Temporarily prevent delegate from being triggered | |
| TMap< FString, FPermissionListOwners > | DenyList | List if items to filter out | |
| FPermissionListOwners | DenyListAll | List of owner names that requested all items to be filtered out | |
| EPathPermissionListType | ListType | Type of paths this list represent | |
| FSimpleMulticastDelegate | OnFilterChangedDelegate | Triggered when filter changes |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPathPermissionList
(
EPathPermissionListType InType |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AddAllowListItem
(
const FName OwnerName, |
Add item to allowlist after which all items not in the allowlist will be filtered out. | |
| bool | AddAllowListItem
(
const FName OwnerName, |
Add item to allowlist after which all items not in the allowlist will be filtered out. | |
| bool | AddAllowListItem
(
const FName OwnerName, |
Add item to allowlist after which all items not in the allowlist will be filtered out. | |
| bool | AddDenyListAll
(
const FName OwnerName |
Set to filter out all items. | |
| bool | AddDenyListItem
(
const FName OwnerName, |
Add item to DenyList, this specific item will be filtered out. | |
| bool | AddDenyListItem
(
const FName OwnerName, |
Add item to DenyList, this specific item will be filtered out. | |
| bool | AddDenyListItem
(
const FName OwnerName, |
Add item to DenyList, this specific item will be filtered out. | |
| bool | Append
(
const FPathPermissionList& Other |
Add the specified filters to this one. Rules are not applied, direct append lists. | |
| FPathPermissionList | CombinePathFilters
(
const FPathPermissionList& OtherFilter |
Combine two filters. | |
| const TMap< FString, FPermissionListOwners > & | GetAllowList () |
Get raw allowlist | |
| const TMap< FString, FPermissionListOwners > & | GetDenyList () |
Get raw DenyList | |
| TArray< FName > | Gathers the names of all the owners in this DenyList. | ||
| bool | HasFiltering () |
True if has filters active | |
| bool | Are all items set to be filtered out | ||
| FSimpleMulticastDelegate & | Triggered when filter changes | ||
| bool | PassesFilter
(
const FStringView Item |
Returns true if passes filter restrictions using exact match | |
| bool | PassesFilter
(
const FName Item |
Returns true if passes filter restrictions using exact match | |
| bool | PassesFilter
(
const TCHAR* Item |
Returns true if passes filter restrictions using exact match | |
| bool | PassesStartsWithFilter
(
const TCHAR* Item, |
Returns true if passes filter restrictions for path | |
| bool | PassesStartsWithFilter
(
const FStringView Item, |
Returns true if passes filter restrictions for path | |
| bool | PassesStartsWithFilter
(
const FName Item, |
Returns true if passes filter restrictions for path | |
| bool | RemoveAllowListItem
(
const FName OwnerName, |
Remove item from the AllowList | |
| bool | RemoveAllowListItem
(
const FName OwnerName, |
Remove item from the AllowList | |
| bool | RemoveAllowListItem
(
const FName OwnerName, |
Remove item from the AllowList | |
| bool | RemoveDenyListItem
(
const FName OwnerName, |
Remove item from the DenyList | |
| bool | RemoveDenyListItem
(
const FName OwnerName, |
Remove item from the DenyList | |
| bool | RemoveDenyListItem
(
const FName OwnerName, |
Remove item from the DenyList | |
| FString | ToString () |
Dumps the path permission list details into a multi-line string | |
| bool | UnregisterOwner
(
const FName OwnerName |
Removes all filtering changes associated with a specific owner name. | |
| bool | UnregisterOwners
(
const TArray< FName >& OwnerNames |
Removes all filtering changes associated with the specified list of owner names. | |
| bool | UnregisterOwnersAndAppend
(
const TArray< FName >& OwnerNamesToRemove, |
Unregisters specified owners then adds specified filters in one operation (to avoid multiple filters changed events). | |
| void | VerifyItemMatchesListType
(
const FStringView Item |
Checks if an item is of a valid format for this list |