Navigation
API > API/Plugins > API/Plugins/DataRegistry
Scope object to set a temporary resolver, or register a global one
| Name | FDataRegistryResolverScope |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/DataRegistry/Source/DataRegistry/Public/DataRegistryTypes.h |
| Include Path | #include "DataRegistryTypes.h" |
Syntax
struct FDataRegistryResolverScope
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDataRegistryResolverScope
(
FDataRegistryResolver& ScopeResolver |
Creates a temporary resolver scope without requiring a dynamically allocated object. | DataRegistryTypes.h | |
FDataRegistryResolverScope
(
const TSharedPtr< FDataRegistryResolver >& ScopeResolver |
Creates a temporary resolver scope, will use the passed in resolver until scope returns. | DataRegistryTypes.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FDataRegistryResolverScope() |
Clears scope | DataRegistryTypes.h |
Structs
| Name | Remarks |
|---|---|
| FResolverStackEntry | Global and temporary resolver stack, will go from last added back to 0, optionally able to push stack objects. |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| ResolverStack | TArray< FResolverStackEntry > | DataRegistryTypes.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AddedScopeResolver | FDataRegistryResolver * | Stack depth at point this was added. | DataRegistryTypes.h |
Functions
Public
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool IsStackVolatile() |
Returns true if there are any volatile resolvers on the stack | DataRegistryTypes.h | |
static void RegisterGlobalResolver
(
const TSharedPtr< FDataRegistryResolver >& ScopeResolver |
Static function to register a global scope | DataRegistryTypes.h | |
static TSharedPtr< FDataRegistryResolver > ResolveIdToName
(
FName& OutResolvedName, |
Use the stack to resolve an ID, will return the resolver used if found | DataRegistryTypes.h | |
static FDataRegistryResolver * ResolveNameFromId
(
FName& OutResolvedName, |
Use the stack to resolve an ID, will return the resolver as raw pointer if found | DataRegistryTypes.h | |
static void UnregisterGlobalResolver
(
const TSharedPtr< FDataRegistryResolver >& ScopeResolver |
Unregister a global scope, must have been registered already | DataRegistryTypes.h |