Bitcoin Core 28.99.0
P2P Digital Currency
Classes | Functions
tinyformat::detail Namespace Reference

Classes

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

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 881 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 301 of file tinyformat.h.

Here is the caller graph for this function:

◆ parseIntAndAdvance()

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

Definition at line 570 of file tinyformat.h.

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 583 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 621 of file tinyformat.h.

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 673 of file tinyformat.h.

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