Pioneer
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Editor::UndoSystem Class Reference

#include <UndoSystem.h>

Public Member Functions

 UndoSystem ()
 
 ~UndoSystem ()
 
size_t GetNumEntries () const
 
size_t GetCurrentEntry () const
 
const UndoEntryGetEntry (size_t stackIdx) const
 
size_t GetStateHash ()
 
bool CanUndo () const
 
bool CanRedo () const
 
void Undo ()
 
void Redo ()
 
void Clear ()
 
void BeginEntry (std::string_view name)
 
size_t GetEntryDepth () const
 
void ResetEntry ()
 
template<typename T , typename ... Args>
void AddUndoStep (Args &&...args)
 
void EndEntry ()
 

Constructor & Destructor Documentation

◆ UndoSystem()

UndoSystem::UndoSystem ( )

◆ ~UndoSystem()

UndoSystem::~UndoSystem ( )

Member Function Documentation

◆ AddUndoStep()

template<typename T , typename ... Args>
void Editor::UndoSystem::AddUndoStep ( Args &&...  args)
inline
Here is the call graph for this function:

◆ BeginEntry()

void UndoSystem::BeginEntry ( std::string_view  name)

◆ CanRedo()

bool Editor::UndoSystem::CanRedo ( ) const
inline

◆ CanUndo()

bool Editor::UndoSystem::CanUndo ( ) const
inline

◆ Clear()

void UndoSystem::Clear ( )

◆ EndEntry()

void UndoSystem::EndEntry ( )

◆ GetCurrentEntry()

size_t UndoSystem::GetCurrentEntry ( ) const

◆ GetEntry()

const UndoEntry * UndoSystem::GetEntry ( size_t  stackIdx) const

◆ GetEntryDepth()

size_t Editor::UndoSystem::GetEntryDepth ( ) const
inline

◆ GetNumEntries()

size_t UndoSystem::GetNumEntries ( ) const

◆ GetStateHash()

size_t UndoSystem::GetStateHash ( )

◆ Redo()

void UndoSystem::Redo ( )
Here is the call graph for this function:

◆ ResetEntry()

void UndoSystem::ResetEntry ( )

◆ Undo()

void UndoSystem::Undo ( )
Here is the call graph for this function:

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