WPILibC++ 2023.4.3-108-ge5452e3
basic_printf_context< OutputIt, Char > Class Template Reference

#include </home/runner/work/allwpilib/allwpilib/wpiutil/src/main/native/thirdparty/fmtlib/include/fmt/printf.h>

Public Types

using char_type = Char
 
using format_arg = basic_format_arg< basic_printf_context >
 
using parse_context_type = basic_printf_parse_context< Char >
 
template<typename T >
using formatter_type = printf_formatter< T >
 

Public Member Functions

 basic_printf_context (OutputIt out, basic_format_args< basic_printf_context > args)
 \rst Constructs a printf_context object. More...
 
OutputIt out ()
 
void advance_to (OutputIt it)
 
detail::locale_ref locale ()
 
format_arg arg (int id) const
 
FMT_CONSTEXPR void on_error (const char *message)
 

Member Typedef Documentation

◆ char_type

template<typename OutputIt , typename Char >
using basic_printf_context< OutputIt, Char >::char_type = Char

◆ format_arg

template<typename OutputIt , typename Char >
using basic_printf_context< OutputIt, Char >::format_arg = basic_format_arg<basic_printf_context>

◆ formatter_type

template<typename OutputIt , typename Char >
template<typename T >
using basic_printf_context< OutputIt, Char >::formatter_type = printf_formatter<T>

◆ parse_context_type

template<typename OutputIt , typename Char >
using basic_printf_context< OutputIt, Char >::parse_context_type = basic_printf_parse_context<Char>

Constructor & Destructor Documentation

◆ basic_printf_context()

template<typename OutputIt , typename Char >
basic_printf_context< OutputIt, Char >::basic_printf_context ( OutputIt  out,
basic_format_args< basic_printf_context< OutputIt, Char > >  args 
)
inline

\rst Constructs a printf_context object.

References to the arguments are stored in the context object so make sure they have appropriate lifetimes. \endrst

Member Function Documentation

◆ advance_to()

template<typename OutputIt , typename Char >
void basic_printf_context< OutputIt, Char >::advance_to ( OutputIt  it)
inline

◆ arg()

template<typename OutputIt , typename Char >
format_arg basic_printf_context< OutputIt, Char >::arg ( int  id) const
inline

◆ locale()

template<typename OutputIt , typename Char >
detail::locale_ref basic_printf_context< OutputIt, Char >::locale ( )
inline

◆ on_error()

template<typename OutputIt , typename Char >
FMT_CONSTEXPR void basic_printf_context< OutputIt, Char >::on_error ( const char *  message)
inline

◆ out()

template<typename OutputIt , typename Char >
OutputIt basic_printf_context< OutputIt, Char >::out ( )
inline

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