Agora  1.2.0
Agora project
fmt::v8::detail::dynamic_specs_handler< ParseContext > Class Template Reference

#include <core.h>

Inheritance diagram for fmt::v8::detail::dynamic_specs_handler< ParseContext >:
Collaboration diagram for fmt::v8::detail::dynamic_specs_handler< ParseContext >:

Public Types

using char_type = typename ParseContext::char_type
 

Public Member Functions

 dynamic_specs_handler (dynamic_format_specs< char_type > &specs, ParseContext &ctx)
 
 dynamic_specs_handler (const dynamic_specs_handler &other)
 
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< ParseContext::char_type >
 specs_setter (basic_format_specs< ParseContext::char_type > &specs)
 
 specs_setter (const specs_setter &other)
 
void on_align (align_t align)
 
void on_fill (basic_string_view< ParseContext::char_type > 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 arg_ref_type = arg_ref< char_type >
 

Private Member Functions

auto make_arg_ref (int arg_id) -> arg_ref_type
 
auto make_arg_ref (auto_id) -> arg_ref_type
 
auto make_arg_ref (basic_string_view< char_type > arg_id) -> arg_ref_type
 

Private Attributes

dynamic_format_specs< char_type > & specs_
 
ParseContext & context_
 

Additional Inherited Members

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

Member Typedef Documentation

◆ arg_ref_type

template<typename ParseContext >
using fmt::v8::detail::dynamic_specs_handler< ParseContext >::arg_ref_type = arg_ref<char_type>
private

◆ char_type

template<typename ParseContext >
using fmt::v8::detail::dynamic_specs_handler< ParseContext >::char_type = typename ParseContext::char_type

Constructor & Destructor Documentation

◆ dynamic_specs_handler() [1/2]

template<typename ParseContext >
fmt::v8::detail::dynamic_specs_handler< ParseContext >::dynamic_specs_handler ( dynamic_format_specs< char_type > &  specs,
ParseContext &  ctx 
)
inline

◆ dynamic_specs_handler() [2/2]

template<typename ParseContext >
fmt::v8::detail::dynamic_specs_handler< ParseContext >::dynamic_specs_handler ( const dynamic_specs_handler< ParseContext > &  other)
inline

Member Function Documentation

◆ make_arg_ref() [1/3]

template<typename ParseContext >
auto fmt::v8::detail::dynamic_specs_handler< ParseContext >::make_arg_ref ( auto_id  ) -> arg_ref_type
inlineprivate

◆ make_arg_ref() [2/3]

template<typename ParseContext >
auto fmt::v8::detail::dynamic_specs_handler< ParseContext >::make_arg_ref ( basic_string_view< char_type arg_id) -> arg_ref_type
inlineprivate
Here is the call graph for this function:

◆ make_arg_ref() [3/3]

template<typename ParseContext >
auto fmt::v8::detail::dynamic_specs_handler< ParseContext >::make_arg_ref ( int  arg_id) -> arg_ref_type
inlineprivate

◆ on_dynamic_precision()

template<typename ParseContext >
template<typename Id >
void fmt::v8::detail::dynamic_specs_handler< ParseContext >::on_dynamic_precision ( Id  arg_id)
inline

◆ on_dynamic_width()

template<typename ParseContext >
template<typename Id >
void fmt::v8::detail::dynamic_specs_handler< ParseContext >::on_dynamic_width ( Id  arg_id)
inline

◆ on_error()

template<typename ParseContext >
void fmt::v8::detail::dynamic_specs_handler< ParseContext >::on_error ( const char *  message)
inline

Member Data Documentation

◆ context_

template<typename ParseContext >
ParseContext& fmt::v8::detail::dynamic_specs_handler< ParseContext >::context_
private

◆ specs_

template<typename ParseContext >
dynamic_format_specs<char_type>& fmt::v8::detail::dynamic_specs_handler< ParseContext >::specs_
private

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