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

#include <format.h>

+ Inheritance diagram for detail::arg_formatter< OutputIt, Char >:

Public Types

using iterator = typename base::iterator
 
using format_specs = typename base::format_specs
 
- Public Types inherited from detail::arg_formatter_base< OutputIt, Char >
using iterator = OutputIt
 
using char_type = Char
 
using format_specs = basic_format_specs< Char >
 

Public Member Functions

 arg_formatter (context_type &ctx, basic_format_parse_context< char_type > *parse_ctx=nullptr, format_specs *specs=nullptr, const Char *ptr=nullptr)
 
iterator operator() (typename basic_format_arg< context_type >::handle handle)
 
- Public Member Functions inherited from detail::arg_formatter_base< OutputIt, Char >
 arg_formatter_base (OutputIt out, format_specs *s, locale_ref loc)
 
iterator operator() (monostate)
 
FMT_INLINE iterator operator() (T value)
 
iterator operator() (Char value)
 
iterator operator() (bool value)
 
iterator operator() (T value)
 
iterator operator() (const Char *value)
 
iterator operator() (basic_string_view< Char > value)
 
iterator operator() (const void *value)
 

Additional Inherited Members

- Protected Member Functions inherited from detail::arg_formatter_base< OutputIt, Char >
void write (bool value)
 
void write (const Char *value)
 
iterator out ()
 
format_specsspecs ()
 

Detailed Description

template<typename OutputIt, typename Char>
class detail::arg_formatter< OutputIt, Char >

The default argument formatter.

Definition at line 2302 of file format.h.

Member Typedef Documentation

template<typename OutputIt , typename Char >
using detail::arg_formatter< OutputIt, Char >::format_specs = typename base::format_specs

Definition at line 2314 of file format.h.

template<typename OutputIt , typename Char >
using detail::arg_formatter< OutputIt, Char >::iterator = typename base::iterator

Definition at line 2313 of file format.h.

Constructor & Destructor Documentation

template<typename OutputIt , typename Char >
detail::arg_formatter< OutputIt, Char >::arg_formatter ( context_type ctx,
basic_format_parse_context< char_type > *  parse_ctx = nullptr,
format_specs specs = nullptr,
const Char *  ptr = nullptr 
)
inlineexplicit

Constructs an argument formatter object. ctx* is a reference to the formatting context, specs* contains format specifier information for standard argument types.

Definition at line 2323 of file format.h.

Member Function Documentation

template<typename OutputIt , typename Char >
iterator detail::arg_formatter< OutputIt, Char >::operator() ( typename basic_format_arg< context_type >::handle  handle)
inline

Formats an argument of a user-defined type.

Definition at line 2335 of file format.h.


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