Agora  1.2.0
Agora project
fmt::v8::detail::specs_handler< Char > Class Template Reference

#include <format.h>

Inheritance diagram for fmt::v8::detail::specs_handler< Char >:
Collaboration diagram for fmt::v8::detail::specs_handler< Char >:

Public Member Functions

 specs_handler (basic_format_specs< Char > &specs, basic_format_parse_context< Char > &parse_ctx, buffer_context< Char > &ctx)
 
template<typename Id >
void on_dynamic_width (Id arg_id)
 
template<typename Id >
void on_dynamic_precision (Id arg_id)
 
void on_error (const char *message)
 
- Public Member Functions inherited from fmt::v8::detail::specs_setter< Char >
 specs_setter (basic_format_specs< Char > &specs)
 
 specs_setter (const specs_setter &other)
 
void on_align (align_t align)
 
void on_fill (basic_string_view< Char > fill)
 
void on_sign (sign_t s)
 
void on_hash ()
 
void on_localized ()
 
void on_zero ()
 
void on_width (int width)
 
void on_precision (int precision)
 
void end_precision ()
 
void on_type (presentation_type type)
 

Private Types

using format_arg = basic_format_arg< buffer_context< Char > >
 

Private Member Functions

auto get_arg (auto_id) -> format_arg
 
auto get_arg (int arg_id) -> format_arg
 
auto get_arg (basic_string_view< Char > arg_id) -> format_arg
 

Private Attributes

basic_format_parse_context< Char > & parse_context_
 
buffer_context< Char > & context_
 

Additional Inherited Members

- Protected Attributes inherited from fmt::v8::detail::specs_setter< Char >
basic_format_specs< Char > & specs_
 

Member Typedef Documentation

◆ format_arg

template<typename Char >
using fmt::v8::detail::specs_handler< Char >::format_arg = basic_format_arg<buffer_context<Char> >
private

Constructor & Destructor Documentation

◆ specs_handler()

template<typename Char >
fmt::v8::detail::specs_handler< Char >::specs_handler ( basic_format_specs< Char > &  specs,
basic_format_parse_context< Char > &  parse_ctx,
buffer_context< Char > &  ctx 
)
inline

Member Function Documentation

◆ get_arg() [1/3]

template<typename Char >
auto fmt::v8::detail::specs_handler< Char >::get_arg ( auto_id  ) -> format_arg
inlineprivate
Here is the call graph for this function:

◆ get_arg() [2/3]

template<typename Char >
auto fmt::v8::detail::specs_handler< Char >::get_arg ( basic_string_view< Char >  arg_id) -> format_arg
inlineprivate
Here is the call graph for this function:

◆ get_arg() [3/3]

template<typename Char >
auto fmt::v8::detail::specs_handler< Char >::get_arg ( int  arg_id) -> format_arg
inlineprivate
Here is the call graph for this function:

◆ on_dynamic_precision()

template<typename Char >
template<typename Id >
void fmt::v8::detail::specs_handler< Char >::on_dynamic_precision ( Id  arg_id)
inline
Here is the call graph for this function:

◆ on_dynamic_width()

template<typename Char >
template<typename Id >
void fmt::v8::detail::specs_handler< Char >::on_dynamic_width ( Id  arg_id)
inline
Here is the call graph for this function:

◆ on_error()

template<typename Char >
void fmt::v8::detail::specs_handler< Char >::on_error ( const char *  message)
inline
Here is the call graph for this function:

Member Data Documentation

◆ context_

template<typename Char >
buffer_context<Char>& fmt::v8::detail::specs_handler< Char >::context_
private

◆ parse_context_

template<typename Char >
basic_format_parse_context<Char>& fmt::v8::detail::specs_handler< Char >::parse_context_
private

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