Public Types | Public Member Functions | Private Types | Private Attributes | List of all members
detail::arg_formatter< OutputIt, Char > Class Template Reference

#include <format.h>

Inheritance diagram for detail::arg_formatter< OutputIt, Char >:
Inheritance graph
[legend]

Public Types

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

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)
 

Private Types

using base = arg_formatter_base< OutputIt, Char >
 
using char_type = Char
 
using context_type = basic_format_context< OutputIt, Char >
 

Private Attributes

context_typectx_
 
basic_format_parse_context< char_type > * parse_ctx_
 
const Char * ptr_
 

Additional Inherited Members

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

Detailed Description

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

The default argument formatter.

Definition at line 3205 of file format.h.

Member Typedef Documentation

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

Definition at line 3208 of file format.h.

template<typename OutputIt , typename Char >
using detail::arg_formatter< OutputIt, Char >::char_type = Char
private

Definition at line 3207 of file format.h.

template<typename OutputIt , typename Char >
using detail::arg_formatter< OutputIt, Char >::context_type = basic_format_context<OutputIt, Char>
private

Definition at line 3209 of file format.h.

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

Definition at line 3217 of file format.h.

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

Definition at line 3216 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 3226 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 3238 of file format.h.

Member Data Documentation

template<typename OutputIt , typename Char >
context_type& detail::arg_formatter< OutputIt, Char >::ctx_
private

Definition at line 3211 of file format.h.

template<typename OutputIt , typename Char >
basic_format_parse_context<char_type>* detail::arg_formatter< OutputIt, Char >::parse_ctx_
private

Definition at line 3212 of file format.h.

template<typename OutputIt , typename Char >
const Char* detail::arg_formatter< OutputIt, Char >::ptr_
private

Definition at line 3213 of file format.h.


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


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