Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FArchiveSerializedPropertyChain Struct Reference

#include <ArchiveSerializedPropertyChain.h>

+ Collaboration diagram for FArchiveSerializedPropertyChain:

Public Member Functions

 FArchiveSerializedPropertyChain ()
 
void PushProperty (struct FProperty *InProperty, const bool bIsEditorOnlyProperty)
 
void PopProperty (struct FProperty *InProperty, const bool bIsEditorOnlyProperty)
 
struct FPropertyGetPropertyFromStack (const int32 InStackIndex) const
 
struct FPropertyGetPropertyFromRoot (const int32 InRootIndex) const
 
int32 GetNumProperties () const
 
uint32 GetUpdateCount () const
 
bool HasEditorOnlyProperty () const
 

Private Member Functions

void IncrementUpdateCount ()
 

Private Attributes

TArray< struct FProperty *, TInlineAllocator< 8 > > SerializedPropertyChain
 
uint32 SerializedPropertyChainUpdateCount
 

Detailed Description

Structure containing the stack of properties that are currently being serialized by an archive

Definition at line 8 of file ArchiveSerializedPropertyChain.h.

Constructor & Destructor Documentation

◆ FArchiveSerializedPropertyChain()

FArchiveSerializedPropertyChain::FArchiveSerializedPropertyChain ( )
inline

Default constructor

Definition at line 12 of file ArchiveSerializedPropertyChain.h.

Member Function Documentation

◆ GetNumProperties()

int32 FArchiveSerializedPropertyChain::GetNumProperties ( ) const
inline

Get the number of properties currently on the stack

Definition at line 85 of file ArchiveSerializedPropertyChain.h.

◆ GetPropertyFromRoot()

struct FProperty * FArchiveSerializedPropertyChain::GetPropertyFromRoot ( const int32 InRootIndex) const
inline

Get the property at the given index from the root

Note
This index is in array order, so the 0th index with be the root property on the stack

Definition at line 77 of file ArchiveSerializedPropertyChain.h.

◆ GetPropertyFromStack()

struct FProperty * FArchiveSerializedPropertyChain::GetPropertyFromStack ( const int32 InStackIndex) const
inline

Get the property at the given index on the stack

Note
This index is in stack order, so the 0th index with be the leaf property on the stack

Definition at line 68 of file ArchiveSerializedPropertyChain.h.

◆ GetUpdateCount()

uint32 FArchiveSerializedPropertyChain::GetUpdateCount ( ) const
inline

Get the counter for the number of times that SerializedPropertyChain has been updated

Definition at line 93 of file ArchiveSerializedPropertyChain.h.

◆ HasEditorOnlyProperty()

bool FArchiveSerializedPropertyChain::HasEditorOnlyProperty ( ) const
inline

Check to see whether there are any editor-only properties on the stack

Definition at line 101 of file ArchiveSerializedPropertyChain.h.

◆ IncrementUpdateCount()

void FArchiveSerializedPropertyChain::IncrementUpdateCount ( )
inlineprivate

Definition at line 111 of file ArchiveSerializedPropertyChain.h.

+ Here is the caller graph for this function:

◆ PopProperty()

void FArchiveSerializedPropertyChain::PopProperty ( struct FProperty * InProperty,
const bool bIsEditorOnlyProperty )
inline

Pop a property that was previously being serialized

Parameters
InPropertyPointer to the property that was previously being serialized
bIsEditorOnlyPropertyTrue if the property is editor only (call FProperty::IsEditorOnlyProperty to work this out, as the archive can't since it can't access CoreUObject types)

Definition at line 47 of file ArchiveSerializedPropertyChain.h.

+ Here is the call graph for this function:

◆ PushProperty()

void FArchiveSerializedPropertyChain::PushProperty ( struct FProperty * InProperty,
const bool bIsEditorOnlyProperty )
inline

Push a property that is currently being serialized

Parameters
InPropertyPointer to the property that is currently being serialized
bIsEditorOnlyPropertyTrue if the property is editor only (call FProperty::IsEditorOnlyProperty to work this out, as the archive can't since it can't access CoreUObject types)

Definition at line 26 of file ArchiveSerializedPropertyChain.h.

+ Here is the call graph for this function:

Member Data Documentation

◆ SerializedPropertyChain

TArray<struct FProperty*, TInlineAllocator<8> > FArchiveSerializedPropertyChain::SerializedPropertyChain
private

Array of properties on the stack

Definition at line 117 of file ArchiveSerializedPropertyChain.h.

◆ SerializedPropertyChainUpdateCount

uint32 FArchiveSerializedPropertyChain::SerializedPropertyChainUpdateCount
private

Counter for the number of times that SerializedPropertyChain has been updated

Definition at line 120 of file ArchiveSerializedPropertyChain.h.


The documentation for this struct was generated from the following file: