Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
tinyformat::detail Namespace Reference

Classes

struct  is_convertible
struct  is_wchar
struct  is_wchar< wchar_t * >
struct  is_wchar< const wchar_t * >
struct  is_wchar< const wchar_t[n]>
struct  is_wchar< wchar_t[n]>
struct  formatValueAsType
struct  formatValueAsType< T, fmtT, true >
struct  convertToInt
struct  convertToInt< T, true >
class  FormatArg
class  FormatListN
class  FormatListN< 0 >

Functions

template<typename T>
void formatTruncated (std::ostream &out, const T &value, int ntrunc)
int parseIntAndAdvance (const char *&c)
bool parseWidthOrPrecision (int &n, const char *&c, bool positionalMode, const detail::FormatArg *args, int &argIndex, int numArgs)
const char * printFormatStringLiteral (std::ostream &out, const char *fmt)
const char * streamStateFromFormat (std::ostream &out, bool &positionalMode, bool &spacePadPositive, int &ntrunc, const char *fmtStart, const detail::FormatArg *args, int &argIndex, int numArgs)
void formatImpl (std::ostream &out, const char *fmt, const detail::FormatArg *args, int numArgs)

Function Documentation

◆ formatImpl()

void tinyformat::detail::formatImpl ( std::ostream & out,
const char * fmt,
const detail::FormatArg * args,
int numArgs )
inline

Definition at line 888 of file tinyformat.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ formatTruncated()

template<typename T>
void tinyformat::detail::formatTruncated ( std::ostream & out,
const T & value,
int ntrunc )
inline

Definition at line 308 of file tinyformat.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ parseIntAndAdvance()

int tinyformat::detail::parseIntAndAdvance ( const char *& c)
inline

Definition at line 577 of file tinyformat.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ parseWidthOrPrecision()

bool tinyformat::detail::parseWidthOrPrecision ( int & n,
const char *& c,
bool positionalMode,
const detail::FormatArg * args,
int & argIndex,
int numArgs )
inline

Definition at line 590 of file tinyformat.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ printFormatStringLiteral()

const char * tinyformat::detail::printFormatStringLiteral ( std::ostream & out,
const char * fmt )
inline

Definition at line 628 of file tinyformat.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ streamStateFromFormat()

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 )
inline

Definition at line 680 of file tinyformat.h.

Here is the call graph for this function:
Here is the caller graph for this function: