Ark Server API (ASE) - Wiki
|
#include <UnrealTemplate.h>
Public Member Functions | |
TScopeCounter (Type &ReferenceValue) | |
~TScopeCounter () | |
Private Attributes | |
Type & | RefValue |
Additional Inherited Members | |
Private Member Functions inherited from FNoncopyable | |
FNoncopyable () | |
~FNoncopyable () | |
Commonly used to make sure a value is incremented, and then decremented anyway the function can terminate. Usage: TScopeCounter<int32> BeginProcessing(ProcessingCount); // increments ProcessingCount, and decrements it in the dtor
Definition at line 283 of file UnrealTemplate.h.
|
inline |
Definition at line 285 of file UnrealTemplate.h.
|
inline |
Definition at line 290 of file UnrealTemplate.h.
|
private |
Definition at line 296 of file UnrealTemplate.h.