Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::TableColumn< T > Struct Template Reference

A typed owning column definition; identity is independent of visual order. More...

#include <virtual_table.hpp>

Public Attributes

ColumnId id
 Nonzero unique value/generation pair within this table configuration.
GraphemeText header
 Owning header text, clipped without splitting graphemes.
std::int32_t width {1}
 Positive width in cells; columns are contiguous, in vector order.
std::function< GraphemeText(const T &)> format
 Owning typed accessor/formatter, only called for visible ready cells.

Detailed Description

template<class T>
struct portals::TableColumn< T >

A typed owning column definition; identity is independent of visual order.

Template Parameters
TImmutable domain record type; accessed by const reference, never copied by the table. Formatters own their captures, return owning text with the table width policy, and must not retain row borrows, perform I/O, mutate the tree/model, or produce unbounded temporary storage.

The documentation for this struct was generated from the following file: