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

Detailed Description

template<typename Char>
class specs_handler< Char >

Definition at line 2072 of file format.h.

#include <format.h>

Inheritance diagram for specs_handler< Char >:
[legend]

Public Member Functions

FMT_CONSTEXPR specs_handler (basic_format_specs< Char > &specs, basic_format_parse_context< Char > &parse_ctx, buffer_context< Char > &ctx)
 
template<typename Id >
FMT_CONSTEXPR void on_dynamic_width (Id arg_id)
 
template<typename Id >
FMT_CONSTEXPR void on_dynamic_precision (Id arg_id)
 
void on_error (const char *message)
 
FMT_CONSTEXPR void on_align (align_t align)
 
FMT_CONSTEXPR void on_fill (basic_string_view< Char > 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 (Char type)
 

Protected Attributes

basic_format_specs< Char > & specs_
 

Private Types

using format_arg = basic_format_arg< buffer_context< Char > >
 

Private Member Functions

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

Private Attributes

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

Member Typedef Documentation

◆ format_arg

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

Definition at line 2078 of file format.h.

Constructor & Destructor Documentation

◆ specs_handler()

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

Definition at line 2095 of file format.h.

Member Function Documentation

◆ end_precision()

template<typename Char >
FMT_CONSTEXPR void specs_setter< Char >::end_precision ( )
inlineinherited

Definition at line 1988 of file core.h.

◆ get_arg() [1/3]

template<typename Char >
FMT_CONSTEXPR auto specs_handler< Char >::get_arg ( auto_id  ) -> format_arg
inlineprivate

Definition at line 2080 of file format.h.

◆ get_arg() [2/3]

template<typename Char >
FMT_CONSTEXPR auto specs_handler< Char >::get_arg ( basic_string_view< Char >  arg_id) -> format_arg
inlineprivate

Definition at line 2089 of file format.h.

◆ get_arg() [3/3]

template<typename Char >
FMT_CONSTEXPR auto specs_handler< Char >::get_arg ( int  arg_id) -> format_arg
inlineprivate

Definition at line 2084 of file format.h.

◆ on_align()

template<typename Char >
FMT_CONSTEXPR void specs_setter< Char >::on_align ( align_t  align)
inlineinherited

Definition at line 1971 of file core.h.

◆ on_dynamic_precision()

template<typename Char >
template<typename Id >
FMT_CONSTEXPR void specs_handler< Char >::on_dynamic_precision ( Id  arg_id)
inline

Definition at line 2105 of file format.h.

◆ on_dynamic_width()

template<typename Char >
template<typename Id >
FMT_CONSTEXPR void specs_handler< Char >::on_dynamic_width ( Id  arg_id)
inline

Definition at line 2100 of file format.h.

◆ on_error()

template<typename Char >
void specs_handler< Char >::on_error ( const char message)
inline

Definition at line 2110 of file format.h.

◆ on_fill()

template<typename Char >
FMT_CONSTEXPR void specs_setter< Char >::on_fill ( basic_string_view< Char >  fill)
inlineinherited

Definition at line 1972 of file core.h.

◆ on_hash()

template<typename Char >
FMT_CONSTEXPR void specs_setter< Char >::on_hash ( )
inlineinherited

Definition at line 1976 of file core.h.

◆ on_localized()

template<typename Char >
FMT_CONSTEXPR void specs_setter< Char >::on_localized ( )
inlineinherited

Definition at line 1977 of file core.h.

◆ on_precision()

template<typename Char >
FMT_CONSTEXPR void specs_setter< Char >::on_precision ( int  precision)
inlineinherited

Definition at line 1985 of file core.h.

◆ on_sign()

template<typename Char >
FMT_CONSTEXPR void specs_setter< Char >::on_sign ( sign_t  s)
inlineinherited

Definition at line 1975 of file core.h.

◆ on_type()

template<typename Char >
FMT_CONSTEXPR void specs_setter< Char >::on_type ( Char  type)
inlineinherited

Definition at line 1990 of file core.h.

◆ on_width()

template<typename Char >
FMT_CONSTEXPR void specs_setter< Char >::on_width ( int  width)
inlineinherited

Definition at line 1984 of file core.h.

◆ on_zero()

template<typename Char >
FMT_CONSTEXPR void specs_setter< Char >::on_zero ( )
inlineinherited

Definition at line 1979 of file core.h.

Member Data Documentation

◆ context_

template<typename Char >
buffer_context<Char>& specs_handler< Char >::context_
private

Definition at line 2075 of file format.h.

◆ parse_context_

template<typename Char >
basic_format_parse_context<Char>& specs_handler< Char >::parse_context_
private

Definition at line 2074 of file format.h.

◆ specs_

template<typename Char >
basic_format_specs<Char>& specs_setter< Char >::specs_
protectedinherited

Definition at line 1962 of file core.h.


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