WPILibC++ 2023.4.3-108-ge5452e3
printf_arg_formatter< OutputIt, Char > Class Template Reference

#include </home/runner/work/allwpilib/allwpilib/wpiutil/src/main/native/thirdparty/fmtlib/include/fmt/printf.h>

Inheritance diagram for printf_arg_formatter< OutputIt, Char >:
arg_formatter< Char >

Public Member Functions

 printf_arg_formatter (OutputIt iter, format_specs &s, context_type &ctx)
 
OutputIt operator() (monostate value)
 
template<typename T , FMT_ENABLE_IF(detail::is_integral< T >::value) >
OutputIt operator() (T value)
 
template<typename T , FMT_ENABLE_IF(std::is_floating_point< T >::value) >
OutputIt operator() (T value)
 
OutputIt operator() (const char *value)
 Formats a null-terminated C string. More...
 
OutputIt operator() (const wchar_t *value)
 Formats a null-terminated wide C string. More...
 
OutputIt operator() (basic_string_view< Char > value)
 
OutputIt operator() (const void *value)
 Formats a pointer. More...
 
OutputIt operator() (typename basic_format_arg< context_type >::handle handle)
 Formats an argument of a custom (user-defined) type. More...
 
- Public Member Functions inherited from arg_formatter< Char >
template<typename T >
FMT_CONSTEXPR FMT_INLINE auto operator() (T value) -> iterator
 
auto operator() (typename basic_format_arg< context >::handle) -> iterator
 

Additional Inherited Members

- Public Types inherited from arg_formatter< Char >
using iterator = buffer_appender< Char >
 
using context = buffer_context< Char >
 
- Public Attributes inherited from arg_formatter< Char >
iterator out
 
const basic_format_specs< Char > & specs
 
locale_ref locale
 

Constructor & Destructor Documentation

◆ printf_arg_formatter()

template<typename OutputIt , typename Char >
printf_arg_formatter< OutputIt, Char >::printf_arg_formatter ( OutputIt  iter,
format_specs s,
context_type ctx 
)
inline

Member Function Documentation

◆ operator()() [1/8]

template<typename OutputIt , typename Char >
OutputIt printf_arg_formatter< OutputIt, Char >::operator() ( basic_string_view< Char >  value)
inline

◆ operator()() [2/8]

template<typename OutputIt , typename Char >
OutputIt printf_arg_formatter< OutputIt, Char >::operator() ( const char *  value)
inline

Formats a null-terminated C string.

◆ operator()() [3/8]

template<typename OutputIt , typename Char >
OutputIt printf_arg_formatter< OutputIt, Char >::operator() ( const void *  value)
inline

Formats a pointer.

◆ operator()() [4/8]

template<typename OutputIt , typename Char >
OutputIt printf_arg_formatter< OutputIt, Char >::operator() ( const wchar_t *  value)
inline

Formats a null-terminated wide C string.

◆ operator()() [5/8]

template<typename OutputIt , typename Char >
OutputIt printf_arg_formatter< OutputIt, Char >::operator() ( monostate  value)
inline

◆ operator()() [6/8]

template<typename OutputIt , typename Char >
template<typename T , FMT_ENABLE_IF(detail::is_integral< T >::value) >
OutputIt printf_arg_formatter< OutputIt, Char >::operator() ( value)
inline

◆ operator()() [7/8]

template<typename OutputIt , typename Char >
template<typename T , FMT_ENABLE_IF(std::is_floating_point< T >::value) >
OutputIt printf_arg_formatter< OutputIt, Char >::operator() ( value)
inline

◆ operator()() [8/8]

template<typename OutputIt , typename Char >
OutputIt printf_arg_formatter< OutputIt, Char >::operator() ( typename basic_format_arg< context_type >::handle  handle)
inline

Formats an argument of a custom (user-defined) type.


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