|
Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
|
Owning column recipe whose identity is assigned by tableColumns. More...
#include <table_column.hpp>
Public Attributes | |
| std::string | header |
| Owning UTF-8 caption, validated when the schema is assembled. | |
| std::int32_t | width {1} |
| Width in terminal cells, validated by table preparation. | |
| std::function< GraphemeText(const T &)> | format |
| Owning callback; reference captures remain borrowed. | |
| std::function< std::function< GraphemeText(const T &)>(WidthPolicy)> | prepareFormat |
| Optional cold default formatter factory; each assembly owns its independent width policy. | |
Owning column recipe whose identity is assigned by tableColumns.
| T | Immutable record borrowed by the formatter; never copied by the recipe. Use for a fixed schema. Assemble once, then retain/reorder the returned columns; rebuilding recipes in a different order creates a different positional schema. |