Dash Core  0.12.2.1
P2P Digital Currency
tinyformat.h File Reference
#include <cassert>
#include <iostream>
#include <sstream>
#include <stdexcept>

Go to the source code of this file.

Classes

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::FormatIterator
 

Namespaces

 tinyformat
 
 tinyformat::detail
 

Macros

#define TINYFORMAT_ERROR(reasonString)   throw std::runtime_error(reasonString)
 
#define TINYFORMAT_NOINLINE
 
#define TINYFORMAT_DEFINE_FORMATVALUE_CHAR(charType)
 
#define TINYFORMAT_ARGTYPES(n)   TINYFORMAT_ARGTYPES_ ## n
 
#define TINYFORMAT_VARARGS(n)   TINYFORMAT_VARARGS_ ## n
 
#define TINYFORMAT_PASSARGS(n)   TINYFORMAT_PASSARGS_ ## n
 
#define TINYFORMAT_PASSARGS_TAIL(n)   TINYFORMAT_PASSARGS_TAIL_ ## n
 
#define TINYFORMAT_ARGTYPES_1   class T1
 
#define TINYFORMAT_ARGTYPES_2   class T1, class T2
 
#define TINYFORMAT_ARGTYPES_3   class T1, class T2, class T3
 
#define TINYFORMAT_ARGTYPES_4   class T1, class T2, class T3, class T4
 
#define TINYFORMAT_ARGTYPES_5   class T1, class T2, class T3, class T4, class T5
 
#define TINYFORMAT_ARGTYPES_6   class T1, class T2, class T3, class T4, class T5, class T6
 
#define TINYFORMAT_ARGTYPES_7   class T1, class T2, class T3, class T4, class T5, class T6, class T7
 
#define TINYFORMAT_ARGTYPES_8   class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8
 
#define TINYFORMAT_ARGTYPES_9   class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8, class T9
 
#define TINYFORMAT_ARGTYPES_10   class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8, class T9, class T10
 
#define TINYFORMAT_ARGTYPES_11   class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8, class T9, class T10, class T11
 
#define TINYFORMAT_ARGTYPES_12   class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8, class T9, class T10, class T11, class T12
 
#define TINYFORMAT_ARGTYPES_13   class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8, class T9, class T10, class T11, class T12, class T13
 
#define TINYFORMAT_ARGTYPES_14   class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8, class T9, class T10, class T11, class T12, class T13, class T14
 
#define TINYFORMAT_ARGTYPES_15   class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8, class T9, class T10, class T11, class T12, class T13, class T14, class T15
 
#define TINYFORMAT_ARGTYPES_16   class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8, class T9, class T10, class T11, class T12, class T13, class T14, class T15, class T16
 
#define TINYFORMAT_VARARGS_1   const T1& v1
 
#define TINYFORMAT_VARARGS_2   const T1& v1, const T2& v2
 
#define TINYFORMAT_VARARGS_3   const T1& v1, const T2& v2, const T3& v3
 
#define TINYFORMAT_VARARGS_4   const T1& v1, const T2& v2, const T3& v3, const T4& v4
 
#define TINYFORMAT_VARARGS_5   const T1& v1, const T2& v2, const T3& v3, const T4& v4, const T5& v5
 
#define TINYFORMAT_VARARGS_6   const T1& v1, const T2& v2, const T3& v3, const T4& v4, const T5& v5, const T6& v6
 
#define TINYFORMAT_VARARGS_7   const T1& v1, const T2& v2, const T3& v3, const T4& v4, const T5& v5, const T6& v6, const T7& v7
 
#define TINYFORMAT_VARARGS_8   const T1& v1, const T2& v2, const T3& v3, const T4& v4, const T5& v5, const T6& v6, const T7& v7, const T8& v8
 
#define TINYFORMAT_VARARGS_9   const T1& v1, const T2& v2, const T3& v3, const T4& v4, const T5& v5, const T6& v6, const T7& v7, const T8& v8, const T9& v9
 
#define TINYFORMAT_VARARGS_10   const T1& v1, const T2& v2, const T3& v3, const T4& v4, const T5& v5, const T6& v6, const T7& v7, const T8& v8, const T9& v9, const T10& v10
 
#define TINYFORMAT_VARARGS_11   const T1& v1, const T2& v2, const T3& v3, const T4& v4, const T5& v5, const T6& v6, const T7& v7, const T8& v8, const T9& v9, const T10& v10, const T11& v11
 
#define TINYFORMAT_VARARGS_12   const T1& v1, const T2& v2, const T3& v3, const T4& v4, const T5& v5, const T6& v6, const T7& v7, const T8& v8, const T9& v9, const T10& v10, const T11& v11, const T12& v12
 
