Bitcoin ABC 0.26.3
P2P Digital Currency
|
#include <algorithm>
#include <cstdint>
#include <iostream>
#include <sstream>
#include <stdexcept>
#include <cassert>
Go to the source code of this file.
Classes | |
class | tinyformat::format_error |
struct | tinyformat::detail::is_convertible< T1, T2 > |
struct | tinyformat::detail::is_convertible< T1, T2 >::fail |
struct | tinyformat::detail::is_convertible< T1, T2 >::succeed |
struct | tinyformat::detail::is_wchar< T > |
struct | tinyformat::detail::is_wchar< wchar_t * > |
struct | tinyformat::detail::is_wchar< const wchar_t * > |
struct | tinyformat::detail::is_wchar< const wchar_t[n]> |
struct | tinyformat::detail::is_wchar< wchar_t[n]> |
struct | tinyformat::detail::formatValueAsType< T, fmtT, convertible > |
struct | tinyformat::detail::formatValueAsType< T, fmtT, true > |
struct | tinyformat::detail::convertToInt< T, convertible > |
struct | tinyformat::detail::convertToInt< T, true > |
class | tinyformat::detail::FormatArg |
class | tinyformat::FormatList |
List of template arguments format(), held in a type-opaque way. More... | |
class | tinyformat::detail::FormatListN< N > |
class | tinyformat::detail::FormatListN< 0 > |
Namespaces | |
namespace | tinyformat |
namespace | tinyformat::detail |
Typedefs | |
typedef const FormatList & | tinyformat::FormatListRef |
Reference to type-opaque format list for passing to vformat() | |
Functions | |
template<typename T > | |
void | tinyformat::detail::formatTruncated (std::ostream &out, const T &value, int ntrunc) |
template<typename T > | |
void | tinyformat::formatValue (std::ostream &out, const char *, const char *fmtEnd, int ntrunc, const T &value) |
Format a value into a stream, delegating to operator<< by default. | |
int | tinyformat::detail::parseIntAndAdvance (const char *&c) |
bool | tinyformat::detail::parseWidthOrPrecision (int &n, const char *&c, bool positionalMode, const detail::FormatArg *args, int &argIndex, int numArgs) |
const char * | tinyformat::detail::printFormatStringLiteral (std::ostream &out, const char *fmt) |
const char * | tinyformat::detail::streamStateFromFormat (std::ostream &out, bool &positionalMode, bool &spacePadPositive, int &ntrunc, const char *fmtStart, const detail::FormatArg *args, int &argIndex, int numArgs) |
void | tinyformat::detail::formatImpl (std::ostream &out, const char *fmt, const detail::FormatArg *args, int numArgs) |
template<typename... Args> | |
detail::FormatListN< sizeof...(Args)> | tinyformat::makeFormatList (const Args &...args) |
Make type-agnostic format list from list of template arguments. | |
void | tinyformat::vformat (std::ostream &out, const char *fmt, FormatListRef list) |
Format list of arguments to the stream according to the given format string. | |
template<typename... Args> | |
void | tinyformat::format (std::ostream &out, const char *fmt, const Args &...args) |
Format list of arguments to the stream according to given format string. | |
template<typename... Args> | |
std::string | tinyformat::format (const char *fmt, const Args &...args) |
Format list of arguments according to the given format string and return the result as a string. | |
template<typename... Args> | |
void | tinyformat::printf (const char *fmt, const Args &...args) |
Format list of arguments to std::cout, according to the given format string. | |
template<typename... Args> | |
void | tinyformat::printfln (const char *fmt, const Args &...args) |
template<typename... Args> | |
std::string | tinyformat::format (const std::string &fmt, const Args &...args) |
#define strprintf tfm::format |
Format arguments and return the string or write to given std::ostream (see tinyformat::format doc for details)
Definition at line 1202 of file tinyformat.h.
#define TINYFORMAT_ARGTYPES | ( | n | ) | TINYFORMAT_ARGTYPES_##n |
Definition at line 389 of file tinyformat.h.
Definition at line 430 of file tinyformat.h.
#define TINYFORMAT_ARGTYPES_10 |
Definition at line 445 of file tinyformat.h.
#define TINYFORMAT_ARGTYPES_11 |
#define TINYFORMAT_ARGTYPES_12 |
#define TINYFORMAT_ARGTYPES_13 |
#define TINYFORMAT_ARGTYPES_14 |
#define TINYFORMAT_ARGTYPES_15 |
#define TINYFORMAT_ARGTYPES_16 |
Definition at line 432 of file tinyformat.h.
Definition at line 433 of file tinyformat.h.
Definition at line 434 of file tinyformat.h.
Definition at line 435 of file tinyformat.h.
Definition at line 437 of file tinyformat.h.
#define TINYFORMAT_ARGTYPES_8 |
#define TINYFORMAT_ARGTYPES_9 |
Definition at line 153 of file tinyformat.h.
#define TINYFORMAT_DEFINE_FORMAT_TRUNCATED_CSTR | ( | type | ) |
Definition at line 361 of file tinyformat.h.
#define TINYFORMAT_ERROR | ( | reasonString | ) | throw tinyformat::format_error(reasonString) |
Definition at line 136 of file tinyformat.h.
#define TINYFORMAT_FOREACH_ARGNUM | ( | m | ) |
Definition at line 563 of file tinyformat.h.
#define TINYFORMAT_HIDDEN |
Definition at line 179 of file tinyformat.h.
#define TINYFORMAT_PASSARGS | ( | n | ) | TINYFORMAT_PASSARGS_##n |
Definition at line 391 of file tinyformat.h.
Definition at line 520 of file tinyformat.h.
Definition at line 529 of file tinyformat.h.
Definition at line 530 of file tinyformat.h.
Definition at line 531 of file tinyformat.h.
Definition at line 532 of file tinyformat.h.
Definition at line 534 of file tinyformat.h.
Definition at line 536 of file tinyformat.h.
#define TINYFORMAT_PASSARGS_16 v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16 |
Definition at line 538 of file tinyformat.h.
Definition at line 521 of file tinyformat.h.
Definition at line 526 of file tinyformat.h.
Definition at line 527 of file tinyformat.h.
Definition at line 528 of file tinyformat.h.
#define TINYFORMAT_PASSARGS_TAIL | ( | n | ) | TINYFORMAT_PASSARGS_TAIL_##n |
Definition at line 392 of file tinyformat.h.
#define TINYFORMAT_PASSARGS_TAIL_1 |
Definition at line 541 of file tinyformat.h.
Definition at line 550 of file tinyformat.h.
Definition at line 551 of file tinyformat.h.
Definition at line 552 of file tinyformat.h.
Definition at line 554 of file tinyformat.h.
Definition at line 556 of file tinyformat.h.
Definition at line 558 of file tinyformat.h.
#define TINYFORMAT_PASSARGS_TAIL_16 , v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16 |
Definition at line 560 of file tinyformat.h.
Definition at line 542 of file tinyformat.h.
Definition at line 543 of file tinyformat.h.
Definition at line 544 of file tinyformat.h.
Definition at line 546 of file tinyformat.h.
Definition at line 547 of file tinyformat.h.
Definition at line 548 of file tinyformat.h.
Definition at line 549 of file tinyformat.h.
#define TINYFORMAT_USE_VARIADIC_TEMPLATES |
Definition at line 141 of file tinyformat.h.
#define TINYFORMAT_VARARGS | ( | n | ) | TINYFORMAT_VARARGS_##n |
Definition at line 390 of file tinyformat.h.
Definition at line 470 of file tinyformat.h.
#define TINYFORMAT_VARARGS_10 |
#define TINYFORMAT_VARARGS_11 |
#define TINYFORMAT_VARARGS_12 |
#define TINYFORMAT_VARARGS_13 |
#define TINYFORMAT_VARARGS_14 |
#define TINYFORMAT_VARARGS_15 |
#define TINYFORMAT_VARARGS_16 |
Definition at line 471 of file tinyformat.h.
Definition at line 472 of file tinyformat.h.
Definition at line 473 of file tinyformat.h.
Definition at line 475 of file tinyformat.h.
#define TINYFORMAT_VARARGS_6 |
#define TINYFORMAT_VARARGS_7 |
#define TINYFORMAT_VARARGS_8 |