Public Types | Public Member Functions | List of all members
detail::arg_mapper< Context > Struct Template Reference

#include <core.h>

Public Types

using char_type = typename Context::char_type
 

Public Member Functions

FMT_CONSTEXPR int map (signed char val)
 
FMT_CONSTEXPR unsigned map (unsigned char val)
 
FMT_CONSTEXPR int map (short val)
 
FMT_CONSTEXPR unsigned map (unsigned short val)
 
FMT_CONSTEXPR int map (int val)
 
FMT_CONSTEXPR unsigned map (unsigned val)
 
FMT_CONSTEXPR long_type map (long val)
 
FMT_CONSTEXPR ulong_type map (unsigned long val)
 
FMT_CONSTEXPR long long map (long long val)
 
FMT_CONSTEXPR unsigned long long map (unsigned long long val)
 
FMT_CONSTEXPR int128_t map (int128_t val)
 
FMT_CONSTEXPR uint128_t map (uint128_t val)
 
FMT_CONSTEXPR bool map (bool val)
 
template<typename T , FMT_ENABLE_IF(is_char< T >::value) >
FMT_CONSTEXPR char_type map (T val)
 
FMT_CONSTEXPR float map (float val)
 
FMT_CONSTEXPR double map (double val)
 
FMT_CONSTEXPR long double map (long double val)
 
FMT_CONSTEXPR const char_typemap (char_type *val)
 
FMT_CONSTEXPR const char_typemap (const char_type *val)
 
template<typename T , FMT_ENABLE_IF(is_string< T >::value) >
FMT_CONSTEXPR basic_string_view< char_typemap (const T &val)
 
template<typename T , FMT_ENABLE_IF(std::is_constructible< basic_string_view< char_type >, T >::value &&!is_string< T >::value &&!has_formatter< T, Context >::value &&!has_fallback_formatter< T, Context >::value) >
FMT_CONSTEXPR basic_string_view< char_typemap (const T &val)
 
template<typename T , FMT_ENABLE_IF(std::is_constructible< std_string_view< char_type >, T >::value &&!std::is_constructible< basic_string_view< char_type >, T >::value &&!is_string< T >::value &&!has_formatter< T, Context >::value &&!has_fallback_formatter< T, Context >::value) >
FMT_CONSTEXPR basic_string_view< char_typemap (const T &val)
 
FMT_CONSTEXPR const char * map (const signed char *val)
 
FMT_CONSTEXPR const char * map (const unsigned char *val)
 
FMT_CONSTEXPR const char * map (signed char *val)
 
FMT_CONSTEXPR const char * map (unsigned char *val)
 
FMT_CONSTEXPR const void * map (void *val)
 
FMT_CONSTEXPR const void * map (const void *val)
 
FMT_CONSTEXPR const void * map (std::nullptr_t val)
 
template<typename T >
FMT_CONSTEXPR int map (const T *)
 
template<typename T , FMT_ENABLE_IF(std::is_enum< T >::value &&!has_formatter< T, Context >::value &&!has_fallback_formatter< T, Context >::value) >
FMT_CONSTEXPR auto map (const T &val) -> decltype(std::declval< arg_mapper >().map(static_cast< typename std::underlying_type< T >::type >(val)))
 
template<typename T , FMT_ENABLE_IF(!is_string< T >::value &&!is_char< T >::value &&(has_formatter< T, Context >::value||has_fallback_formatter< T, Context >::value)) >
FMT_CONSTEXPR const T & map (const T &val)
 
template<typename T >
FMT_CONSTEXPR auto map (const named_arg< char_type, T > &val) -> decltype(std::declval< arg_mapper >().map(val.value))
 
unformattable map (...)
 

Detailed Description

template<typename Context>
struct detail::arg_mapper< Context >

Definition at line 1118 of file core.h.

Member Typedef Documentation

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

Definition at line 1119 of file core.h.

Member Function Documentation

template<typename Context >
FMT_CONSTEXPR int detail::arg_mapper< Context >::map ( signed char  val)
inline

Definition at line 1121 of file core.h.

template<typename Context >
FMT_CONSTEXPR unsigned detail::arg_mapper< Context >::map ( unsigned char  val)
inline

Definition at line 1122 of file core.h.

template<typename Context >
FMT_CONSTEXPR int detail::arg_mapper< Context >::map ( short  val)
inline

Definition at line 1123 of file core.h.

template<typename Context >
FMT_CONSTEXPR unsigned detail::arg_mapper< Context >::map ( unsigned short  val)
inline

Definition at line 1124 of file core.h.

template<typename Context >
FMT_CONSTEXPR int detail::arg_mapper< Context >::map ( int  val)
inline

Definition at line 1125 of file core.h.

template<typename Context >
FMT_CONSTEXPR unsigned detail::arg_mapper< Context >::map ( unsigned  val)
inline

Definition at line 1126 of file core.h.

template<typename Context >
FMT_CONSTEXPR long_type detail::arg_mapper< Context >::map ( long  val)
inline

Definition at line 1127 of file core.h.

template<typename Context >
FMT_CONSTEXPR ulong_type detail::arg_mapper< Context >::map ( unsigned long  val)
inline

Definition at line 1128 of file core.h.

template<typename Context >
FMT_CONSTEXPR long long detail::arg_mapper< Context >::map ( long long  val)
inline

Definition at line 1129 of file core.h.

