Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FMemMark Class Reference

#include <MemStack.h>

+ Collaboration diagram for FMemMark:

Public Member Functions

 FMemMark (FMemStackBase &InMem)
 
 ~FMemMark ()
 
void Pop ()
 

Private Attributes

FMemStackBaseMem
 
uint8Top
 
FMemStackBase::FTaggedMemorySavedChunk
 
bool bPopped
 
FMemMarkNextTopmostMark
 

Detailed Description

FMemMark marks a top-of-stack position in the memory stack. When the marker is constructed or initialized with a particular memory stack, it saves the stack's current position. When marker is popped, it pops all items that were added to the stack subsequent to initialization.

Definition at line 469 of file MemStack.h.

Constructor & Destructor Documentation

◆ FMemMark()

FMemMark::FMemMark ( FMemStackBase & InMem)
inline

Definition at line 473 of file MemStack.h.

◆ ~FMemMark()

FMemMark::~FMemMark ( )
inline

Destructor.

Definition at line 487 of file MemStack.h.

+ Here is the call graph for this function:

Member Function Documentation

◆ Pop()

void FMemMark::Pop ( )
inline

Free the memory allocated after the mark was created.

Definition at line 493 of file MemStack.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ bPopped

bool FMemMark::bPopped
private

Definition at line 524 of file MemStack.h.

◆ Mem

FMemStackBase& FMemMark::Mem
private

Definition at line 521 of file MemStack.h.

◆ NextTopmostMark

FMemMark* FMemMark::NextTopmostMark
private

Definition at line 525 of file MemStack.h.

◆ SavedChunk

FMemStackBase::FTaggedMemory* FMemMark::SavedChunk
private

Definition at line 523 of file MemStack.h.

◆ Top

uint8* FMemMark::Top
private

Definition at line 522 of file MemStack.h.


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