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

#include <format.h>

Inheritance diagram for internal::arg_formatter_base< Range >:

Classes

struct  char_spec_handler
 
struct  cstring_spec_handler
 

Public Types

typedef Range::value_type char_type
 
typedef basic_format_specs< char_typeformat_specs
 

Public Member Functions

 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)
 

Public Attributes

decltype(internal::declval< Range >().begin()) typedef iterator
 

Protected Member Functions

writer_typewriter ()
 
format_specsspec ()
 
iterator out ()
 
void write (bool value)
 
void write (const char_type *value)
 

Detailed Description

template<typename Range>
class internal::arg_formatter_base< Range >

Definition at line 1305 of file format.h.

Member Typedef Documentation

◆ char_type

template<typename Range >
typedef Range::value_type internal::arg_formatter_base< Range >::char_type

Definition at line 1307 of file format.h.

◆ format_specs

template<typename Range >
typedef basic_format_specs<char_type> internal::arg_formatter_base< Range >::format_specs

Definition at line 1309 of file format.h.

Constructor & Destructor Documentation

◆ arg_formatter_base()

template<typename Range >
internal::arg_formatter_base< Range >::arg_formatter_base ( Range  r,
format_specs s,
locale_ref  loc 
)
inline

Definition at line 1359 of file format.h.

Member Function Documentation

◆ operator()() [1/6]

template<typename Range >
iterator internal::arg_formatter_base< Range >::operator() ( monostate  )
inline

Definition at line 1362 of file format.h.

◆ operator()() [2/6]

template<typename Range >
template<typename T >
std::enable_if< std::is_integral<T>::value || std::is_same<T, char_type>::value, iterator>::type internal::arg_formatter_base< Range >::operator() ( value)
inline

Definition at line 1370 of file format.h.

Here is the call graph for this function:

◆ operator()() [3/6]

template<typename Range >
template<typename T >
std::enable_if<std::is_floating_point<T>::value, iterator>::type internal::arg_formatter_base< Range >::operator() ( value)
inline

Definition at line 1388 of file format.h.

◆ operator()() [4/6]

template<typename Range >
iterator internal::arg_formatter_base< Range >::operator() ( const char_type value)
inline

Definition at line 1420 of file format.h.

Here is the call graph for this function:

◆ operator()() [5/6]

template<typename Range >
iterator internal::arg_formatter_base< Range >::operator() ( basic_string_view< char_type value)
inline

Definition at line 1427 of file format.h.

Here is the call graph for this function:

◆ operator()() [6/6]

template<typename Range >
iterator internal::arg_formatter_base< Range >::operator() ( const void *  value)
inline

Definition at line 1438 of file format.h.

Here is the call graph for this function:

◆ out()

template<typename Range >
iterator internal::arg_formatter_base< Range >::out ( )
inlineprotected

Definition at line 1343 of file format.h.

◆ spec()

template<typename Range >
format_specs* internal::arg_formatter_base< Range >::spec ( )
inlineprotected

Definition at line 1342 of file format.h.

◆ write() [1/2]

template<typename Range >
void internal::arg_formatter_base< Range >::write ( bool  value)
inlineprotected

Definition at line 1345 of file format.h.

Here is the caller graph for this function:

◆ write() [2/2]

template<typename Range >
void internal::arg_formatter_base< Range >::write ( const char_type value)
inlineprotected

Definition at line 1350 of file format.h.

◆ writer()

template<typename Range >
writer_type& internal::arg_formatter_base< Range >::writer ( )
inlineprotected

Definition at line 1341 of file format.h.

Member Data Documentation

◆ iterator

template<typename Range >
decltype(internal::declval<Range>().begin()) typedef internal::arg_formatter_base< Range >::iterator

Definition at line 1308 of file format.h.


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