template<typename Context >
FMT_CONSTEXPR unsigned long long detail::arg_mapper< Context >::map ( unsigned long long  val)
inline

Definition at line 1130 of file core.h.

template<typename Context >
FMT_CONSTEXPR int128_t detail::arg_mapper< Context >::map ( int128_t  val)
inline

Definition at line 1131 of file core.h.

template<typename Context >
FMT_CONSTEXPR uint128_t detail::arg_mapper< Context >::map ( uint128_t  val)
inline

Definition at line 1132 of file core.h.

template<typename Context >
FMT_CONSTEXPR bool detail::arg_mapper< Context >::map ( bool  val)
inline

Definition at line 1133 of file core.h.

template<typename Context >
template<typename T , FMT_ENABLE_IF(is_char< T >::value) >
FMT_CONSTEXPR char_type detail::arg_mapper< Context >::map ( val)
inline

Definition at line 1136 of file core.h.

template<typename Context >
FMT_CONSTEXPR float detail::arg_mapper< Context >::map ( float  val)
inline

Definition at line 1143 of file core.h.

template<typename Context >
FMT_CONSTEXPR double detail::arg_mapper< Context >::map ( double  val)
inline

Definition at line 1144 of file core.h.

template<typename Context >
FMT_CONSTEXPR long double detail::arg_mapper< Context >::map ( long double  val)
inline

Definition at line 1145 of file core.h.

template<typename Context >
FMT_CONSTEXPR const char_type* detail::arg_mapper< Context >::map ( char_type val)
inline

Definition at line 1147 of file core.h.

template<typename Context >
FMT_CONSTEXPR const char_type* detail::arg_mapper< Context >::map ( const char_type val)
inline

Definition at line 1148 of file core.h.

template<typename Context >
template<typename T , FMT_ENABLE_IF(is_string< T >::value) >
FMT_CONSTEXPR basic_string_view<char_type> detail::arg_mapper< Context >::map ( const T &  val)
inline

Definition at line 1150 of file core.h.

template<typename Context >
template<typename T , FMT_ENABLE_IF(std::is_constructible< basic_string_view< char_type >, T >::value &&!is_string< T >::value &&!has_formatter< T, Context >::value &&!has_fallback_formatter< T, Context >::value) >
FMT_CONSTEXPR basic_string_view<char_type> detail::arg_mapper< Context >::map ( const T &  val)
inline

Definition at line 1160 of file core.h.

template<typename Context >
template<typename T , FMT_ENABLE_IF(std::is_constructible< std_string_view< char_type >, T >::value &&!std::is_constructible< basic_string_view< char_type >, T >::value &&!is_string< T >::value &&!has_formatter< T, Context >::value &&!has_fallback_formatter< T, Context >::value) >
FMT_CONSTEXPR basic_string_view<char_type> detail::arg_mapper< Context >::map ( const T &  val)
inline

Definition at line 1170 of file core.h.

template<typename Context >
FMT_CONSTEXPR const char* detail::arg_mapper< Context >::map ( const signed char *  val)
inline

Definition at line 1173 of file core.h.

template<typename Context >
FMT_CONSTEXPR const char* detail::arg_mapper< Context >::map ( const unsigned char *  val)
inline

Definition at line 1177 of file core.h.

template<typename Context >
FMT_CONSTEXPR const char* detail::arg_mapper< Context >::map ( signed char *  val)
inline

Definition at line 1181 of file core.h.

template<typename Context >
FMT_CONSTEXPR const char* detail::arg_mapper< Context >::map ( unsigned char *  val)
inline

Definition at line 1185 of file core.h.

template<typename Context >
FMT_CONSTEXPR const void* detail::arg_mapper< Context >::map ( void *  val)
inline

Definition at line 1190 of file core.h.

template<typename Context >
FMT_CONSTEXPR const void* detail::arg_mapper< Context >::map ( const void *  val)
inline

Definition at line 1191 of file core.h.

template<typename Context >
FMT_CONSTEXPR const void* detail::arg_mapper< Context >::map ( std::nullptr_t  val)
inline

Definition at line 1192 of file core.h.

template<typename Context >
template<typename T >
FMT_CONSTEXPR int detail::arg_mapper< Context >::map ( const T *  )
inline

Definition at line 1193 of file core.h.

template<typename Context >
template<typename T , FMT_ENABLE_IF(std::is_enum< T >::value &&!has_formatter< T, Context >::value &&!has_fallback_formatter< T, Context >::value) >
FMT_CONSTEXPR auto detail::arg_mapper< Context >::map ( const T &  val) -> decltype(std::declval<arg_mapper>().map( static_cast<typename std::underlying_type<T>::type>(val)))
inline

Definition at line 1206 of file core.h.

template<typename Context >
template<typename T , FMT_ENABLE_IF(!is_string< T >::value &&!is_char< T >::value &&(has_formatter< T, Context >::value||has_fallback_formatter< T, Context >::value)) >
FMT_CONSTEXPR const T& detail::arg_mapper< Context >::map ( const T &  val)
inline

Definition at line 1215 of file core.h.

template<typename Context >
template<typename T >
FMT_CONSTEXPR auto detail::arg_mapper< Context >::map ( const named_arg< char_type, T > &  val) -> decltype(std::declval<arg_mapper>().map(val.value))
inline

Definition at line 1220 of file core.h.

template<typename Context >
unformattable detail::arg_mapper< Context >::map (   ...)
inline

Definition at line 1225 of file core.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:51