276 Format(
const std::string & fmt_string);
306 Format &
addU(
unsigned int v,
unsigned int width = 0);
379 Format &
addF(
double v,
char fmt =
'f',
unsigned int width = 0,
unsigned int frac_precision = 3);
399 Format &
addS(
const std::string & v,
unsigned int width = 0);
439 std::runtime_error(problem +
" format string was \n" + fmt.getOrig()) { }
453 const std::string &
str(
bool check_for_filled_out =
false)
const;
468 const std::string & getOrig()
const {
return orig_fmt_string; }
470 std::string fmt_string;
471 std::string orig_fmt_string;
472 unsigned int cur_arg_number;
475 std::list<size_t> escape_positions;
479 void insertField(
const std::string & s);
Not much else is spelled that way, so we're probably not going to have too many collisions with code ...