#define TINYFORMAT_VARARGS_13   const T1& v1, const T2& v2, const T3& v3, const T4& v4, const T5& v5, const T6& v6, const T7& v7, const T8& v8, const T9& v9, const T10& v10, const T11& v11, const T12& v12, const T13& v13
 
#define TINYFORMAT_VARARGS_14   const T1& v1, const T2& v2, const T3& v3, const T4& v4, const T5& v5, const T6& v6, const T7& v7, const T8& v8, const T9& v9, const T10& v10, const T11& v11, const T12& v12, const T13& v13, const T14& v14
 
#define TINYFORMAT_VARARGS_15   const T1& v1, const T2& v2, const T3& v3, const T4& v4, const T5& v5, const T6& v6, const T7& v7, const T8& v8, const T9& v9, const T10& v10, const T11& v11, const T12& v12, const T13& v13, const T14& v14, const T15& v15
 
#define TINYFORMAT_VARARGS_16   const T1& v1, const T2& v2, const T3& v3, const T4& v4, const T5& v5, const T6& v6, const T7& v7, const T8& v8, const T9& v9, const T10& v10, const T11& v11, const T12& v12, const T13& v13, const T14& v14, const T15& v15, const T16& v16
 
#define TINYFORMAT_PASSARGS_1   v1
 
#define TINYFORMAT_PASSARGS_2   v1, v2
 
#define TINYFORMAT_PASSARGS_3   v1, v2, v3
 
#define TINYFORMAT_PASSARGS_4   v1, v2, v3, v4
 
#define TINYFORMAT_PASSARGS_5   v1, v2, v3, v4, v5
 
#define TINYFORMAT_PASSARGS_6   v1, v2, v3, v4, v5, v6
 
#define TINYFORMAT_PASSARGS_7   v1, v2, v3, v4, v5, v6, v7
 
#define TINYFORMAT_PASSARGS_8   v1, v2, v3, v4, v5, v6, v7, v8
 
#define TINYFORMAT_PASSARGS_9   v1, v2, v3, v4, v5, v6, v7, v8, v9
 
#define TINYFORMAT_PASSARGS_10   v1, v2, v3, v4, v5, v6, v7, v8, v9, v10
 
#define TINYFORMAT_PASSARGS_11   v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11
 
#define TINYFORMAT_PASSARGS_12   v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12
 
#define TINYFORMAT_PASSARGS_13   v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13
 
#define TINYFORMAT_PASSARGS_14   v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14
 
#define TINYFORMAT_PASSARGS_15   v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15
 
#define TINYFORMAT_PASSARGS_16   v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16
 
#define TINYFORMAT_PASSARGS_TAIL_1
 
#define TINYFORMAT_PASSARGS_TAIL_2   , v2
 
#define TINYFORMAT_PASSARGS_TAIL_3   , v2, v3
 
#define TINYFORMAT_PASSARGS_TAIL_4   , v2, v3, v4
 
#define TINYFORMAT_PASSARGS_TAIL_5   , v2, v3, v4, v5
 
#define TINYFORMAT_PASSARGS_TAIL_6   , v2, v3, v4, v5, v6
 
#define TINYFORMAT_PASSARGS_TAIL_7   , v2, v3, v4, v5, v6, v7
 
#define TINYFORMAT_PASSARGS_TAIL_8   , v2, v3, v4, v5, v6, v7, v8
 
#define TINYFORMAT_PASSARGS_TAIL_9   , v2, v3, v4, v5, v6, v7, v8, v9
 
#define TINYFORMAT_PASSARGS_TAIL_10   , v2, v3, v4, v5, v6, v7, v8, v9, v10
 
#define TINYFORMAT_PASSARGS_TAIL_11   , v2, v3, v4, v5, v6, v7, v8, v9, v10, v11
 
#define TINYFORMAT_PASSARGS_TAIL_12   , v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12
 
#define TINYFORMAT_PASSARGS_TAIL_13   , v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13
 
#define TINYFORMAT_PASSARGS_TAIL_14   , v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14
 
#define TINYFORMAT_PASSARGS_TAIL_15   , v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15
 
#define TINYFORMAT_PASSARGS_TAIL_16   , v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16
 
#define TINYFORMAT_FOREACH_ARGNUM(m)   m(1) m(2) m(3) m(4) m(5) m(6) m(7) m(8) m(9) m(10) m(11) m(12) m(13) m(14) m(15) m(16)
 
#define TINYFORMAT_DEFINE_FORMAT_C_STRING_TRUNCATE(type)
 
#define TINYFORMAT_MAKE_FORMAT_DETAIL(n)
 
