TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
fmt::internal::Value Struct Reference

#include <format.h>

Classes

struct  CustomValue
 
struct  StringValue
 

Public Types

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 Attributes

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

typedef void(* fmt::internal::Value::FormatFunc)(void *formatter, const void *arg, void *format_str_ptr)

Member Enumeration Documentation

enum fmt::internal::Value::Type
Enumerator
NONE 
NAMED_ARG 
INT 
UINT 
LONG_LONG 
ULONG_LONG 
BOOL 
CHAR 
LAST_INTEGER_TYPE 
DOUBLE 
LONG_DOUBLE 
LAST_NUMERIC_TYPE 
CSTRING 
STRING 
WSTRING 
POINTER 
CUSTOM 
971  {
972  NONE, NAMED_ARG,
973  // Integer types should go first,
975  // followed by floating-point types.
978  };
Definition: format.h:977
Definition: format.h:974
Definition: format.h:972
Definition: format.h:976
Definition: format.h:974
Definition: format.h:977
Definition: format.h:974
Definition: format.h:977
Definition: format.h:972
Definition: format.h:974
Definition: format.h:974
Definition: format.h:977
Definition: format.h:976
Definition: format.h:977
Definition: format.h:974

Member Data Documentation

union { ... }
CustomValue fmt::internal::Value::custom
double fmt::internal::Value::double_value
int fmt::internal::Value::int_value
long double fmt::internal::Value::long_double_value
LongLong fmt::internal::Value::long_long_value
const void* fmt::internal::Value::pointer
StringValue<signed char> fmt::internal::Value::sstring
StringValue<char> fmt::internal::Value::string
unsigned fmt::internal::Value::uint_value
ULongLong fmt::internal::Value::ulong_long_value
StringValue<unsigned char> fmt::internal::Value::ustring
StringValue<wchar_t> fmt::internal::Value::wstring

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