Agora  1.2.0
Agora project
fmt::v8::detail::printf_arg_formatter< OutputIt, Char > Class Template Reference

#include <printf.h>

Inheritance diagram for fmt::v8::detail::printf_arg_formatter< OutputIt, Char >:
Collaboration diagram for fmt::v8::detail::printf_arg_formatter< OutputIt, Char >:

Public Member Functions

 printf_arg_formatter (OutputIt iter, format_specs &s, context_type &ctx)
 
OutputIt operator() (monostate value)
 
template<typename T , enable_if_t<(detail::is_integral< T >::value), int > = 0>
OutputIt operator() (T value)
 
template<typename T , enable_if_t<(std::is_floating_point< T >::value), int > = 0>
OutputIt operator() (T value)
 
OutputIt operator() (const char *value)
 
OutputIt operator() (const wchar_t *value)
 
OutputIt operator() (basic_string_view< Char > value)
 
OutputIt operator() (const void *value)
 
OutputIt operator() (typename basic_format_arg< context_type >::handle handle)
 
- Public Member Functions inherited from fmt::v8::detail::arg_formatter< Char >
template<typename T >
auto operator() (T value) -> iterator
 
auto operator() (typename basic_format_arg< context >::handle) -> iterator
 

Private Types

using base = arg_formatter< Char >
 
using context_type = basic_printf_context< OutputIt, Char >
 
using format_specs = basic_format_specs< Char >
 

Private Member Functions

OutputIt write_null_pointer (bool is_string=false)
 

Private Attributes

context_typecontext_
 

Additional Inherited Members

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

Member Typedef Documentation

◆ base

template<typename OutputIt , typename Char >
using fmt::v8::detail::printf_arg_formatter< OutputIt, Char >::base = arg_formatter<Char>
private

◆ context_type

template<typename OutputIt , typename Char >
using fmt::v8::detail::printf_arg_formatter< OutputIt, Char >::context_type = basic_printf_context<OutputIt, Char>
private

◆ format_specs

template<typename OutputIt , typename Char >
using fmt::v8::detail::printf_arg_formatter< OutputIt, Char >::format_specs = basic_format_specs<Char>
private

Constructor & Destructor Documentation

◆ printf_arg_formatter()

template<typename OutputIt , typename Char >
fmt::v8::detail::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 fmt::v8::detail::printf_arg_formatter< OutputIt, Char >::operator() ( basic_string_view< Char >  value)
inline

◆ operator()() [2/8]

template<typename OutputIt , typename Char >
OutputIt fmt::v8::detail::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 fmt::v8::detail::printf_arg_formatter< OutputIt, Char >::operator() ( const void *  value)
inline

Formats a pointer.

◆ operator()() [4/8]

template<typename OutputIt , typename Char >
OutputIt fmt::v8::detail::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 fmt::v8::detail::printf_arg_formatter< OutputIt, Char >::operator() ( monostate  value)
inline

◆ operator()() [6/8]

template<typename OutputIt , typename Char >
template<typename T , enable_if_t<(detail::is_integral< T >::value), int > = 0>
OutputIt fmt::v8::detail::printf_arg_formatter< OutputIt, Char >::operator() ( T  value)
inline
Here is the call graph for this function:

◆ operator()() [7/8]

template<typename OutputIt , typename Char >
template<typename T , enable_if_t<(std::is_floating_point< T >::value), int > = 0>
OutputIt fmt::v8::detail::printf_arg_formatter< OutputIt, Char >::operator() ( T  value)
inline

◆ operator()() [8/8]

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

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

Here is the call graph for this function:

◆ write_null_pointer()

template<typename OutputIt , typename Char >
OutputIt fmt::v8::detail::printf_arg_formatter< OutputIt, Char >::write_null_pointer ( bool  is_string = false)
inlineprivate
Here is the call graph for this function:

Member Data Documentation

◆ context_

template<typename OutputIt , typename Char >
context_type& fmt::v8::detail::printf_arg_formatter< OutputIt, Char >::context_
private

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