#define TINYFORMAT_MAKE_FORMAT_FUNCS(n)
 
#define TINYFORMAT_WRAP_FORMAT_EXTRA_ARGS
 
#define TINYFORMAT_WRAP_FORMAT_N(n, returnType, funcName, funcDeclSuffix, bodyPrefix, streamName, bodySuffix)
 
#define TINYFORMAT_WRAP_FORMAT(returnType, funcName, funcDeclSuffix, bodyPrefix, streamName, bodySuffix)
 
#define strprintf   tfm::format
 

Functions

template<typename T >
void tinyformat::formatValue (std::ostream &out, const char *, const char *fmtEnd, const T &value)
 
void tinyformat::detail::format (FormatIterator &fmtIter)
 

Macro Definition Documentation

◆ strprintf

#define strprintf   tfm::format

Definition at line 1011 of file tinyformat.h.

Referenced by _createmultisig_redeemScript(), AcceptToMemoryPoolWorker(), AppInit2(), TorController::auth_cb(), AutoBackupWallet(), BaseParams(), CConnman::BindListenPort(), blockheaderToJSON(), blockToJSON(), CTxMemPool::CalculateMemPoolAncestors(), CallRPC(), CDB::CDB(), CPrivateSendClient::CheckAutomaticBackup(), CheckInputs(), CMasternodePayments::CheckPreviousBlockVotes(), Consensus::CheckTxInputs(), CInv::CInv(), ConnectThroughProxy(), CMasternodeBroadcast::Create(), CPrivateSendClient::CreateDenominated(), CreateNewBlock(), CWallet::CreateTransaction(), CKeePassIntegrator::doHTTPPost(), dumpwallet(), DurationToDHMS(), FormatException(), FormatMoney(), FormatScript(), FormatStateMessage(), TransactionRecord::formatSubTxId(), FormatVersion(), getblockheaders(), GetBlockPosFilename(), getblocktemplate(), CInv::GetCommand(), CHDPubKey::GetKeyPath(), getnetworkinfo(), getpeerinfo(), CActiveMasternode::GetStatus(), CPrivateSendClient::GetStatus(), getwalletinfo(), gobject(), CRPCTable::help(), HelpMessage(), HelpMessageCli(), HelpMessageDialog::HelpMessageDialog(), i64tostr(), InitHTTPAllowList(), IsBlockValueValid(), CGovernanceObject::IsCollateralValid(), CMasternodePaymentVote::IsValid(), CGovernanceObject::IsValidLocally(), itostr(), LicenseInfo(), LogThreadNameStr(), LogTimestampStr(), CDBEnv::MakeMock(), CActiveMasternode::ManageStateInitial(), CActiveMasternode::ManageStateLocal(), CActiveMasternode::ManageStateRemote(), masternode(), masternodebroadcast(), masternodelist(), NetworkErrorString(), MasternodeList::on_filterLineEdit_textChanged(), Params(), ProcessMessage(), CSporkManager::ProcessSpork(), CMasternodeMan::ProcessVerifyBroadcast(), CMasternodeMan::ProcessVerifyReply(), CMasternodeConfig::read(), ReadKeyValue(), CWalletDB::Recover(), rest_getutxos(), RPCTypeCheck(), RPCTypeCheckObj(), ScriptToAsmStr(), CWallet::SelectCoinsGrouppedByAddresses(), SendMoney(), sendrawtransaction(), CMasternodeMan::SendVerifyReply(), CMasternodeMan::SendVerifyRequest(), CWalletTx::SerializationOp(), ShowProgress(), MasternodeList::StartAll(), CWallet::TopUpKeyPool(), COutPoint::ToString(), CDiskBlockPos::ToString(), CFeeRate::ToString(), CUnsignedAlert::ToString(), CSubNet::ToString(), CInstantSend::ToString(), CBlock::ToString(), CTxIn::ToString(), CTxOut::ToString(), CDarksendQueue::ToString(), CBlockIndex::ToString(), CTransaction::ToString(), CMutableTransaction::ToString(), CInv::ToString(), CGovernanceManager::ToString(), CDiskBlockIndex::ToString(), COutput::ToString(), CBlockFileInfo::ToString(), CNetAddr::ToStringIP(), CService::ToStringPort(), COutPoint::ToStringShort(), TraceThread(), MasternodeList::updateNodeList(), TransactionRecord::updateStatus(), UpdateTip(), ValueFromAmount(), CWallet::Verify(), verifychain(), CHashSigner::VerifyHash(), CAddrDB::Write(), and CBanDB::Write().

◆ TINYFORMAT_ARGTYPES

#define TINYFORMAT_ARGTYPES (   n)    TINYFORMAT_ARGTYPES_ ## n

