![]() |
MySQL 9.5.0
Source Code Documentation
|
#include <algorithm>#include <concepts>#include <cstdlib>#include <functional>#include <map>#include <sstream>#include <string>#include "harness_export.h"Go to the source code of this file.
Namespaces | |
| namespace | mysql_harness |
Functions | |
| HARNESS_EXPORT std::string | mysql_harness::truncate_string (const std::string &str, size_t max_len=80) |
| Return a truncated version of input string. More... | |
| template<class InputIt > | |
| void | mysql_harness::serial_comma (std::ostream &out, InputIt start, InputIt finish, const std::string &delim="and") |
| Emit a range of elements using the serial comma. More... | |
| template<class InputIt > | |
| std::string | mysql_harness::serial_comma (InputIt start, InputIt finish, const std::string &delim="and") |
| Returns string containing list of the elements using the serial comma. More... | |
| template<class Key , class Value > | |
| Value | mysql_harness::get_from_map (const std::map< Key, Value > &map, const Key &key, const Value &default_value) |
| Gets a Value from std::map for given Key. More... | |