Bitcoin Core  0.20.99
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 872 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 288 of file tinyformat.h.

Here is the caller graph for this function:

◆ parseIntAndAdvance()

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

Definition at line 561 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 574 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 612 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 664 of file tinyformat.h.

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