#include <evo/fmt.h>
Helper for adjusting FmtTable column attributes.
- This is paired with FmtTable and used to update column attributes
- Use operator<<() to update and step through each column, using similar syntax to FmtTableOut:
- Column widths only grow – ignored if new width is smaller
- This may use multiple passes – use
NL
to reset to first column (optional but preferred):
- Useful with fmt_table_nocache()
- See Additional Formatting
◆ FmtTableAttribs()
Constructor.
- Parameters
-
table | Reference to table to update |
◆ operator<<() [1/4]
Set alignment for current column and move to next column.
- Parameters
-
align | Column alignment value |
- Returns
- This
◆ operator<<() [2/4]
Update minimum width of current column and move to next column.
- This updates updates the column width if the new value is greater
- Parameters
-
minwidth | New minimum width for column |
- Returns
- This
◆ operator<<() [3/4]
Update column alignment and minimum width together and move to next column.
- This updates updates the column width if the new value is greater
- Parameters
-
field | Field info to get align and minwidth from |
- Returns
- This
◆ operator<<() [4/4]
Reset by moving back to first column.
- Returns
- This
◆ column_index
◆ table
The documentation for this struct was generated from the following file: