Livox SDK API  V2.2.0
fmt::v5::printf_arg_formatter< Range > Class Template Reference

#include <printf.h>

Inheritance diagram for fmt::v5::printf_arg_formatter< Range >:
fmt::v5::internal::function< internal::arg_formatter_base< Range >::iterator > fmt::v5::internal::arg_formatter_base< Range >

Public Types

typedef base::format_specs format_specs
 
- Public Types inherited from fmt::v5::internal::arg_formatter_base< Range >
typedef Range::value_type char_type
 
typedef basic_format_specs< char_typeformat_specs
 

Public Member Functions

 printf_arg_formatter (internal::basic_buffer< char_type > &buffer, format_specs &spec, context_type &ctx)
 
template<typename T >
std::enable_if< std::is_integral< T >::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 *value)
 
iterator operator() (const wchar_t *value)
 
iterator operator() (basic_string_view< char_type > value)
 
iterator operator() (monostate value)
 
iterator operator() (const void *value)
 
iterator operator() (typename basic_format_arg< context_type >::handle handle)
 
- Public Member Functions inherited from fmt::v5::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 fmt::v5::internal::arg_formatter_base< Range >
decltype(internal::declval< Range >().begin()) typedef iterator
 
- Protected Member Functions inherited from fmt::v5::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 fmt::v5::printf_arg_formatter< Range >

The printf argument formatter.

Definition at line 330 of file printf.h.

Member Typedef Documentation

template<typename Range >
typedef base::format_specs fmt::v5::printf_arg_formatter< Range >::format_specs

Definition at line 367 of file printf.h.

Constructor & Destructor Documentation

template<typename Range >
fmt::v5::printf_arg_formatter< Range >::printf_arg_formatter ( internal::basic_buffer< char_type > &  buffer,
format_specs spec,
context_type ctx 
)
inline

Constructs an argument formatter object. buffer* is a reference to the output buffer and spec contains format specifier information for standard argument types.

Definition at line 376 of file printf.h.

Member Function Documentation

template<typename Range >
template<typename T >
std::enable_if<std::is_integral<T>::value, iterator>::type fmt::v5::printf_arg_formatter< Range >::operator() ( value)
inline

Definition at line 384 of file printf.h.

template<typename Range >
template<typename T >
std::enable_if<std::is_floating_point<T>::value, iterator>::type fmt::v5::printf_arg_formatter< Range >::operator() ( value)
inline

Definition at line 408 of file printf.h.

template<typename Range >
iterator fmt::v5::printf_arg_formatter< Range >::operator() ( const char *  value)
inline

Formats a null-terminated C string.

Definition at line 413 of file printf.h.

template<typename Range >
iterator fmt::v5::printf_arg_formatter< Range >::operator() ( const wchar_t *  value)
inline

Formats a null-terminated wide C string.

Definition at line 424 of file printf.h.

template<typename Range >
iterator fmt::v5::printf_arg_formatter< Range >::operator() ( basic_string_view< char_type value)
inline

Definition at line 434 of file printf.h.

template<typename Range >
iterator fmt::v5::printf_arg_formatter< Range >::operator() ( monostate  value)
inline

Definition at line 438 of file printf.h.

template<typename Range >
iterator fmt::v5::printf_arg_formatter< Range >::operator() ( const void *  value)
inline

Formats a pointer.

Definition at line 443 of file printf.h.

template<typename Range >
iterator fmt::v5::printf_arg_formatter< Range >::operator() ( typename basic_format_arg< context_type >::handle  handle)
inline

Formats an argument of a custom (user-defined) type.

Definition at line 452 of file printf.h.


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