Euphoria
|
table_string.cc
Go to the documentation of this file.
std::vector< std::string > split(const std::string &s, char delim)
Definition: stringutils.cc:431
std::string trim(const std::string &string_to_trim, std::string_view trim_characters)
Remove characters from both the start and the end.
Definition: stringutils.cc:79
Definition: argparse.cc:45
void print_table_grid(std::ostream &out, const StringTable &maintable)
Definition: table_string.cc:269
std::vector< int > calc_all_column_widths(const StringTable &table, int extra)
Definition: table_string.cc:185
int calc_width_of_string(const std::string &t)
Definition: table_string.cc:128
int calc_single_row_height(const StringTable &t, int r)
Definition: table_string.cc:174
@ trim
void print_table_simple(std::ostream &out, const StringTable &maintable)
Definition: table_string.cc:214
StringTable split_table_cells_on_newline(const StringTable &table, StringTable::Idx row)
Return a new table based on row, where each cell is split at newline over many rows.
Definition: table_string.cc:198
int calc_single_column_width(const StringTable &t, int c)
Definition: table_string.cc:163
StringTable parse_csv(const std::string &csv_data, const CsvParserOptions &options)
Definition: table_string.cc:15
int calc_height_of_string(const std::string &t)
Definition: table_string.cc:149
String utility functions.
Definition: stringbuilder.h:9
Definition: table_string.h:72
Definition: table.h:18
static Table from_width_height(Idx width, Idx height, T d=T())
Definition: table.h:23
static TextfileParser from_string(const std::string &str)
Definition: textfileparser.cc:96