Public Types | Public Member Functions | Public Attributes | Static Private Member Functions | List of all members
detail::value< Context > Class Template Reference

#include <core.h>

Public Types

using char_type = typename Context::char_type
 

Public Member Functions

constexpr FMT_INLINE value ()
 
FMT_CONSTEXPR FMT_INLINE value (basic_string_view< char_type > val)
 
constexpr FMT_INLINE value (bool val)
 
constexpr FMT_INLINE value (char_type val)
 
FMT_CONSTEXPR FMT_INLINE value (const char_type *val)
 
FMT_INLINE value (const named_arg_info< char_type > *args, size_t size)
 
FMT_INLINE value (const void *val)
 
constexpr FMT_INLINE value (double val)
 
constexpr FMT_INLINE value (float val)
 
constexpr FMT_INLINE value (int val)
 
FMT_INLINE value (int128_opt val)
 
FMT_INLINE value (long double val)
 
constexpr FMT_INLINE value (long long val)
 
template<typename T >
FMT_CONSTEXPR20 FMT_INLINE value (T &val)
 
FMT_INLINE value (uint128_opt val)
 
 value (unformattable)
 
 value (unformattable_char)
 
 value (unformattable_pointer)
 
constexpr FMT_INLINE value (unsigned long long val)
 
constexpr FMT_INLINE value (unsigned val)
 

Public Attributes

union {
   bool   bool_value
 
   char_type   char_value
 
   custom_value< Context >   custom
 
   double   double_value
 
   float   float_value
 
   int128_opt   int128_value
 
   int   int_value
 
   long double   long_double_value
 
   long long   long_long_value
 
   named_arg_value< char_type >   named_args
 
   monostate   no_value
 
   const void *   pointer
 
   string_value< char_type >   string
 
   uint128_opt   uint128_value
 
   unsigned   uint_value
 
   unsigned long long   ulong_long_value
 
}; 
 

Static Private Member Functions

template<typename T , typename Formatter >
static void format_custom_arg (void *arg, typename Context::parse_context_type &parse_ctx, Context &ctx)
 

Detailed Description

template<typename Context>
class detail::value< Context >

Definition at line 1257 of file core.h.

Member Typedef Documentation

◆ char_type

template<typename Context >
using detail::value< Context >::char_type = typename Context::char_type

Definition at line 1259 of file core.h.

Constructor & Destructor Documentation

◆ value() [1/20]

template<typename Context >
constexpr FMT_INLINE detail::value< Context >::value ( )
inlineconstexpr

Definition at line 1280 of file core.h.

◆ value() [2/20]

template<typename Context >
constexpr FMT_INLINE detail::value< Context >::value ( int  val)
inlineconstexpr

Definition at line 1281 of file core.h.

◆ value() [3/20]

template<typename Context >
constexpr FMT_INLINE detail::value< Context >::value ( unsigned  val)
inlineconstexpr

Definition at line 1282 of file core.h.

◆ value() [4/20]

template<typename Context >
constexpr FMT_INLINE detail::value< Context >::value ( long long  val)
inlineconstexpr

Definition at line 1283 of file core.h.

◆ value() [5/20]

template<typename Context >
constexpr FMT_INLINE detail::value< Context >::value ( unsigned long long  val)
inlineconstexpr

Definition at line 1284 of file core.h.

◆ value() [6/20]

template<typename Context >
FMT_INLINE detail::value< Context >::value ( int128_opt  val)
inline

Definition at line 1285 of file core.h.

◆ value() [7/20]

template<typename Context >
FMT_INLINE detail::value< Context >::value ( uint128_opt  val)
inline

Definition at line 1286 of file core.h.

◆ value() [8/20]

template<typename Context >
constexpr FMT_INLINE detail::value< Context >::value ( float  val)
inlineconstexpr

Definition at line 1287 of file core.h.

◆ value() [9/20]

template<typename Context >
constexpr FMT_INLINE detail::value< Context >::value ( double  val)
inlineconstexpr

Definition at line 1288 of file core.h.

◆ value() [10/20]

template<typename Context >
FMT_INLINE detail::value< Context >::value ( long double  val)
inline

