SoPlex Documentation
Loading...
Searching...
No Matches
format_handler< OutputIt, Char, Context > Struct Template Reference

#include <format.h>

Inheritance diagram for format_handler< OutputIt, Char, Context >:
error_handler

Public Member Functions

 format_handler (OutputIt out, basic_string_view< Char > str, basic_format_args< Context > format_args, detail::locale_ref loc)
 
void on_text (const Char *begin, const Char *end)
 
int on_arg_id ()
 
int on_arg_id (int id)
 
int on_arg_id (basic_string_view< Char > id)
 
FMT_INLINE void on_replacement_field (int id, const Char *)
 
const Char * on_format_specs (int id, const Char *begin, const Char *end)
 
- Public Member Functions inherited from error_handler
constexpr error_handler ()=default
 
constexpr error_handler (const error_handler &)=default
 
FMT_NORETURN FMT_API void on_error (const char *message)
 

Public Attributes

basic_format_parse_context< Char > parse_context
 
Context context
 

Detailed Description

template<typename OutputIt, typename Char, typename Context>
struct detail::format_handler< OutputIt, Char, Context >

Definition at line 3051 of file format.h.

Constructor & Destructor Documentation

◆ format_handler()

template<typename OutputIt , typename Char , typename Context >
format_handler ( OutputIt out,
basic_string_view< Char > str,
basic_format_args< Context > format_args,
detail::locale_ref loc )

Definition at line 3055 of file format.h.

Member Function Documentation

◆ on_arg_id() [1/3]

template<typename OutputIt , typename Char , typename Context >
int on_arg_id ( )

◆ on_arg_id() [2/3]

template<typename OutputIt , typename Char , typename Context >
int on_arg_id ( basic_string_view< Char > id)

Definition at line 3069 of file format.h.

◆ on_arg_id() [3/3]

template<typename OutputIt , typename Char , typename Context >
int on_arg_id ( int id)

◆ on_format_specs()

template<typename OutputIt , typename Char , typename Context >
const Char * on_format_specs ( int id,
const Char * begin,
const Char * end )

◆ on_replacement_field()

template<typename OutputIt , typename Char , typename Context >
FMT_INLINE void on_replacement_field ( int id,
const Char *  )

◆ on_text()

template<typename OutputIt , typename Char , typename Context >
void on_text ( const Char * begin,
const Char * end )

Definition at line 3059 of file format.h.

References detail::reserve(), and detail::to_unsigned().

Member Data Documentation

◆ context

template<typename OutputIt , typename Char , typename Context >
Context context

Definition at line 3053 of file format.h.

◆ parse_context

template<typename OutputIt , typename Char , typename Context >
basic_format_parse_context<Char> parse_context

Definition at line 3052 of file format.h.