#include <cli11_formatter.hpp>
|
CLI::Validator * | get_validator (CLI::Option *opt, const std::string &name) const |
|
std::string | replace (std::string &in, const std::string &pat, const std::string &rep) const |
|
|
static void | wrap_text (std::ostream &out, const std::string &text, size_t width) |
|
Definition at line 7 of file cli11_formatter.hpp.
◆ Formatter()
bb::Formatter::Formatter |
( |
| ) |
|
|
inline |
◆ get_validator()
CLI::Validator * bb::Formatter::get_validator |
( |
CLI::Option * |
opt, |
|
|
const std::string & |
name |
|
) |
| const |
|
inlineprivate |
◆ make_help()
std::string bb::Formatter::make_help |
( |
const CLI::App * |
app, |
|
|
std::string |
name, |
|
|
CLI::AppFormatMode |
mode |
|
) |
| const |
|
inlineoverride |
◆ make_option_desc()
std::string bb::Formatter::make_option_desc |
( |
const CLI::Option * |
opt | ) |
const |
|
inlineoverride |
◆ make_option_opts()
std::string bb::Formatter::make_option_opts |
( |
const CLI::Option * |
opt | ) |
const |
|
inlineoverride |
◆ make_subcommand()
std::string bb::Formatter::make_subcommand |
( |
const CLI::App * |
sub | ) |
const |
|
inlineoverride |
◆ replace()
std::string bb::Formatter::replace |
( |
std::string & |
in, |
|
|
const std::string & |
pat, |
|
|
const std::string & |
rep |
|
) |
| const |
|
inlineprivate |
◆ wrap_text()
static void bb::Formatter::wrap_text |
( |
std::ostream & |
out, |
|
|
const std::string & |
text, |
|
|
size_t |
width |
|
) |
| |
|
inlinestaticprivate |
The documentation for this class was generated from the following file: