HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
printf_arg_formatter< OutputIt, Char > Class Template Reference

#include <printf.h>

+ Inheritance diagram for 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 , 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)
 
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 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
 

Detailed Description

template<typename OutputIt, typename Char>
class printf_arg_formatter< OutputIt, Char >

Definition at line 226 of file printf.h.

Constructor & Destructor Documentation

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

Definition at line 241 of file printf.h.

Member Function Documentation

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

Definition at line 244 of file printf.h.

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

Definition at line 247 of file printf.h.

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

Definition at line 267 of file printf.h.

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

Formats a null-terminated C string.

Definition at line 272 of file printf.h.

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

Formats a null-terminated wide C string.

Definition at line 278 of file printf.h.

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

Definition at line 283 of file printf.h.

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

Formats a pointer.

Definition at line 288 of file printf.h.

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.

Definition at line 293 of file printf.h.


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