SoPlex Documentation
Loading...
Searching...
No Matches
formatter< std::chrono::duration< Rep, Period >, Char >::spec_handler Struct Reference

Public Member Functions

template<typename Id >
FMT_CONSTEXPR arg_ref_type make_arg_ref (Id arg_id)
 
FMT_CONSTEXPR arg_ref_type make_arg_ref (basic_string_view< Char > arg_id)
 
FMT_CONSTEXPR arg_ref_type make_arg_ref (internal::auto_id)
 
void on_error (const char *msg)
 
void on_fill (Char fill)
 
void on_align (align_t align)
 
void on_width (int width)
 
void on_precision (int _precision)
 
void end_precision ()
 
template<typename Id >
void on_dynamic_width (Id arg_id)
 
template<typename Id >
void on_dynamic_precision (Id arg_id)
 

Public Attributes

formatterf
 
basic_format_parse_context< Char > & context
 
basic_string_view< Char > format_str
 

Detailed Description

template<typename Rep, typename Period, typename Char>
struct formatter< std::chrono::duration< Rep, Period >, Char >::spec_handler

Definition at line 1007 of file chrono.h.

Member Function Documentation

◆ end_precision()

template<typename Rep , typename Period , typename Char >
void end_precision ( )

Definition at line 1031 of file chrono.h.

◆ make_arg_ref() [1/3]

template<typename Rep , typename Period , typename Char >
FMT_CONSTEXPR arg_ref_type make_arg_ref ( basic_string_view< Char > arg_id)

◆ make_arg_ref() [2/3]

template<typename Rep , typename Period , typename Char >
template<typename Id >
FMT_CONSTEXPR arg_ref_type make_arg_ref ( Id arg_id)

◆ make_arg_ref() [3/3]

template<typename Rep , typename Period , typename Char >
FMT_CONSTEXPR arg_ref_type make_arg_ref ( internal::auto_id )

◆ on_align()

template<typename Rep , typename Period , typename Char >
void on_align ( align_t align)

Definition at line 1028 of file chrono.h.

◆ on_dynamic_precision()

template<typename Rep , typename Period , typename Char >
template<typename Id >
void on_dynamic_precision ( Id arg_id)

Definition at line 1037 of file chrono.h.

◆ on_dynamic_width()

template<typename Rep , typename Period , typename Char >
template<typename Id >
void on_dynamic_width ( Id arg_id)

Definition at line 1033 of file chrono.h.

◆ on_error()

template<typename Rep , typename Period , typename Char >
void on_error ( const char * msg)

Definition at line 1026 of file chrono.h.

References FMT_THROW.

◆ on_fill()

template<typename Rep , typename Period , typename Char >
void on_fill ( Char fill)

Definition at line 1027 of file chrono.h.

◆ on_precision()

template<typename Rep , typename Period , typename Char >
void on_precision ( int _precision)

Definition at line 1030 of file chrono.h.

◆ on_width()

template<typename Rep , typename Period , typename Char >
void on_width ( int width)

Definition at line 1029 of file chrono.h.

Member Data Documentation

◆ context

template<typename Rep , typename Period , typename Char >
basic_format_parse_context<Char>& context

Definition at line 1009 of file chrono.h.

◆ f

template<typename Rep , typename Period , typename Char >
formatter& f

Definition at line 1008 of file chrono.h.

◆ format_str

template<typename Rep , typename Period , typename Char >
basic_string_view<Char> format_str

Definition at line 1010 of file chrono.h.