Livox SDK API  V2.2.0
fmt::v5::basic_printf_context< OutputIt, Char, ArgFormatter > Class Template Reference

#include <printf.h>

Inheritance diagram for fmt::v5::basic_printf_context< OutputIt, Char, ArgFormatter >:
fmt::v5::internal::context_base< OutputIt, basic_printf_context< OutputIt, Char, ArgFormatter >, Char >

Classes

struct  formatter_type
 

Public Types

typedef Char char_type
 
- Public Types inherited from fmt::v5::internal::context_base< OutputIt, basic_printf_context< OutputIt, Char, ArgFormatter >, Char >
typedef OutputIt iterator
 

Public Member Functions

 basic_printf_context (OutputIt out, basic_string_view< char_type > format_str, basic_format_args< basic_printf_context > args)
 
void format ()
 
- Public Member Functions inherited from fmt::v5::internal::context_base< OutputIt, basic_printf_context< OutputIt, Char, ArgFormatter >, Char >
basic_parse_context< char_type > & parse_context ()
 
basic_format_args< basic_printf_context< OutputIt, Char, ArgFormatter > > args () const
 
basic_format_arg< basic_printf_context< OutputIt, Char, ArgFormatter > > arg (unsigned id) const
 
internal::error_handler error_handler ()
 
void on_error (const char *message)
 
iterator out ()
 
iterator begin ()
 
void advance_to (iterator it)
 
locale_ref locale ()
 

Additional Inherited Members

- Protected Types inherited from fmt::v5::internal::context_base< OutputIt, basic_printf_context< OutputIt, Char, ArgFormatter >, Char >
typedef Char char_type
 
typedef basic_format_arg< basic_printf_context< OutputIt, Char, ArgFormatter > > format_arg
 
- Protected Member Functions inherited from fmt::v5::internal::context_base< OutputIt, basic_printf_context< OutputIt, Char, ArgFormatter >, Char >
 context_base (OutputIt out, basic_string_view< char_type > format_str, basic_format_args< basic_printf_context< OutputIt, Char, ArgFormatter > > ctx_args, locale_ref loc=locale_ref())
 
format_arg do_get_arg (unsigned arg_id)
 
format_arg get_arg (unsigned arg_id)
 

Detailed Description

template<typename OutputIt, typename Char, typename ArgFormatter>
class fmt::v5::basic_printf_context< OutputIt, Char, ArgFormatter >

This template formats data and writes the output to a writer.

Definition at line 336 of file printf.h.

Member Typedef Documentation

template<typename OutputIt, typename Char, typename ArgFormatter>
typedef Char fmt::v5::basic_printf_context< OutputIt, Char, ArgFormatter >::char_type

The character type for the output.

Definition at line 479 of file printf.h.

Constructor & Destructor Documentation

template<typename OutputIt, typename Char, typename ArgFormatter>
fmt::v5::basic_printf_context< OutputIt, Char, ArgFormatter >::basic_printf_context ( OutputIt  out,
basic_string_view< char_type format_str,
basic_format_args< basic_printf_context< OutputIt, Char, ArgFormatter > >  args 
)
inline

Constructs a printf_context object. References to the arguments and the writer are stored in the context object so make sure they have appropriate lifetimes.

Definition at line 509 of file printf.h.

Member Function Documentation

template<typename OutputIt , typename Char , typename AF >
void fmt::v5::basic_printf_context< OutputIt, Char, AF >::format ( )

Formats stored arguments and writes the output to the range.

Definition at line 596 of file printf.h.


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