Definition at line 321 of file tinyformat.h.

◆ TINYFORMAT_ARGTYPES_1

#define TINYFORMAT_ARGTYPES_1   class T1

Definition at line 362 of file tinyformat.h.

◆ TINYFORMAT_ARGTYPES_10

#define TINYFORMAT_ARGTYPES_10   class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8, class T9, class T10

Definition at line 371 of file tinyformat.h.

◆ TINYFORMAT_ARGTYPES_11

#define TINYFORMAT_ARGTYPES_11   class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8, class T9, class T10, class T11

Definition at line 372 of file tinyformat.h.

◆ TINYFORMAT_ARGTYPES_12

#define TINYFORMAT_ARGTYPES_12   class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8, class T9, class T10, class T11, class T12

Definition at line 373 of file tinyformat.h.

◆ TINYFORMAT_ARGTYPES_13

#define TINYFORMAT_ARGTYPES_13   class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8, class T9, class T10, class T11, class T12, class T13

Definition at line 374 of file tinyformat.h.

◆ TINYFORMAT_ARGTYPES_14

#define TINYFORMAT_ARGTYPES_14   class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8, class T9, class T10, class T11, class T12, class T13, class T14

Definition at line 375 of file tinyformat.h.

◆ TINYFORMAT_ARGTYPES_15

#define TINYFORMAT_ARGTYPES_15   class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8, class T9, class T10, class T11, class T12, class T13, class T14, class T15

Definition at line 376 of file tinyformat.h.

◆ TINYFORMAT_ARGTYPES_16

#define TINYFORMAT_ARGTYPES_16   class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8, class T9, class T10, class T11, class T12, class T13, class T14, class T15, class T16

Definition at line 377 of file tinyformat.h.

◆ TINYFORMAT_ARGTYPES_2

#define TINYFORMAT_ARGTYPES_2   class T1, class T2

Definition at line 363 of file tinyformat.h.

◆ TINYFORMAT_ARGTYPES_3

#define TINYFORMAT_ARGTYPES_3   class T1, class T2, class T3

Definition at line 364 of file tinyformat.h.

◆ TINYFORMAT_ARGTYPES_4

#define TINYFORMAT_ARGTYPES_4   class T1, class T2, class T3, class T4

Definition at line 365 of file tinyformat.h.

◆ TINYFORMAT_ARGTYPES_5

#define TINYFORMAT_ARGTYPES_5   class T1, class T2, class T3, class T4, class T5

Definition at line 366 of file tinyformat.h.

◆ TINYFORMAT_ARGTYPES_6

#define TINYFORMAT_ARGTYPES_6   class T1, class T2, class T3, class T4, class T5, class T6

Definition at line 367 of file tinyformat.h.

◆ TINYFORMAT_ARGTYPES_7

#define TINYFORMAT_ARGTYPES_7   class T1, class T2, class T3, class T4, class T5, class T6, class T7

Definition at line 368 of file tinyformat.h.

◆ TINYFORMAT_ARGTYPES_8

#define TINYFORMAT_ARGTYPES_8   class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8

Definition at line 369 of file tinyformat.h.

◆ TINYFORMAT_ARGTYPES_9

#define TINYFORMAT_ARGTYPES_9   class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8, class T9

Definition at line 370 of file tinyformat.h.

◆ TINYFORMAT_DEFINE_FORMAT_C_STRING_TRUNCATE

#define TINYFORMAT_DEFINE_FORMAT_C_STRING_TRUNCATE (   type)
Value:
static bool formatCStringTruncate(std::ostream& out, type* value, \
std::streamsize truncLen) \
{ \
std::streamsize len = 0; \
while(len < truncLen && value[len] != 0) \
++len; \
out.write(value, len); \
return true; \
}

Definition at line 510 of file tinyformat.h.

◆ TINYFORMAT_DEFINE_FORMATVALUE_CHAR

#define TINYFORMAT_DEFINE_FORMATVALUE_CHAR (   charType)
Value:
inline void formatValue(std::ostream& out, const char* /*fmtBegin*/, \
const char* fmtEnd, charType value) \
{ \
switch(*(fmtEnd-1)) \
{ \
case 'u': case 'd': case 'i': case 'o': case 'X': case 'x': \
out << static_cast<int>(value); break; \
default: \
out << value; break; \
} \
}
void formatValue(std::ostream &out, const char *, const char *fmtEnd, const T &value)
Definition: tinyformat.h:268

Definition at line 297 of file tinyformat.h.

◆ TINYFORMAT_ERROR

#define TINYFORMAT_ERROR (   reasonString)    throw std::runtime_error(reasonString)

