Rosetta
Public Member Functions | Public Attributes | List of all members
detail::format_handler< OutputIt, Char, Context > Struct Template Reference

#include <format.h>

Inheritance diagram for detail::format_handler< OutputIt, Char, Context >:
Inheritance graph
[legend]

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 detail::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
 

Constructor & Destructor Documentation

◆ format_handler()

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

Member Function Documentation

◆ on_arg_id() [1/3]

template<typename OutputIt , typename Char , typename Context >
int detail::format_handler< OutputIt, Char, Context >::on_arg_id ( )
inline

◆ on_arg_id() [2/3]

template<typename OutputIt , typename Char , typename Context >
int detail::format_handler< OutputIt, Char, Context >::on_arg_id ( basic_string_view< Char >  id)
inline

◆ on_arg_id() [3/3]

template<typename OutputIt , typename Char , typename Context >
int detail::format_handler< OutputIt, Char, Context >::on_arg_id ( int  id)
inline

◆ on_format_specs()

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

◆ on_replacement_field()

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

◆ on_text()

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

Member Data Documentation

◆ context

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

◆ parse_context

template<typename OutputIt , typename Char , typename Context >
basic_format_parse_context<Char> detail::format_handler< OutputIt, Char, Context >::parse_context

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