Flow123d  JS_before_hm-1804-gf2ad740aa
Classes | Typedefs | Enumerations | Functions
fmt::internal Namespace Reference

Classes

struct  Arg
 
struct  ArgArray
 
struct  ArgArray< N, false >
 
struct  ArgArray< N, true >
 
class  ArgConverter
 
class  ArgFormatterBase
 
class  ArgMap
 
struct  ArgType
 
class  BasicCharTraits
 
struct  BasicData
 
class  BasicPrintfArgFormatter
 
class  CharConverter
 
class  CharTraits
 
class  CharTraits< char >
 
class  CharTraits< wchar_t >
 
struct  Conditional
 
struct  Conditional< false, T, F >
 
struct  ConvertToInt
 
struct  ConvertToIntImpl
 
struct  ConvertToIntImpl2
 
struct  ConvertToIntImpl2< T, true >
 
struct  ConvertToIntImpl< T, true >
 
struct  DummyInt
 
struct  DummyStream
 
struct  EnableIf
 
struct  EnableIf< true, T >
 
class  FixedBuffer
 
class  FormatBuf
 
class  FormatterBase
 
struct  IntChecker
 
struct  IntChecker< true >
 
struct  IntTraits
 
struct  is_same
 
struct  is_same< T, T >
 
class  IsZeroInt
 
struct  LConvCheck
 
class  MakeArg
 
struct  MakeUnsigned
 
class  MakeValue
 
class  MemoryBuffer
 
struct  NamedArg
 
struct  Not
 
struct  Not< false >
 
struct  NoThousandsSep
 
struct  Null
 
class  PrecisionHandler
 
class  PrintfArgFormatter
 
class  PrintfFormatter
 
class  RuntimeError
 
struct  SignChecker
 
struct  SignChecker< false >
 
class  ThousandsSep
 
struct  TypeSelector
 
struct  TypeSelector< false >
 
struct  Value
 
struct  WCharHelper
 
struct  WCharHelper< T, wchar_t >
 
class  WidthHandler
 

Typedefs

typedef std::numeric_limits< fmt::internal::DummyIntFPUtil
 
typedef BasicData Data
 
typedef char Yes[1]
 
typedef char No[2]
 

Enumerations

enum  { INLINE_BUFFER_SIZE = 500 }
 

Functions

FMT_FUNC void format_system_error (Writer &out, int error_code, StringRef message) FMT_NOEXCEPT
 
DummyInt signbit (...)
 
DummyInt _ecvt_s (...)
 
DummyInt isinf (...)
 
DummyInt _finite (...)
 
DummyInt isnan (...)
 
DummyInt _isnan (...)
 
template<typename T >
check (T value)
 
 FMT_SPECIALIZE_MAKE_UNSIGNED (char, unsigned char)
 
 FMT_SPECIALIZE_MAKE_UNSIGNED (signed char, unsigned char)
 
 FMT_SPECIALIZE_MAKE_UNSIGNED (short, unsigned short)
 
 FMT_SPECIALIZE_MAKE_UNSIGNED (int, unsigned)
 
 FMT_SPECIALIZE_MAKE_UNSIGNED (long, unsigned long)
 
 FMT_SPECIALIZE_MAKE_UNSIGNED (LongLong, ULongLong)
 
template<typename Int >
MakeUnsigned< Int >::Type to_unsigned (Int value)
 
template<typename T >
T * make_ptr (T *ptr, std::size_t)
 
template<typename T >
bool is_negative (T value)
 
FMT_API void report_unknown_type (char code, const char *type)
 
unsigned count_digits (uint64_t n)
 
template<typename UInt , typename Char , typename ThousandsSep >
void format_decimal (Char *buffer, UInt value, unsigned num_digits, ThousandsSep thousands_sep)
 
template<typename UInt , typename Char >
void format_decimal (Char *buffer, UInt value, unsigned num_digits)
 
template<typename T >
T & get ()
 
Yesconvert (fmt::ULongLong)
 
Noconvert (...)
 
 FMT_DISABLE_CONVERSION_TO_INT (float)
 
 FMT_DISABLE_CONVERSION_TO_INT (double)
 
 FMT_DISABLE_CONVERSION_TO_INT (long double)
 
template<typename LConv >
StringRef thousands_sep (LConv *lc, LConvCheck< char *LConv::*, &LConv::thousands_sep >=0)
 
fmt::StringRef thousands_sep (...)
 
uint64_t make_type ()
 
template<typename T >
uint64_t make_type (const T &arg)
 
uint64_t make_type (FMT_GEN15(FMT_ARG_TYPE_DEFAULT))
 
template<typename Char >
bool is_name_start (Char c)
 
template<typename Char >
unsigned parse_nonnegative_int (const Char *&s)
 
void require_numeric_argument (const Arg &arg, char spec)
 
template<typename Char >
void check_sign (const Char *&s, const Arg &arg)
 
Yesconvert (std::ostream &)
 
Nooperator<< (std::ostream &, int)
 

Typedef Documentation

◆ Data

Definition at line 848 of file format.h.

◆ FPUtil

typedef std::numeric_limits<fmt::internal::DummyInt> fmt::internal::FPUtil

Definition at line 298 of file format.h.

◆ No

typedef char fmt::internal::No[2]

Definition at line 1059 of file format.h.

◆ Yes

typedef char fmt::internal::Yes[1]

Definition at line 1058 of file format.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
INLINE_BUFFER_SIZE 

Definition at line 568 of file format.h.

Function Documentation

◆ _ecvt_s()

DummyInt fmt::internal::_ecvt_s (   ...)
inline

Definition at line 303 of file format.h.

Here is the caller graph for this function:

◆ _finite()

DummyInt fmt::internal::_finite (   ...)
inline

Definition at line 305 of file format.h.

Here is the caller graph for this function:

◆ _isnan()

DummyInt fmt::internal::_isnan (   ...)
inline

Definition at line 307 of file format.h.

Here is the caller graph for this function:

◆ check()

template<typename T >
T fmt::internal::check ( value)
inline

Definition at line 312 of file format.h.

Here is the caller graph for this function:

◆ check_sign()

template<typename Char >
void fmt::internal::check_sign ( const Char *&  s,
const Arg arg 
)

Definition at line 3479 of file format.h.

Here is the caller graph for this function:

◆ convert() [1/3]

No& fmt::internal::convert (   ...)
Here is the caller graph for this function:

◆ convert() [2/3]

Yes& fmt::internal::convert ( fmt::ULongLong  )

◆ convert() [3/3]

Yes& fmt::internal::convert ( std::ostream &  )

◆ count_digits()

unsigned fmt::internal::count_digits ( uint64_t  n)
inline

Definition at line 861 of file format.h.

Here is the caller graph for this function:

◆ FMT_DISABLE_CONVERSION_TO_INT() [1/3]

fmt::internal::FMT_DISABLE_CONVERSION_TO_INT ( double  )

◆ FMT_DISABLE_CONVERSION_TO_INT() [2/3]

fmt::internal::FMT_DISABLE_CONVERSION_TO_INT ( float  )

◆ FMT_DISABLE_CONVERSION_TO_INT() [3/3]

fmt::internal::FMT_DISABLE_CONVERSION_TO_INT ( long double  )

◆ FMT_SPECIALIZE_MAKE_UNSIGNED() [1/6]

fmt::internal::FMT_SPECIALIZE_MAKE_UNSIGNED ( char  ,
unsigned char   
)

◆ FMT_SPECIALIZE_MAKE_UNSIGNED() [2/6]

fmt::internal::FMT_SPECIALIZE_MAKE_UNSIGNED ( int  ,
unsigned   
)

◆ FMT_SPECIALIZE_MAKE_UNSIGNED() [3/6]

fmt::internal::FMT_SPECIALIZE_MAKE_UNSIGNED ( long  ,
unsigned long   
)

◆ FMT_SPECIALIZE_MAKE_UNSIGNED() [4/6]

fmt::internal::FMT_SPECIALIZE_MAKE_UNSIGNED ( LongLong  ,
ULongLong   
)

◆ FMT_SPECIALIZE_MAKE_UNSIGNED() [5/6]

fmt::internal::FMT_SPECIALIZE_MAKE_UNSIGNED ( short  ,
unsigned short   
)

◆ FMT_SPECIALIZE_MAKE_UNSIGNED() [6/6]