◆ TINYFORMAT_FOREACH_ARGNUM

#define TINYFORMAT_FOREACH_ARGNUM (   m)    m(1) m(2) m(3) m(4) m(5) m(6) m(7) m(8) m(9) m(10) m(11) m(12) m(13) m(14) m(15) m(16)

Definition at line 430 of file tinyformat.h.

◆ TINYFORMAT_MAKE_FORMAT_DETAIL

#define TINYFORMAT_MAKE_FORMAT_DETAIL (   n)
Value:
template<TINYFORMAT_ARGTYPES(n)> \
void format(detail::FormatIterator& fmtIter, TINYFORMAT_VARARGS(n)) \
{ \
fmtIter.accept(v1); \
format(fmtIter TINYFORMAT_PASSARGS_TAIL(n)); \
}
#define TINYFORMAT_VARARGS(n)
Definition: tinyformat.h:322
void format(FormatIterator &fmtIter)
Definition: tinyformat.h:870
#define TINYFORMAT_PASSARGS_TAIL(n)
Definition: tinyformat.h:324

Definition at line 876 of file tinyformat.h.

◆ TINYFORMAT_MAKE_FORMAT_FUNCS

#define TINYFORMAT_MAKE_FORMAT_FUNCS (   n)
Value:
\
template<TINYFORMAT_ARGTYPES(n)> \
void format(std::ostream& out, const char* fmt, TINYFORMAT_VARARGS(n)) \
{ \
tinyformat::detail::FormatIterator fmtIter(out, fmt); \
} \
\
template<TINYFORMAT_ARGTYPES(n)> \
std::string format(const char* fmt, TINYFORMAT_VARARGS(n)) \
{ \
std::ostringstream oss; \
return oss.str(); \
} \
\
template<TINYFORMAT_ARGTYPES(n)> \
std::string format(const std::string &fmt, TINYFORMAT_VARARGS(n)) \
{ \
std::ostringstream oss; \
return oss.str(); \
} \
\
template<TINYFORMAT_ARGTYPES(n)> \
void printf(const char* fmt, TINYFORMAT_VARARGS(n)) \
{ \
}
#define TINYFORMAT_PASSARGS(n)
Definition: tinyformat.h:323
#define TINYFORMAT_VARARGS(n)
Definition: tinyformat.h:322
void format(FormatIterator &fmtIter)
Definition: tinyformat.h:870

Definition at line 930 of file tinyformat.h.

◆ TINYFORMAT_NOINLINE

#define TINYFORMAT_NOINLINE

Definition at line 141 of file tinyformat.h.

◆ TINYFORMAT_PASSARGS

#define TINYFORMAT_PASSARGS (   n)    TINYFORMAT_PASSARGS_ ## n

Definition at line 323 of file tinyformat.h.

◆ TINYFORMAT_PASSARGS_1

#define TINYFORMAT_PASSARGS_1   v1

Definition at line 396 of file tinyformat.h.

◆ TINYFORMAT_PASSARGS_10

#define TINYFORMAT_PASSARGS_10   v1, v2, v3, v4, v5, v6, v7, v8, v9, v10

Definition at line 405 of file tinyformat.h.

◆ TINYFORMAT_PASSARGS_11

#define TINYFORMAT_PASSARGS_11   v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11

Definition at line 406 of file tinyformat.h.

◆ TINYFORMAT_PASSARGS_12

#define TINYFORMAT_PASSARGS_12   v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12

Definition at line 407 of file tinyformat.h.

◆ TINYFORMAT_PASSARGS_13

#define TINYFORMAT_PASSARGS_13   v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13

Definition at line 408 of file tinyformat.h.

◆ TINYFORMAT_PASSARGS_14

#define TINYFORMAT_PASSARGS_14   v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14

Definition at line 409 of file tinyformat.h.

◆ TINYFORMAT_PASSARGS_15

#define TINYFORMAT_PASSARGS_15   v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15

Definition at line 410 of file tinyformat.h.

◆ TINYFORMAT_PASSARGS_16

#define TINYFORMAT_PASSARGS_16   v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16

Definition at line 411 of file tinyformat.h.

◆ TINYFORMAT_PASSARGS_2

#define TINYFORMAT_PASSARGS_2   v1, v2

Definition at line 397 of file tinyformat.h.

◆ TINYFORMAT_PASSARGS_3

#define TINYFORMAT_PASSARGS_3   v1, v2, v3

Definition at line 398 of file tinyformat.h.

◆ TINYFORMAT_PASSARGS_4

#define TINYFORMAT_PASSARGS_4   v1, v2, v3, v4

Definition at line 399 of file tinyformat.h.

◆ TINYFORMAT_PASSARGS_5

#define TINYFORMAT_PASSARGS_5   v1, v2, v3, v4, v5

Definition at line 400 of file tinyformat.h.

◆ TINYFORMAT_PASSARGS_6

#define TINYFORMAT_PASSARGS_6   v1, v2, v3, v4, v5, v6

Definition at line 401 of file tinyformat.h.

◆ TINYFORMAT_PASSARGS_7

#define TINYFORMAT_PASSARGS_7   v1, v2, v3, v4, v5, v6, v7

Definition at line 402 of file tinyformat.h.

◆ TINYFORMAT_PASSARGS_8

#define TINYFORMAT_PASSARGS_8   v1, v2, v3, v4, v5, v6, v7, v8

Definition at line 403 of file tinyformat.h.

◆ TINYFORMAT_PASSARGS_9

#define TINYFORMAT_PASSARGS_9   v1, v2, v3, v4, v5, v6, v7, v8, v9

Definition at line 404 of file tinyformat.h.

◆ TINYFORMAT_PASSARGS_TAIL

#define TINYFORMAT_PASSARGS_TAIL (   n)    TINYFORMAT_PASSARGS_TAIL_ ## n

Definition at line 324 of file tinyformat.h.

◆ TINYFORMAT_PASSARGS_TAIL_1

#define TINYFORMAT_PASSARGS_TAIL_1

Definition at line 413 of file tinyformat.h.

◆ TINYFORMAT_PASSARGS_TAIL_10

#define TINYFORMAT_PASSARGS_TAIL_10   , v2, v3, v4, v5, v6, v7, v8, v9, v10

Definition at line 422 of file tinyformat.h.

◆ TINYFORMAT_PASSARGS_TAIL_11

#define TINYFORMAT_PASSARGS_TAIL_11   , v2, v3, v4, v5, v6, v7, v8, v9, v10, v11

Definition at line 423 of file tinyformat.h.

◆ TINYFORMAT_PASSARGS_TAIL_12

#define TINYFORMAT_PASSARGS_TAIL_12   , v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12

Definition at line 424 of file tinyformat.h.

◆ TINYFORMAT_PASSARGS_TAIL_13

#define TINYFORMAT_PASSARGS_TAIL_13   , v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13

Definition at line 425 of file tinyformat.h.

◆ TINYFORMAT_PASSARGS_TAIL_14

#define TINYFORMAT_PASSARGS_TAIL_14   , v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14

Definition at line 426 of file tinyformat.h.

◆ TINYFORMAT_PASSARGS_TAIL_15

#define TINYFORMAT_PASSARGS_TAIL_15   , v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15

Definition at line 427 of file tinyformat.h.

◆ TINYFORMAT_PASSARGS_TAIL_16

#define TINYFORMAT_PASSARGS_TAIL_16   , v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16

Definition at line 428 of file tinyformat.h.

◆ TINYFORMAT_PASSARGS_TAIL_2

#define TINYFORMAT_PASSARGS_TAIL_2   , v2

Definition at line 414 of file tinyformat.h.

◆ TINYFORMAT_PASSARGS_TAIL_3

#define TINYFORMAT_PASSARGS_TAIL_3   , v2, v3

Definition at line 415 of file tinyformat.h.

◆ TINYFORMAT_PASSARGS_TAIL_4

#define TINYFORMAT_PASSARGS_TAIL_4   , v2, v3, v4

Definition at line 416 of file tinyformat.h.

◆ TINYFORMAT_PASSARGS_TAIL_5

#define TINYFORMAT_PASSARGS_TAIL_5   , v2, v3, v4, v5

Definition at line 417 of file tinyformat.h.

◆ TINYFORMAT_PASSARGS_TAIL_6

#define TINYFORMAT_PASSARGS_TAIL_6   , v2, v3, v4, v5, v6

Definition at line 418 of file tinyformat.h.

◆ TINYFORMAT_PASSARGS_TAIL_7

#define TINYFORMAT_PASSARGS_TAIL_7   , v2, v3, v4, v5, v6, v7

Definition at line 419 of file tinyformat.h.

◆ TINYFORMAT_PASSARGS_TAIL_8

#define TINYFORMAT_PASSARGS_TAIL_8   , v2, v3, v4, v5, v6, v7, v8

Definition at line 420 of file tinyformat.h.

◆ TINYFORMAT_PASSARGS_TAIL_9

#define TINYFORMAT_PASSARGS_TAIL_9   , v2, v3, v4, v5, v6, v7, v8, v9

Definition at line 421 of file tinyformat.h.

◆ TINYFORMAT_VARARGS

