Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
fmt::internal::MakeValue< Formatter > Class Template Reference

#include <format.h>

+ Inheritance diagram for fmt::internal::MakeValue< Formatter >:
+ Collaboration diagram for fmt::internal::MakeValue< Formatter >:

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 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 EnableIf< Not< ConvertToInt< T >::value >::value, uint64_t >::type 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 
 
};  
 

Detailed Description

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

Definition at line 1343 of file format.h.

Member Typedef Documentation

◆ Char

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

Definition at line 1345 of file format.h.

Constructor & Destructor Documentation

◆ MakeValue() [1/14]

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

◆ MakeValue() [2/14]

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

◆ MakeValue() [3/14]

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

◆ MakeValue() [4/14]

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

◆ MakeValue() [5/14]

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

◆ MakeValue() [6/14]

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

◆ MakeValue() [7/14]

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

◆ MakeValue() [8/14]

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

Definition at line 1393 of file format.h.

◆ MakeValue() [9/14]

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

Definition at line 1408 of file format.h.

◆ MakeValue() [10/14]

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

Definition at line 1420 of file format.h.

◆ MakeValue() [11/14]

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

Definition at line 1455 of file format.h.

◆ MakeValue() [12/14]

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 1496 of file format.h.

◆ MakeValue() [13/14]

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

Definition at line 1512 of file format.h.

◆ MakeValue() [14/14]

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

Definition at line 1514 of file format.h.

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

Definition at line 1385 of file format.h.

◆ set_string() [1/2]

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

Definition at line 1373 of file format.h.

◆ set_string() [2/2]

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

Definition at line 1378 of file format.h.

◆ type() [1/6]

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

Definition at line 1517 of file format.h.

◆ type() [2/6]

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

Definition at line 1519 of file format.h.

◆ type() [3/6]

template<typename Formatter >
template<typename T >
static EnableIf< Not< ConvertToInt< T >::value >::value, uint64_t >::type fmt::internal::MakeValue< Formatter >::type ( const T & )
inlinestatic

Definition at line 1505 of file format.h.

◆ type() [4/6]

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

Definition at line 1416 of file format.h.

◆ type() [5/6]

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

Definition at line 1426 of file format.h.

◆ type() [6/6]

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

Definition at line 1458 of file format.h.


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