Navigation
API > API/Runtime > API/Runtime/CoreUObject
| Name | FStructOnScope |
| Type | class |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/StructOnScope.h |
| Include Path | #include "UObject/StructOnScope.h" |
Syntax
class FStructOnScope
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FStructOnScope
(
const UStruct* InScriptStruct, |
UObject/StructOnScope.h | ||
FStructOnScope
(
const FStructOnScope& |
UObject/StructOnScope.h | ||
FStructOnScope
(
FStructOnScope&& InOther |
UObject/StructOnScope.h | ||
FStructOnScope
(
const UStruct* InScriptStruct |
UObject/StructOnScope.h | ||
| UObject/StructOnScope.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FStructOnScope() |
UObject/StructOnScope.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddReferencedObjects
(
FReferenceCollector& Collector |
If the struct definition is still available and there is struct memory to read from, add any object references in the struct data to the collector | UObject/StructOnScope.h | |
virtual void Destroy() |
UObject/StructOnScope.h | ||
virtual UPackage * GetPackage() |
UObject/StructOnScope.h | ||
virtual const UStruct * GetStruct() |
UObject/StructOnScope.h | ||
virtual uint8 * GetStructMemory () |
UObject/StructOnScope.h | ||
virtual const uint8 * GetStructMemory () |
UObject/StructOnScope.h | ||
TWeakObjectPtr< const UStruct > & GetStructPtr() |
UObject/StructOnScope.h | ||
void Initialize
(
TWeakObjectPtr< const UStruct > InScriptStruct |
Re-initializes the scope with a specified UStruct | UObject/StructOnScope.h | |
virtual bool IsValid() |
UObject/StructOnScope.h | ||
virtual bool OwnsStructMemory() |
UObject/StructOnScope.h | ||
virtual void Reset() |
UObject/StructOnScope.h | ||
virtual void SetPackage
(
UPackage* InPackage |
UObject/StructOnScope.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Initialize () |
UObject/StructOnScope.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FStructOnScope & operator=
(
FStructOnScope&& InOther |
UObject/StructOnScope.h | ||
FStructOnScope & operator=
(
const FStructOnScope& |
UObject/StructOnScope.h |