#define TINYFORMAT_VARARGS (   n)    TINYFORMAT_VARARGS_ ## n

Definition at line 322 of file tinyformat.h.

◆ TINYFORMAT_VARARGS_1

#define TINYFORMAT_VARARGS_1   const T1& v1

Definition at line 379 of file tinyformat.h.

◆ TINYFORMAT_VARARGS_10

#define TINYFORMAT_VARARGS_10   const T1& v1, const T2& v2, const T3& v3, const T4& v4, const T5& v5, const T6& v6, const T7& v7, const T8& v8, const T9& v9, const T10& v10

Definition at line 388 of file tinyformat.h.

◆ TINYFORMAT_VARARGS_11

#define TINYFORMAT_VARARGS_11   const T1& v1, const T2& v2, const T3& v3, const T4& v4, const T5& v5, const T6& v6, const T7& v7, const T8& v8, const T9& v9, const T10& v10, const T11& v11

Definition at line 389 of file tinyformat.h.

◆ TINYFORMAT_VARARGS_12

#define TINYFORMAT_VARARGS_12   const T1& v1, const T2& v2, const T3& v3, const T4& v4, const T5& v5, const T6& v6, const T7& v7, const T8& v8, const T9& v9, const T10& v10, const T11& v11, const T12& v12

Definition at line 390 of file tinyformat.h.

◆ TINYFORMAT_VARARGS_13

#define TINYFORMAT_VARARGS_13   const T1& v1, const T2& v2, const T3& v3, const T4& v4, const T5& v5, const T6& v6, const T7& v7, const T8& v8, const T9& v9, const T10& v10, const T11& v11, const T12& v12, const T13& v13

Definition at line 391 of file tinyformat.h.

◆ TINYFORMAT_VARARGS_14

#define TINYFORMAT_VARARGS_14   const T1& v1, const T2& v2, const T3& v3, const T4& v4, const T5& v5, const T6& v6, const T7& v7, const T8& v8, const T9& v9, const T10& v10, const T11& v11, const T12& v12, const T13& v13, const T14& v14

Definition at line 392 of file tinyformat.h.

◆ TINYFORMAT_VARARGS_15

#define TINYFORMAT_VARARGS_15   const T1& v1, const T2& v2, const T3& v3, const T4& v4, const T5& v5, const T6& v6, const T7& v7, const T8& v8, const T9& v9, const T10& v10, const T11& v11, const T12& v12, const T13& v13, const T14& v14, const T15& v15

Definition at line 393 of file tinyformat.h.

◆ TINYFORMAT_VARARGS_16

#define TINYFORMAT_VARARGS_16   const T1& v1, const T2& v2, const T3& v3, const T4& v4, const T5& v5, const T6& v6, const T7& v7, const T8& v8, const T9& v9, const T10& v10, const T11& v11, const T12& v12, const T13& v13, const T14& v14, const T15& v15, const T16& v16

Definition at line 394 of file tinyformat.h.

◆ TINYFORMAT_VARARGS_2

#define TINYFORMAT_VARARGS_2   const T1& v1, const T2& v2

Definition at line 380 of file tinyformat.h.

◆ TINYFORMAT_VARARGS_3

#define TINYFORMAT_VARARGS_3   const T1& v1, const T2& v2, const T3& v3

Definition at line 381 of file tinyformat.h.

◆ TINYFORMAT_VARARGS_4

#define TINYFORMAT_VARARGS_4   const T1& v1, const T2& v2, const T3& v3, const T4& v4

Definition at line 382 of file tinyformat.h.

◆ TINYFORMAT_VARARGS_5

#define TINYFORMAT_VARARGS_5   const T1& v1, const T2& v2, const T3& v3, const T4& v4, const T5& v5

Definition at line 383 of file tinyformat.h.

◆ TINYFORMAT_VARARGS_6

#define TINYFORMAT_VARARGS_6   const T1& v1, const T2& v2, const T3& v3, const T4& v4, const T5& v5, const T6& v6

Definition at line 384 of file tinyformat.h.

◆ TINYFORMAT_VARARGS_7

#define TINYFORMAT_VARARGS_7   const T1& v1, const T2& v2, const T3& v3, const T4& v4, const T5& v5, const T6& v6, const T7& v7

Definition at line 385 of file tinyformat.h.

◆ TINYFORMAT_VARARGS_8

#define TINYFORMAT_VARARGS_8   const T1& v1, const T2& v2, const T3& v3, const T4& v4, const T5& v5, const T6& v6, const T7& v7, const T8& v8

Definition at line 386 of file tinyformat.h.

◆ TINYFORMAT_VARARGS_9

