FNamePermissionList

Inheritance Hierarchy

TSharedFromThis

FNamePermissionList

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/NamePermissionList.h

Include

#include "Misc/NamePermissionList.h"

Syntax

class FNamePermissionList : public TSharedFromThis< FNamePermissionList >

Variables

Name Description

Protected variable

TMap< FName, FP...

 

AllowList

List of items to allow, if not empty all items will be filtered out unless they are in the list

Protected variable

bool

 

bSuppressOnFilterChanged

Temporarily prevent delegate from being triggered

Protected variable

TMap< FName, FP...

 

DenyList

List if items to filter out

Protected variable

FPermissionList...

 

DenyListAll

List of owner names that requested all items to be filtered out

Protected variable

FSimpleMulticas...

 

OnFilterChangedDelegate

Triggered when filter changes

Constructors

Name Description

Public function

FNamePermissionList()

Destructors

Name Description

Public function Virtual

~FNamePermissionList()

Functions

Name Description

Public function

bool

 

AddAllowListItem

(
    const FName OwnerName,
    const FName Item
)

Add item to allowlist after which all items not in the allowlist will be filtered out.

Public function

bool

 

AddDenyListAll

(
    const FName OwnerName
)

Set to filter out all items.

Public function

bool

 

AddDenyListItem

(
    const FName OwnerName,
    const FName Item
)

Add item to DenyList, this specific item will be filtered out.

Public function

bool

 

Append

(
    const FNamePermissionList& Other
)

Add the specified filters to this one.

Public function Const

const TMap< ...

 

GetAllowList()

Get raw allowlist

Public function Const

const TMap< ...

 

GetDenyList()

Get raw DenyList

Public function Const

TArray< FNam...

 

GetOwnerNames()

Gathers the names of all the owners in this DenyList.

Public function Const

bool

 

HasFiltering()

True if has filters active

Public function Const

bool

 

IsDenyListAll()

Are all items set to be filtered out

Public function

FSimpleMulti...

 

OnFilterChanged()

Triggered when filter changes

Public function Const

bool

 

PassesFilter

(
    const FName Item
)

Returns true if passes filter restrictions using exact match

Public function

bool

 

RemoveAllowListItem

(
    const FName OwnerName,
    const FName Item
)

Removes a previously-added item from the allowlist.

Public function

bool

 

RemoveDenyListItem

(
    const FName OwnerName,
    const FName Item
)

Removes a previously-added item from the DenyList.

Public function

bool

 

UnregisterOwner

(
    const FName OwnerName
)

Removes all filtering changes associated with a specific owner name.

Public function

bool

 

UnregisterOwners

(
    const TArray< FName >& OwnerNames
)

Removes all filtering changes associated with the specified list of owner names.

Public function

bool

 

UnregisterOwnersAndAppend

(
    const TArray< FName >& OwnerNamesT...,
    const FNamePermissionList& Filters...
)

Unregisters specified owners then adds specified filters in one operation (to avoid multiple filters changed events).

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Cancel