Namespace

cadran_text

On this page

Classes 1

  • cadran_text::FailureA failure as its dialog shows it (ui::error): what failed as the title, why as the text (the error's hint, first letter in capitals), the code small ("error 0x0000C88E",…

Functions 4

std::string table(const Rows &rows)
bool table_rows(const std::string &paragraph, Rows *rows)
std::vector< std::pair< std::string, std::string > > group_rows(const std::vector< std::pair< std::string, std::string > > &rows)

A table of five lines or more (a week): the lines that follow each other with the same value as one, their labels joined with " – " ("Monday – Friday"). Fewer lines are kept as they are.

cadran_text.hpp:27
Failure failure(const std::string &what,const std::string &hint,uint32_t rc,bool app_result)

what failed with rc; hint its words (cadran/error/<key>, "" when none is known); app_result: one of the app's own results, which explain themselves and have no code to show.

cadran_text.hpp:43

Types 1

using Rows = std::vector< std::pair< std::string, std::string > >

A dialog paragraph that is a table, as its caller built it: the rows, each a label and its value, after a mark that tells cadran::dialog_body (no guessing from the words). table_rows reads one back: false for a paragraph that is not one.

cadran_text.hpp:20

Read from Aurore's headers by Doxygen at each build · library/include