Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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]

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

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

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
template<typename Formatter >
fmt::internal::MakeValue< Formatter >::MakeValue ( long  value)
inline
template<typename Formatter >
fmt::internal::MakeValue< Formatter >::MakeValue ( unsigned long  value)
inline
template<typename Formatter >
fmt::internal::MakeValue< Formatter >::MakeValue ( typename WCharHelper< wchar_t, Char >::Supported  value)
inline

References value.

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

References value.

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

References value.

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

References value.

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

References value.

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

References fmt::format_arg().

template<typename Formatter >
void fmt::internal::MakeValue< Formatter >::set_string ( StringRef  str)
inlineprivate
template<typename Formatter >
void fmt::internal::MakeValue< Formatter >::set_string ( WStringRef  str)
inlineprivate
template<typename Formatter >
static uint64_t fmt::internal::MakeValue< Formatter >::type ( long  )
inlinestatic
template<typename Formatter >
static uint64_t fmt::internal::MakeValue< Formatter >::type ( unsigned  long)
inlinestatic
template<typename Formatter >
static uint64_t fmt::internal::MakeValue< Formatter >::type ( wchar_t  )
inlinestatic
template<typename Formatter >
template<typename T >
static uint64_t fmt::internal::MakeValue< Formatter >::type ( const T )
inlinestatic
template<typename Formatter >
template<typename Char_ >
static uint64_t fmt::internal::MakeValue< Formatter >::type ( const NamedArg< Char_ > &  )
inlinestatic
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: