A std::string OutputType for runtime formatting into a std::string.
More...
#include <string_cfmt.hpp>
A std::string OutputType for runtime formatting into a std::string.
Definition at line 1207 of file string_cfmt.hpp.
◆ StringOutput()
| jau::cfmt::StringOutput::StringOutput |
( |
std::size_t | maxLen, |
|
|
std::string & | s ) |
|
inlinenoexcept |
◆ maxLen()
| size_t jau::cfmt::StringOutput::maxLen |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ fits()
| bool jau::cfmt::StringOutput::fits |
( |
size_t | n | ) |
const |
|
inlineconstexprnoexcept |
◆ get()
| std::string_view jau::cfmt::StringOutput::get |
( |
| ) |
const |
|
inlinenoexcept |
◆ appendFormatted() [1/6]
| void jau::cfmt::StringOutput::appendFormatted |
( |
const FormatOpts & | opts, |
|
|
const T & | v ) |
|
inlinenoexcept |
◆ appendFormatted() [2/6]
| void jau::cfmt::StringOutput::appendFormatted |
( |
const FormatOpts & | opts, |
|
|
const T & | v ) |
|
inlinenoexcept |
◆ appendFormatted() [3/6]
| void jau::cfmt::StringOutput::appendFormatted |
( |
const FormatOpts & | opts, |
|
|
const T & | v ) |
|
inlinenoexcept |
◆ appendFormatted() [4/6]
| void jau::cfmt::StringOutput::appendFormatted |
( |
const FormatOpts & | opts, |
|
|
const T & | v ) |
|
inlinenoexcept |
◆ appendFormatted() [5/6]
| void jau::cfmt::StringOutput::appendFormatted |
( |
const FormatOpts & | opts, |
|
|
const T & | v ) |
|
inlinenoexcept |
◆ appendFormatted() [6/6]
template<typename T>
requires std::is_floating_point_v<T>
| void jau::cfmt::StringOutput::appendFormatted |
( |
const FormatOpts & | opts, |
|
|
const T & | v ) |
|
inlinenoexcept |
◆ appendText()
| void jau::cfmt::StringOutput::appendText |
( |
const std::string_view | v | ) |
|
|
inlinenoexcept |
◆ appendError()
| void jau::cfmt::StringOutput::appendError |
( |
ssize_t | argIdx, |
|
|
int | line, |
|
|
const std::string_view | tag ) |
|
inlinenoexcept |
The documentation for this class was generated from the following file: