UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
SerializedPropertyScope.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3/*=============================================================================
4 AsyncPackage.h: Unreal async loading definitions.
5=============================================================================*/
6
7#pragma once
8
10
13{
14 FArchive& Ar;
15 FProperty* Property;
16 COREUOBJECT_API void PushProperty();
17 COREUOBJECT_API void PopProperty();
18public:
20 : Ar(InAr)
22 {
24 {
25 PushProperty();
26 }
27 else
28 {
29 Property = nullptr;
30 }
31 }
33 {
34 PopProperty();
35 }
36};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition Archive.h:1208
UE_FORCEINLINE_HINT class FProperty * GetSerializedProperty() const
Definition Archive.h:748
Definition UnrealType.h:174
Definition SerializedPropertyScope.h:13
~FSerializedPropertyScope()
Definition SerializedPropertyScope.h:32
FSerializedPropertyScope(FArchive &InAr, FProperty *InProperty, const FProperty *OnlyIfOldProperty=nullptr)
Definition SerializedPropertyScope.h:19