![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <CoreRedirectsContext.h>
Public Types | |
| enum class | EFlags : uint32 { None = 0 , DebugMode = 1 << 0 , ValidateAddedRedirects = 1 << 1 , UseRedirectionSummary = 1 << 2 , Default = ValidateAddedRedirects | UseRedirectionSummary } |
Public Member Functions | |
| UE_API void | InitializeContext () |
| UE_API | FCoreRedirectsContext () |
| UE_API | FCoreRedirectsContext (const FCoreRedirectsContext &OtherContext) |
| const bool | IsInitialized () const |
| const bool | IsInDebugMode () const |
| EFlags | GetFlags () const |
| void | SetFlags (EFlags Flags) |
| const bool | HasValidated () const |
| TMap< FName, ECoreRedirectFlags > & | GetConfigKeyMap () |
| FCoreRedirects::FRedirectTypeMap & | GetRedirectTypeMap () |
| UE_API FCoreRedirectsContext & | operator= (const FCoreRedirectsContext &Other) |
Static Public Member Functions | |
| static UE_API FCoreRedirectsContext & | GetGlobalContext () |
| static UE_API FCoreRedirectsContext & | GetThreadContext () |
| static UE_API void | SetThreadContext (FCoreRedirectsContext &NewContext) |
Friends | |
| struct | FScopeCoreRedirectsReadLockedContext |
| struct | FScopeCoreRedirectsWriteLockedContext |
| void | FCoreRedirects::ValidateAllRedirects () |
Stores state required for FCoreRedirects API. The context encapsulates the necessary state for the FCoreRedirects API to function. Changine the context can be used to change the set of CoreRedirects for the current thread without affecting other threads. It is up to the user to ensure contexts are shared or not between threads. By default a single global context is shared amoung all threads until a thread local context is set.
|
strong |
| FCoreRedirectsContext::FCoreRedirectsContext | ( | ) |
Creates a context with a debug context name
| FCoreRedirectsContext::FCoreRedirectsContext | ( | const FCoreRedirectsContext & | OtherContext | ) |
Creates a context with a debug context name, and inherits the state from OtherContext. The state from OtherContext is copied into the new context
|
inline |
Map from config name to flag
|
inline |
Gets the flags for the context
|
static |
|
inline |
Map from name of thing being mapped to full list. List must be filtered further
|
static |
|
inline |
True if we have done our initial validation. After initial validation, each change to redirects will validate independently
| void FCoreRedirectsContext::InitializeContext | ( | ) |
Run initialization steps that are needed before any data can be stored from FCoreRedirects calls.
|
inline |
True if we are in debug mode that does extra validation
|
inline |
Get whether this has been initialized
| FCoreRedirectsContext & FCoreRedirectsContext::operator= | ( | const FCoreRedirectsContext & | Other | ) |
|
inline |
Sets the flags for the context
|
static |
|
friend |