#define TINYFORMAT_VARARGS_9   const T1& v1, const T2& v2, const T3& v3, const T4& v4, const T5& v5, const T6& v6, const T7& v7, const T8& v8, const T9& v9

Definition at line 387 of file tinyformat.h.

◆ TINYFORMAT_WRAP_FORMAT

#define TINYFORMAT_WRAP_FORMAT (   returnType,
  funcName,
  funcDeclSuffix,
  bodyPrefix,
  streamName,
  bodySuffix 
)
Value:
inline \
returnType funcName(TINYFORMAT_WRAP_FORMAT_EXTRA_ARGS const char* fmt \
) funcDeclSuffix \
{ \
bodyPrefix \
tinyformat::detail::FormatIterator(streamName, fmt).finish(); \
bodySuffix \
} \
TINYFORMAT_WRAP_FORMAT_N(1 , returnType, funcName, funcDeclSuffix, bodyPrefix, streamName, bodySuffix) \
TINYFORMAT_WRAP_FORMAT_N(2 , returnType, funcName, funcDeclSuffix, bodyPrefix, streamName, bodySuffix) \
TINYFORMAT_WRAP_FORMAT_N(3 , returnType, funcName, funcDeclSuffix, bodyPrefix, streamName, bodySuffix) \
TINYFORMAT_WRAP_FORMAT_N(4 , returnType, funcName, funcDeclSuffix, bodyPrefix, streamName, bodySuffix) \
TINYFORMAT_WRAP_FORMAT_N(5 , returnType, funcName, funcDeclSuffix, bodyPrefix, streamName, bodySuffix) \
TINYFORMAT_WRAP_FORMAT_N(6 , returnType, funcName, funcDeclSuffix, bodyPrefix, streamName, bodySuffix) \
TINYFORMAT_WRAP_FORMAT_N(7 , returnType, funcName, funcDeclSuffix, bodyPrefix, streamName, bodySuffix) \
TINYFORMAT_WRAP_FORMAT_N(8 , returnType, funcName, funcDeclSuffix, bodyPrefix, streamName, bodySuffix) \
TINYFORMAT_WRAP_FORMAT_N(9 , returnType, funcName, funcDeclSuffix, bodyPrefix, streamName, bodySuffix) \
TINYFORMAT_WRAP_FORMAT_N(10, returnType, funcName, funcDeclSuffix, bodyPrefix, streamName, bodySuffix) \
TINYFORMAT_WRAP_FORMAT_N(11, returnType, funcName, funcDeclSuffix, bodyPrefix, streamName, bodySuffix) \
TINYFORMAT_WRAP_FORMAT_N(12, returnType, funcName, funcDeclSuffix, bodyPrefix, streamName, bodySuffix) \
TINYFORMAT_WRAP_FORMAT_N(13, returnType, funcName, funcDeclSuffix, bodyPrefix, streamName, bodySuffix) \
TINYFORMAT_WRAP_FORMAT_N(14, returnType, funcName, funcDeclSuffix, bodyPrefix, streamName, bodySuffix) \
TINYFORMAT_WRAP_FORMAT_N(15, returnType, funcName, funcDeclSuffix, bodyPrefix, streamName, bodySuffix) \
TINYFORMAT_WRAP_FORMAT_N(16, returnType, funcName, funcDeclSuffix, bodyPrefix, streamName, bodySuffix) \
#define TINYFORMAT_WRAP_FORMAT_EXTRA_ARGS
Definition: tinyformat.h:969

Definition at line 981 of file tinyformat.h.

◆ TINYFORMAT_WRAP_FORMAT_EXTRA_ARGS

#define TINYFORMAT_WRAP_FORMAT_EXTRA_ARGS

Definition at line 969 of file tinyformat.h.

◆ TINYFORMAT_WRAP_FORMAT_N

#define TINYFORMAT_WRAP_FORMAT_N (   n,
  returnType,
  funcName,
  funcDeclSuffix,
  bodyPrefix,
  streamName,
  bodySuffix 
)
Value:
template<TINYFORMAT_ARGTYPES(n)> \
returnType funcName(TINYFORMAT_WRAP_FORMAT_EXTRA_ARGS const char* fmt, \
TINYFORMAT_VARARGS(n)) funcDeclSuffix \
{ \
bodySuffix \
} \
#define TINYFORMAT_PASSARGS(n)
Definition: tinyformat.h:323
#define TINYFORMAT_VARARGS(n)
Definition: tinyformat.h:322
#define TINYFORMAT_WRAP_FORMAT_EXTRA_ARGS
Definition: tinyformat.h:969
void format(FormatIterator &fmtIter)
Definition: tinyformat.h:870

Definition at line 970 of file tinyformat.h.