Definition at line 1289 of file core.h.

◆ value() [11/20]

template<typename Context >
constexpr FMT_INLINE detail::value< Context >::value ( bool  val)
inlineconstexpr

Definition at line 1290 of file core.h.

◆ value() [12/20]

template<typename Context >
constexpr FMT_INLINE detail::value< Context >::value ( char_type  val)
inlineconstexpr

Definition at line 1291 of file core.h.

◆ value() [13/20]

template<typename Context >
FMT_CONSTEXPR FMT_INLINE detail::value< Context >::value ( const char_type val)
inline

Definition at line 1292 of file core.h.

◆ value() [14/20]

template<typename Context >
FMT_CONSTEXPR FMT_INLINE detail::value< Context >::value ( basic_string_view< char_type val)
inline

Definition at line 1296 of file core.h.

◆ value() [15/20]

template<typename Context >
FMT_INLINE detail::value< Context >::value ( const void *  val)
inline

Definition at line 1300 of file core.h.

◆ value() [16/20]

template<typename Context >
FMT_INLINE detail::value< Context >::value ( const named_arg_info< char_type > *  args,
size_t  size 
)
inline

Definition at line 1301 of file core.h.

◆ value() [17/20]

template<typename Context >
template<typename T >
FMT_CONSTEXPR20 FMT_INLINE detail::value< Context >::value ( T &  val)
inline

Definition at line 1304 of file core.h.

◆ value() [18/20]

template<typename Context >
detail::value< Context >::value ( unformattable  )

◆ value() [19/20]

template<typename Context >
detail::value< Context >::value ( unformattable_char  )

◆ value() [20/20]

template<typename Context >
detail::value< Context >::value ( unformattable_pointer  )

Member Function Documentation

◆ format_custom_arg()

template<typename Context >
template<typename T , typename Formatter >
static void detail::value< Context >::format_custom_arg ( void *  arg,
typename Context::parse_context_type &  parse_ctx,
Context &  ctx 
)
inlinestaticprivate

Definition at line 1320 of file core.h.

Member Data Documentation

◆ @47

union { ... }

◆ bool_value

template<typename Context >
bool detail::value< Context >::bool_value

Definition at line 1269 of file core.h.

◆ char_value

template<typename Context >
char_type detail::value< Context >::char_value

Definition at line 1270 of file core.h.

◆ custom

template<typename Context >
custom_value<Context> detail::value< Context >::custom

Definition at line 1276 of file core.h.

◆ double_value

template<typename Context >
double detail::value< Context >::double_value

Definition at line 1272 of file core.h.

◆ float_value

template<typename Context >
float detail::value< Context >::float_value

Definition at line 1271 of file core.h.

◆ int128_value

template<typename Context >
int128_opt detail::value< Context >::int128_value

Definition at line 1267 of file core.h.

◆ int_value

template<typename Context >
int detail::value< Context >::int_value

Definition at line 1263 of file core.h.

◆ long_double_value

template<typename Context >
long double detail::value< Context >::long_double_value

Definition at line 1273 of file core.h.

◆ long_long_value

template<typename Context >
long long detail::value< Context >::long_long_value

Definition at line 1265 of file core.h.

◆ named_args

template<typename Context >
named_arg_value<char_type> detail::value< Context >::named_args

Definition at line 1277 of file core.h.

◆ no_value

template<typename Context >
monostate detail::value< Context >::no_value

Definition at line 1262 of file core.h.

◆ pointer

template<typename Context >
const void* detail::value< Context >::pointer

Definition at line 1274 of file core.h.

◆ string

template<typename Context >
string_value<char_type> detail::value< Context >::string

Definition at line 1275 of file core.h.

◆ uint128_value

template<typename Context >
uint128_opt detail::value< Context >::uint128_value

Definition at line 1268 of file core.h.

◆ uint_value

template<typename Context >
unsigned detail::value< Context >::uint_value

Definition at line 1264 of file core.h.

◆ ulong_long_value

template<typename Context >
unsigned long long detail::value< Context >::ulong_long_value

Definition at line 1266 of file core.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:52