Scippy

SoPlex

Sequential object-oriented simPlex

dynamic_specs_handler< ParseContext > Class Template Reference

#include <format.h>

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)
 
- Public Member Functions inherited from specs_setter< ParseContext::char_type >
FMT_CONSTEXPR specs_setter (basic_format_specs< ParseContext::char_type > &specs)
 
FMT_CONSTEXPR specs_setter (const specs_setter &other)
 
FMT_CONSTEXPR void on_align (align_t align)
 
FMT_CONSTEXPR void on_fill (ParseContext::char_type fill)
 
FMT_CONSTEXPR void on_plus ()
 
FMT_CONSTEXPR void on_minus ()
 
FMT_CONSTEXPR void on_space ()
 
FMT_CONSTEXPR void on_hash ()
 
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 arg_ref_type make_arg_ref (int arg_id)
 
FMT_CONSTEXPR arg_ref_type make_arg_ref (auto_id)
 
FMT_CONSTEXPR arg_ref_type make_arg_ref (basic_string_view< char_type > arg_id)
 

Private Attributes

dynamic_format_specs< char_type > & specs_
 
ParseContext & context_
 

Additional Inherited Members

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

Detailed Description

template<typename ParseContext>
class internal::dynamic_specs_handler< ParseContext >

Definition at line 2226 of file format.h.

Member Typedef Documentation

◆ arg_ref_type

using arg_ref_type = arg_ref<char_type>
private

Definition at line 2253 of file format.h.

◆ char_type

using char_type = typename ParseContext::char_type

Definition at line 2229 of file format.h.

Constructor & Destructor Documentation

◆ dynamic_specs_handler() [1/2]

FMT_CONSTEXPR dynamic_specs_handler ( dynamic_format_specs< char_type > &  specs,
ParseContext &  ctx 
)

Definition at line 2231 of file format.h.

◆ dynamic_specs_handler() [2/2]

FMT_CONSTEXPR dynamic_specs_handler ( const dynamic_specs_handler< ParseContext > &  other)

Definition at line 2235 of file format.h.

Member Function Documentation

◆ make_arg_ref() [1/3]

FMT_CONSTEXPR arg_ref_type make_arg_ref ( int  arg_id)
private

Definition at line 2255 of file format.h.

◆ make_arg_ref() [2/3]

FMT_CONSTEXPR arg_ref_type make_arg_ref ( auto_id  )
private

Definition at line 2260 of file format.h.

◆ make_arg_ref() [3/3]

FMT_CONSTEXPR arg_ref_type make_arg_ref ( basic_string_view< char_type arg_id)
private

Definition at line 2264 of file format.h.

References internal::to_unsigned().

◆ on_dynamic_precision()

FMT_CONSTEXPR void on_dynamic_precision ( Id  arg_id)

Definition at line 2244 of file format.h.

◆ on_dynamic_width()

FMT_CONSTEXPR void on_dynamic_width ( Id  arg_id)

Definition at line 2240 of file format.h.

◆ on_error()

FMT_CONSTEXPR void on_error ( const char *  message)

Definition at line 2248 of file format.h.

Member Data Documentation

◆ context_

ParseContext& context_
private

Definition at line 2272 of file format.h.

◆ specs_

dynamic_format_specs<char_type>& specs_
private

Definition at line 2271 of file format.h.