Navigation
API > API/Plugins > API/Plugins/TedsCore
A MementoTranslator is used to convert columns of data to mementos and back again Mementos are special types of columns that hold a subset of column data for dehydrating a row. This can be useful for reinstancing, undo/redo, LODs, etc.
| Name | UTedsMementoTranslatorBase |
| Type | class |
| Header File | /Engine/Plugins/Experimental/EditorDataStorage/Source/TedsCore/Public/Memento/TypedElementMementoTranslators.h |
| Include Path | #include "Memento/TypedElementMementoTranslators.h" |
Syntax
UCLASS (Abstract)
class UTedsMementoTranslatorBase : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UTedsMementoTranslatorBase
Derived Classes
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const UScriptStruct * GetColumnType() |
The type information of the column that this translator acts on | Memento/TypedElementMementoTranslators.h | |
virtual const UScriptStruct * GetMementoType() |
Type information for the memento | Memento/TypedElementMementoTranslators.h | |
virtual void TranslateColumnToMemento
(
const void* TypeErasedColumn, |
Implements the logic to convert a column to a memento | Memento/TypedElementMementoTranslators.h | |
virtual void TranslateMementoToColumn
(
const void* TypeErasedMemento, |
Implements the logic to convert a memento to a column | Memento/TypedElementMementoTranslators.h |