WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
arg_formatter< Range > Class Template Reference

#include <format.h>

Inheritance diagram for arg_formatter< Range >:
Collaboration 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_typeformat_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 2155 of file format.h.

Member Typedef Documentation

◆ format_specs

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

Definition at line 2169 of file format.h.

◆ iterator

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

Definition at line 2168 of file format.h.

◆ range

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

Definition at line 2167 of file format.h.

Constructor & Destructor Documentation

◆ arg_formatter() [1/2]

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 2178 of file format.h.

◆ arg_formatter() [2/2]

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

Definition at line 2182 of file format.h.

Member Function Documentation

◆ operator()()

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 2188 of file format.h.

Here is the call graph for this function:

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