// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "MuT/Table.h" #include "MuR/MutableMath.h" namespace mu { MUTABLE_DEFINE_ENUM_SERIALISABLE(ETableColumnType) struct FTableColumn { FString Name; ETableColumnType Type; }; struct FTableValue { // TODO: Union float Scalar; FVector4f Color; Ptr> ProxyImage; TSharedPtr Mesh; FString String; const void* ErrorContext; }; struct FTableRow { uint32 Id; TArray Values; }; //! class FTable::Private { public: FString Name; TArray Columns; TArray Rows; // Transient value for serialization compatibility bool bNoneOption_DEPRECATED = false; //! Find a row in the table by id. Return -1 if not found. int32 FindRow( uint32 id ) const { int32 res = -1; for ( int32 r=0; res<0 && r