![]() |
Ark Server API (ASA) - Wiki
|
#include <UnrealTemplate.h>
Inheritance diagram for TGuardValue< RefType, AssignedType >:
Collaboration diagram for TGuardValue< RefType, AssignedType >:Public Member Functions | |
| TGuardValue (RefType &ReferenceValue, const AssignedType &NewValue) | |
| ~TGuardValue () | |
| FORCEINLINE const AssignedType & | operator* () const |
Private Attributes | |
| RefType & | RefValue |
| AssignedType | OldValue |
Additional Inherited Members | |
Private Member Functions inherited from FNoncopyable | |
| FNoncopyable () | |
| ~FNoncopyable () | |
exception-safe guard around saving/restoring a value. Commonly used to make sure a value is restored even if the code early outs in the future. Usage: TGuardValue<bool> GuardSomeBool(bSomeBool, false); // Sets bSomeBool to false, and restores it in dtor.
Definition at line 325 of file UnrealTemplate.h.
|
inline |
Definition at line 327 of file UnrealTemplate.h.
|
inline |
Definition at line 332 of file UnrealTemplate.h.
|
inline |
Overloaded dereference operator. Provides read-only access to the original value of the data being tracked by this struct
Definition at line 343 of file UnrealTemplate.h.
|
private |
Definition at line 350 of file UnrealTemplate.h.
|
private |
Definition at line 349 of file UnrealTemplate.h.