#include "visualdl/backend/logic/im.h"namespacevisualdl{/* * Utility helper for storage::Entry. */template<typenameT>structEntry{// use pointer to avoid copystorage::Entry*entry{nullptr};Entry(storage::Entry*entry):entry(entry){}/* * Set a single value. */voidSet(Tv);/* * Add a value to repeated message field. */voidAdd(Tv);};template<typenameT>voidTabletHelper::AddScalarRecord(intid,Tvalue){auto*record=data_->add_records();record->set_id(id);Entry<T>entry_helper(record->mutable_data());entry_helper.Set(value);}}// namespace visualdl