// Copyright Epic Games, Inc. All Rights Reserved. #include "TableCellValueGetter.h" #include "Insights/Table/ViewModels/BaseTreeNode.h" #define LOCTEXT_NAMESPACE "TableCellValueGetter" namespace Insights { //////////////////////////////////////////////////////////////////////////////////////////////////// const TOptional FNameValueGetter::GetValue(const FTableColumn& Column, const FBaseTreeNode& Node) const { return TOptional(FTableCellValue(FText::FromName(Node.GetName()))); } //////////////////////////////////////////////////////////////////////////////////////////////////// const TOptional FDisplayNameValueGetter::GetValue(const FTableColumn& Column, const FBaseTreeNode& Node) const { return TOptional(FTableCellValue(Node.GetDisplayName())); } //////////////////////////////////////////////////////////////////////////////////////////////////// } // namespace Insights #undef LOCTEXT_NAMESPACE