fmt::internal::FMT_SPECIALIZE_MAKE_UNSIGNED ( signed char  ,
unsigned char   
)

◆ format_decimal() [1/2]

template<typename UInt , typename Char >
void fmt::internal::format_decimal ( Char *  buffer,
UInt  value,
unsigned  num_digits 
)
inline

Definition at line 940 of file format.h.

◆ format_decimal() [2/2]

template<typename UInt , typename Char , typename ThousandsSep >
void fmt::internal::format_decimal ( Char *  buffer,
UInt  value,
unsigned  num_digits,
ThousandsSep  thousands_sep 
)
inline

Definition at line 916 of file format.h.

◆ format_system_error()

FMT_FUNC void fmt::internal::format_system_error ( Writer out,
int  error_code,
StringRef  message 
)

\rst Formats an error returned by an operating system or a language runtime, for example a file opening error, and writes it to out in the following form:

.. parsed-literal:: <message>*: *<system-message>*

where *<message>* is the passed message and *<system-message>* is the system message corresponding to the error code. error_code* is a system error code as given by errno. If error_code is not a valid error code such as -1, the system message may look like "Unknown error -1" and is platform-dependent. \endrst

Definition at line 219 of file format.cc.

Here is the caller graph for this function:

◆ get()

template<typename T >
T& fmt::internal::get ( )
Here is the caller graph for this function:

◆ is_name_start()

template<typename Char >
bool fmt::internal::is_name_start ( Char  c)
inline

Definition at line 3444 of file format.h.

Here is the caller graph for this function:

◆ is_negative()

template<typename T >
bool fmt::internal::is_negative ( value)
inline

Definition at line 808 of file format.h.

Here is the caller graph for this function:

◆ isinf()

DummyInt fmt::internal::isinf (   ...)
inline

Definition at line 304 of file format.h.

Here is the caller graph for this function:

◆ isnan()

DummyInt fmt::internal::isnan (   ...)
inline

Definition at line 306 of file format.h.

Here is the caller graph for this function:

◆ make_ptr()

template<typename T >
T* fmt::internal::make_ptr ( T *  ptr,
std::size_t   
)
inline

Definition at line 578 of file format.h.

Here is the caller graph for this function:

◆ make_type() [1/3]

uint64_t fmt::internal::make_type ( )
inline

Definition at line 2063 of file format.h.

◆ make_type() [2/3]

template<typename T >
uint64_t fmt::internal::make_type ( const T &  arg)
inline

Definition at line 2066 of file format.h.

◆ make_type() [3/3]

uint64_t fmt::internal::make_type ( FMT_GEN15(FMT_ARG_TYPE_DEFAULT )
inline

Definition at line 2118 of file format.h.

◆ operator<<()

No& fmt::internal::operator<< ( std::ostream &  ,
int   
)

◆ parse_nonnegative_int()

template<typename Char >
unsigned fmt::internal::parse_nonnegative_int ( const Char *&  s)

Definition at line 3451 of file format.h.

Here is the caller graph for this function:

◆ report_unknown_type()

FMT_FUNC void fmt::internal::report_unknown_type ( char  code,
const char *  type 
)

Definition at line 297 of file format.cc.

Here is the caller graph for this function:

◆ require_numeric_argument()

void fmt::internal::require_numeric_argument ( const Arg arg,
char  spec 
)
inline

Definition at line 3470 of file format.h.

Here is the caller graph for this function:

◆ signbit()

DummyInt fmt::internal::signbit (   ...)
inline

Definition at line 302 of file format.h.

Here is the caller graph for this function:

◆ thousands_sep() [1/2]

fmt::StringRef fmt::internal::thousands_sep (   ...)
inline

Definition at line 1133 of file format.h.

Here is the caller graph for this function:

◆ thousands_sep() [2/2]

template<typename LConv >
StringRef fmt::internal::thousands_sep ( LConv *  lc,
LConvCheck< char *LConv::*, &LConv::thousands_sep >  = 0 
)
inline

Definition at line 1128 of file format.h.

◆ to_unsigned()

template<typename Int >
MakeUnsigned<Int>::Type fmt::internal::to_unsigned ( Int  value)
inline

Definition at line 561 of file format.h.

Here is the caller graph for this function: