SoPlex Documentation
Loading...
Searching...
No Matches
dynamic_specs_handler< ParseContext > Class Template Reference

#include <format.h>

Inheritance diagram for dynamic_specs_handler< ParseContext >:
specs_setter< ParseContext::char_type >

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 (basic_string_view< 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 detail::dynamic_specs_handler< ParseContext >

Definition at line 2650 of file format.h.

Member Typedef Documentation

◆ arg_ref_type

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

Definition at line 2677 of file format.h.

◆ char_type

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

Definition at line 2653 of file format.h.

Constructor & Destructor Documentation

◆ dynamic_specs_handler() [1/2]

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

Definition at line 2655 of file format.h.

◆ dynamic_specs_handler() [2/2]

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

Definition at line 2659 of file format.h.

Member Function Documentation

◆ make_arg_ref() [1/3]

template<typename ParseContext >
FMT_CONSTEXPR arg_ref_type make_arg_ref ( auto_id )
private

Definition at line 2684 of file format.h.

◆ make_arg_ref() [2/3]

template<typename ParseContext >
FMT_CONSTEXPR arg_ref_type make_arg_ref ( basic_string_view< char_type > arg_id)
private

Definition at line 2688 of file format.h.

References detail::to_unsigned().

◆ make_arg_ref() [3/3]

template<typename ParseContext >
FMT_CONSTEXPR arg_ref_type make_arg_ref ( int arg_id)
private

Definition at line 2679 of file format.h.

◆ on_dynamic_precision()

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

Definition at line 2668 of file format.h.

◆ on_dynamic_width()

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

Definition at line 2664 of file format.h.

◆ on_error()

template<typename ParseContext >
FMT_CONSTEXPR void on_error ( const char * message)

Definition at line 2672 of file format.h.

Member Data Documentation

◆ context_

template<typename ParseContext >
ParseContext& context_
private

Definition at line 2696 of file format.h.

◆ specs_

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

Definition at line 2695 of file format.h.