Flow123d  release_3.0.0-967-g1590fa8
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | List of all members
fmt::internal::MakeValue< Formatter > Class Template Reference

#include <format.h>

Inheritance diagram for fmt::internal::MakeValue< Formatter >:
Inheritance graph
[legend]
Collaboration diagram for fmt::internal::MakeValue< Formatter >:
Collaboration graph
[legend]

Public Types

typedef Formatter::Char Char
 
- Public Types inherited from fmt::internal::Value
enum  Type {
  NONE, NAMED_ARG, INT, UINT,
  LONG_LONG, ULONG_LONG, BOOL, CHAR,
  LAST_INTEGER_TYPE = CHAR, DOUBLE, LONG_DOUBLE, LAST_NUMERIC_TYPE = LONG_DOUBLE,
  CSTRING, STRING, WSTRING, POINTER,
  CUSTOM
}
 
typedef void(* FormatFunc) (void *formatter, const void *arg, void *format_str_ptr)
 

Public Member Functions

 MakeValue ()
 
 MakeValue (long value)
 
 MakeValue (unsigned long value)
 
 MakeValue (typename WCharHelper< wchar_t, Char >::Supported value)
 
template<typename T >
 MakeValue (const T &value, typename EnableIf< Not< ConvertToInt< T >::value >::value, int >::type=0)
 
template<typename T >
 MakeValue (const T &value, typename EnableIf< ConvertToInt< T >::value, int >::type=0)
 
template<typename Char_ >
 MakeValue (const NamedArg< Char_ > &value)
 

Static Public Member Functions

static uint64_t type (long)
 
static uint64_t type (unsigned long)
 
static uint64_t type (wchar_t)
 
template<typename T >
static uint64_t type (const T &)
 
template<typename Char_ >
static uint64_t type (const NamedArg< Char_ > &)
 

Private Member Functions

template<typename T >
 MakeValue (const T *value)
 
template<typename T >
 MakeValue (T *value)
 
 MakeValue (typename WCharHelper< wchar_t, Char >::Unsupported)
 
 MakeValue (typename WCharHelper< wchar_t *, Char >::Unsupported)
 
 MakeValue (typename WCharHelper< const wchar_t *, Char >::Unsupported)
 
 MakeValue (typename WCharHelper< const std::wstring &, Char >::Unsupported)
 
 MakeValue (typename WCharHelper< WStringRef, Char >::Unsupported)
 
void set_string (StringRef str)
 
void set_string (WStringRef str)
 

Static Private Member Functions

template<typename T >
static void format_custom_arg (void *formatter, const void *arg, void *format_str_ptr)
 

Additional Inherited Members

- Public Attributes inherited from fmt::internal::Arg
Type type
 
- Public Attributes inherited from fmt::internal::Value
union {
   int   int_value
 
   unsigned   uint_value
 
   LongLong   long_long_value
 
   ULongLong   ulong_long_value
 
   double   double_value
 
   long double   long_double_value
 
   const void *   pointer
 
   StringValue< char >   string
 
   StringValue< signed char >   sstring
 
   StringValue< unsigned char >   ustring
 
   StringValue< wchar_t >   wstring
 
   CustomValue   custom
 
}; 
 

Detailed Description

template<typename Formatter>
class fmt::internal::MakeValue< Formatter >

Definition at line 1137 of file format.h.

Member Typedef Documentation

template<typename Formatter>
typedef Formatter::Char fmt::internal::MakeValue< Formatter >::Char

Definition at line 1139 of file format.h.

Constructor & Destructor Documentation

template<typename Formatter>
template<typename T >
fmt::internal::MakeValue< Formatter >::MakeValue ( const T *  value)
private
template<typename Formatter>
template<typename T >
fmt::internal::MakeValue< Formatter >::MakeValue ( T *  value)
private
template<typename Formatter>
fmt::internal::MakeValue< Formatter >::MakeValue ( typename WCharHelper< wchar_t, Char >::Unsupported  )
private
template<typename Formatter>
fmt::internal::MakeValue< Formatter >::MakeValue ( typename WCharHelper< wchar_t *, Char >::Unsupported  )
private
template<typename Formatter>
fmt::internal::MakeValue< Formatter >::MakeValue ( typename WCharHelper< const wchar_t *, Char >::Unsupported  )
private
template<typename Formatter>
fmt::internal::MakeValue< Formatter >::MakeValue ( typename WCharHelper< const std::wstring &, Char >::Unsupported  )
private
template<typename Formatter>
fmt::internal::MakeValue< Formatter >::MakeValue ( typename WCharHelper< WStringRef, Char >::Unsupported  )
private
template<typename Formatter>
fmt::internal::MakeValue< Formatter >::MakeValue ( )
inline

Definition at line 1184 of file format.h.

template<typename Formatter>
fmt::internal::MakeValue< Formatter >::MakeValue ( long  value)
inline

Definition at line 1199 of file format.h.

template<typename Formatter>
fmt::internal::MakeValue< Formatter >::MakeValue ( unsigned long  value)
inline

Definition at line 1211 of file format.h.

template<typename Formatter>
fmt::internal::MakeValue< Formatter >::MakeValue ( typename WCharHelper< wchar_t, Char >::Supported  value)
inline

Definition at line 1232 of file format.h.

template<typename Formatter>
template<typename T >
fmt::internal::MakeValue< Formatter >::MakeValue ( const T &  value,
typename EnableIf< Not< ConvertToInt< T >::value >::value, int >::type  = 0 
)
inline

Definition at line 1265 of file format.h.

template<typename Formatter>
template<typename T >
fmt::internal::MakeValue< Formatter >::MakeValue ( const T &  value,
typename EnableIf< ConvertToInt< T >::value, int >::type  = 0 
)
inline

Definition at line 1273 of file format.h.

template<typename Formatter>
template<typename Char_ >
fmt::internal::MakeValue< Formatter >::MakeValue ( const NamedArg< Char_ > &  value)
inline

Definition at line 1286 of file format.h.

Member Function Documentation

template<typename Formatter>
template<typename T >
static void fmt::internal::MakeValue< Formatter >::format_custom_arg ( void *  formatter,
const void *  arg,
void *  format_str_ptr 
)
inlinestaticprivate

Definition at line 1176 of file format.h.

template<typename Formatter>
void fmt::internal::MakeValue< Formatter >::set_string ( StringRef  str)
inlineprivate

Definition at line 1164 of file format.h.

template<typename Formatter>
void fmt::internal::MakeValue< Formatter >::set_string ( WStringRef  str)
inlineprivate

Definition at line 1169 of file format.h.

template<typename Formatter>
static uint64_t fmt::internal::MakeValue< Formatter >::type ( long  )
inlinestatic

Definition at line 1207 of file format.h.

Here is the caller graph for this function:

template<typename Formatter>
static uint64_t fmt::internal::MakeValue< Formatter >::type ( unsigned  long)
inlinestatic

Definition at line 1217 of file format.h.

template<typename Formatter>
static uint64_t fmt::internal::MakeValue< Formatter >::type ( wchar_t  )
inlinestatic

Definition at line 1235 of file format.h.

template<typename Formatter>
template<typename T >
static uint64_t fmt::internal::MakeValue< Formatter >::type ( const T &  )
inlinestatic

Definition at line 1279 of file format.h.

template<typename Formatter>
template<typename Char_ >
static uint64_t fmt::internal::MakeValue< Formatter >::type ( const NamedArg< Char_ > &  )
inlinestatic

Definition at line 1289 of file format.h.


The documentation for this class was generated from the following file: