Electroneum
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)
 
template<typename Char_ , typename T >
 MakeValue (const NamedArgWithType< Char_, T > &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_ > &)
 
template<typename Char_ , typename T >
static uint64_t type (const NamedArgWithType< Char_, T > &)
 

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
 
}; 
 

Member Typedef Documentation

◆ Char

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

Constructor & Destructor Documentation

◆ MakeValue() [1/15]

template<typename Formatter>
template<typename T >
fmt::internal::MakeValue< Formatter >::MakeValue ( const T value)
private

◆ MakeValue() [2/15]

template<typename Formatter>
template<typename T >
fmt::internal::MakeValue< Formatter >::MakeValue ( T value)
private

◆ MakeValue() [3/15]

template<typename Formatter>
fmt::internal::MakeValue< Formatter >::MakeValue ( typename WCharHelper< wchar_t, Char >::Unsupported  )
private

◆ MakeValue() [4/15]

template<typename Formatter>
fmt::internal::MakeValue< Formatter >::MakeValue ( typename WCharHelper< wchar_t *, Char >::Unsupported  )
private

◆ MakeValue() [5/15]

template<typename Formatter>
fmt::internal::MakeValue< Formatter >::MakeValue ( typename WCharHelper< const wchar_t *, Char >::Unsupported  )
private

◆ MakeValue() [6/15]

template<typename Formatter>
fmt::internal::MakeValue< Formatter >::MakeValue ( typename WCharHelper< const std::wstring &, Char >::Unsupported  )
private

◆ MakeValue() [7/15]

template<typename Formatter>
fmt::internal::MakeValue< Formatter >::MakeValue ( typename WCharHelper< WStringRef, Char >::Unsupported  )
private

◆ MakeValue() [8/15]

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

◆ MakeValue() [9/15]

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

◆ MakeValue() [10/15]

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

◆ MakeValue() [11/15]

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

◆ MakeValue() [12/15]

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

◆ MakeValue() [13/15]

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

◆ MakeValue() [14/15]

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

◆ MakeValue() [15/15]

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

Member Function Documentation

◆ format_custom_arg()

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

◆ set_string() [1/2]

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

◆ set_string() [2/2]

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

◆ type() [1/6]

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

◆ type() [2/6]

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

◆ type() [3/6]

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

◆ type() [4/6]

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

◆ type() [5/6]

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

◆ type() [6/6]

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

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