HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
arg_formatter< Range > Class Template Reference

#include <format.h>

+ Inheritance diagram for arg_formatter< Range >:

Public Types

typedef Range range
 
typedef base::iterator iterator
 
typedef base::format_specs format_specs
 
- Public Types inherited from internal::arg_formatter_base< Range >
typedef Range::value_type char_type
 
typedef basic_format_specs
< char_type
format_specs
 

Public Member Functions

 arg_formatter (context_type &ctx, format_specs *spec=FMT_NULL)
 
 arg_formatter (context_type &ctx, format_specs &spec)
 
iterator operator() (typename basic_format_arg< context_type >::handle handle)
 
- Public Member Functions inherited from internal::arg_formatter_base< Range >
 arg_formatter_base (Range r, format_specs *s, locale_ref loc)
 
iterator operator() (monostate)
 
template<typename T >
std::enable_if
< std::is_integral< T >::value||std::is_same
< T, char_type >::value,
iterator >::type 
operator() (T value)
 
template<typename T >
std::enable_if
< std::is_floating_point< T >
::value, iterator >::type 
operator() (T value)
 
iterator operator() (const char_type *value)
 
iterator operator() (basic_string_view< char_type > value)
 
iterator operator() (const void *value)
 

Additional Inherited Members

- Public Attributes inherited from internal::arg_formatter_base< Range >
decltype(internal::declval
< Range >().begin()) typedef 
iterator
 
- Protected Member Functions inherited from internal::arg_formatter_base< Range >
writer_typewriter ()
 
format_specsspec ()
 
iterator out ()
 
void write (bool value)
 
void write (const char_type *value)
 

Detailed Description

template<typename Range>
class arg_formatter< Range >

The default argument formatter.

Definition at line 2294 of file format.h.

Member Typedef Documentation

template<typename Range >
typedef base::format_specs arg_formatter< Range >::format_specs

Definition at line 2308 of file format.h.

template<typename Range >
typedef base::iterator arg_formatter< Range >::iterator

Definition at line 2307 of file format.h.

template<typename Range >
typedef Range arg_formatter< Range >::range

Definition at line 2306 of file format.h.

Constructor & Destructor Documentation

template<typename Range >
arg_formatter< Range >::arg_formatter ( context_type ctx,
format_specs spec = FMT_NULL 
)
inlineexplicit

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

Definition at line 2317 of file format.h.

template<typename Range >
arg_formatter< Range >::arg_formatter ( context_type ctx,
format_specs spec 
)
inline

Definition at line 2321 of file format.h.

Member Function Documentation

template<typename Range >
iterator arg_formatter< Range >::operator() ( typename basic_format_arg< context_type >::handle  handle)
inline

Formats an argument of a user-defined type.

Definition at line 2327 of file format.h.


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