Navigation
API > API/Runtime > API/Runtime/CoreUObject
| Name | FArchiveCallstacks |
| Type | class |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/Serialization/ArchiveStackTrace.h |
| Include Path | #include "Serialization/ArchiveStackTrace.h" |
Syntax
class FArchiveCallstacks
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FArchiveCallstacks
(
UObject* InAsset |
Serialization/ArchiveStackTrace.h |
Structs
| Name | Remarks |
|---|---|
| FCallstackAtOffset | Offset and callstack pair |
| FCallstackData | Struct to hold the actual Serialize call callstack and any associated data |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Asset | UObject * | The asset being serialized | Serialization/ArchiveStackTrace.h | |
| bCallstacksDirty | bool | Optimizes callstack comparison. | Serialization/ArchiveStackTrace.h | |
| CallstackAtOffsetMap | TArray< FCallstackAtOffset > | List of offsets and their respective callstacks | Serialization/ArchiveStackTrace.h | |
| LastSerializeCallstack | ANSICHAR * | Callstack associated with the previous Serialize call | Serialization/ArchiveStackTrace.h | |
| StackTrace | TUniquePtr< ANSICHAR[]> | Buffer for getting the current stack trace | Serialization/ArchiveStackTrace.h | |
| StackTraceSize | const SIZE_T | Maximum size of the stack trace | Serialization/ArchiveStackTrace.h | |
| TotalSize | int64 | Total serialized bytes | Serialization/ArchiveStackTrace.h | |
| UniqueCallstacks | TMap< uint32, FCallstackData > | Contains all unique callstacks for all Serialize calls | Serialization/ArchiveStackTrace.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Add
(
int64 Offset, |
Capture and append the current callstack. | Serialization/ArchiveStackTrace.h | |
void Append
(
const FArchiveCallstacks& Other, |
Append other callstacks. | Serialization/ArchiveStackTrace.h | |
FName GetAssetClass() |
Returns the asset class name. | Serialization/ArchiveStackTrace.h | |
const FCallstackAtOffset & GetCallstack
(
int32 CallstackIndex |
Finds a callstack associated with data at the specified offset | Serialization/ArchiveStackTrace.h | |
const FCallstackData & GetCallstackData
(
const FCallstackAtOffset& CallstackOffset |
Serialization/ArchiveStackTrace.h | ||
int32 GetCallstackIndexAtOffset
(
int64 Offset, |
Finds a callstack associated with data at the specified offset | Serialization/ArchiveStackTrace.h | |
int64 GetSerializedDataSizeForOffsetIndex
(
int32 InOffsetIndex |
Returns the size of serialized data at the specified offset. | Serialization/ArchiveStackTrace.h | |
int32 Num() |
Returns the total number of callstacks. | Serialization/ArchiveStackTrace.h | |
int64 TotalCapturedSize() |
Returns total serialized bytes. | Serialization/ArchiveStackTrace.h |