spdlog
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
dynamic_specs_handler< ParseContext > Class Template Reference

Detailed Description

template<typename ParseContext>
class dynamic_specs_handler< ParseContext >

Definition at line 1998 of file core.h.

#include <core.h>

Inheritance diagram for dynamic_specs_handler< ParseContext >:
[legend]

Public Types

using char_type = typename ParseContext::char_type
 

Public Member Functions

FMT_CONSTEXPR dynamic_specs_handler (dynamic_format_specs< char_type > &specs, ParseContext &ctx)
 
FMT_CONSTEXPR dynamic_specs_handler (const dynamic_specs_handler &other)
 
template<typename Id >
FMT_CONSTEXPR void on_dynamic_width (Id arg_id)
 
template<typename Id >
FMT_CONSTEXPR void on_dynamic_precision (Id arg_id)
 
FMT_CONSTEXPR void on_error (const char *message)
 
FMT_CONSTEXPR void on_align (align_t align)
 
FMT_CONSTEXPR void on_fill (basic_string_view< ParseContext::char_type > fill)
 
FMT_CONSTEXPR void on_sign (sign_t s)
 
FMT_CONSTEXPR void on_hash ()
 
FMT_CONSTEXPR void on_localized ()
 
FMT_CONSTEXPR void on_zero ()
 
FMT_CONSTEXPR void on_width (int width)
 
FMT_CONSTEXPR void on_precision (int precision)
 
FMT_CONSTEXPR void end_precision ()
 
FMT_CONSTEXPR void on_type (ParseContext::char_type type)
 

Private Types

using arg_ref_type = arg_ref< char_type >
 

Private Member Functions

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

Private Attributes

dynamic_format_specs< char_type > & specs_
 
ParseContext & context_
 

Member Typedef Documentation

◆ arg_ref_type

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

Definition at line 2028 of file core.h.

◆ char_type

template<typename ParseContext >
using dynamic_specs_handler< ParseContext >::char_type = typename ParseContext::char_type

Definition at line 2001 of file core.h.

Constructor & Destructor Documentation

◆ dynamic_specs_handler() [1/2]

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

Definition at line 2003 of file core.h.

◆ dynamic_specs_handler() [2/2]

template<typename ParseContext >
FMT_CONSTEXPR dynamic_specs_handler< ParseContext >::dynamic_specs_handler ( const dynamic_specs_handler< ParseContext > &  other)
inline

Definition at line 2007 of file core.h.

Member Function Documentation

◆ end_precision()

FMT_CONSTEXPR void specs_setter< ParseContext::char_type >::end_precision ( )
inlineinherited

Definition at line 1988 of file core.h.

◆ make_arg_ref() [1/3]

template<typename ParseContext >
FMT_CONSTEXPR auto dynamic_specs_handler< ParseContext >::make_arg_ref ( auto_id  ) -> arg_ref_type
inlineprivate

Definition at line 2035 of file core.h.

◆ make_arg_ref() [2/3]

template<typename ParseContext >
FMT_CONSTEXPR auto dynamic_specs_handler< ParseContext >::make_arg_ref ( basic_string_view< char_type arg_id) -> arg_ref_type
inlineprivate

Definition at line 2039 of file core.h.

◆ make_arg_ref() [3/3]

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

Definition at line 2030 of file core.h.

◆ on_align()

FMT_CONSTEXPR void specs_setter< ParseContext::char_type >::on_align ( align_t  align)
inlineinherited

Definition at line 1971 of file core.h.

◆ on_dynamic_precision()

template<typename ParseContext >
template<typename Id >
FMT_CONSTEXPR void dynamic_specs_handler< ParseContext >::on_dynamic_precision ( Id  arg_id)
inline

Definition at line 2016 of file core.h.

◆ on_dynamic_width()

template<typename ParseContext >
template<typename Id >
FMT_CONSTEXPR void dynamic_specs_handler< ParseContext >::on_dynamic_width ( Id  arg_id)
inline

Definition at line 2012 of file core.h.

◆ on_error()

template<typename ParseContext >
FMT_CONSTEXPR void dynamic_specs_handler< ParseContext >::on_error ( const char message)
inline

Definition at line 2020 of file core.h.

◆ on_fill()

FMT_CONSTEXPR void specs_setter< ParseContext::char_type >::on_fill ( basic_string_view< ParseContext::char_type >  fill)
inlineinherited

Definition at line 1972 of file core.h.

◆ on_hash()

FMT_CONSTEXPR void specs_setter< ParseContext::char_type >::on_hash ( )
inlineinherited

Definition at line 1976 of file core.h.

◆ on_localized()

FMT_CONSTEXPR void specs_setter< ParseContext::char_type >::on_localized ( )
inlineinherited

Definition at line 1977 of file core.h.

◆ on_precision()

FMT_CONSTEXPR void specs_setter< ParseContext::char_type >::on_precision ( int  precision)
inlineinherited

Definition at line 1985 of file core.h.

◆ on_sign()

FMT_CONSTEXPR void specs_setter< ParseContext::char_type >::on_sign ( sign_t  s)
inlineinherited

Definition at line 1975 of file core.h.

◆ on_type()

FMT_CONSTEXPR void specs_setter< ParseContext::char_type >::on_type ( ParseContext::char_type  type)
inlineinherited

Definition at line 1990 of file core.h.

◆ on_width()

FMT_CONSTEXPR void specs_setter< ParseContext::char_type >::on_width ( int  width)
inlineinherited

Definition at line 1984 of file core.h.

◆ on_zero()

FMT_CONSTEXPR void specs_setter< ParseContext::char_type >::on_zero ( )
inlineinherited

Definition at line 1979 of file core.h.

Member Data Documentation

◆ context_

template<typename ParseContext >
ParseContext& dynamic_specs_handler< ParseContext >::context_
private

Definition at line 2026 of file core.h.

◆ specs_

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

Definition at line 2025 of file core.h.


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