Public Member Functions | Private Types | Private Attributes | List of all members
format_string_checker< Char, ErrorHandler, Args > Class Template Reference

#include <core.h>

Public Member Functions

FMT_CONSTEXPR format_string_checker (basic_string_view< Char > format_str, ErrorHandler eh)
 
FMT_CONSTEXPR auto on_arg_id () -> int
 
FMT_CONSTEXPR auto on_arg_id (int id) -> int
 
FMT_CONSTEXPR auto on_arg_id (basic_string_view< Char > id) -> int
 
FMT_CONSTEXPR void on_error (const char *message)
 
FMT_CONSTEXPR auto on_format_specs (int id, const Char *begin, const Char *) -> const Char *
 
FMT_CONSTEXPR void on_replacement_field (int, const Char *)
 
FMT_CONSTEXPR void on_text (const Char *, const Char *)
 

Private Types

enum  { num_args = sizeof...(Args) }
 
using parse_context_type = compile_parse_context< Char, ErrorHandler >
 
using parse_func = const Char *(*)(parse_context_type &)
 

Private Attributes

parse_context_type context_
 
parse_func parse_funcs_ [num_args > 0 ? num_args :1]
 

Detailed Description

template<typename Char, typename ErrorHandler, typename... Args>
class format_string_checker< Char, ErrorHandler, Args >

Definition at line 2677 of file core.h.

Member Typedef Documentation

◆ parse_context_type

template<typename Char , typename ErrorHandler , typename... Args>
using format_string_checker< Char, ErrorHandler, Args >::parse_context_type = compile_parse_context<Char, ErrorHandler>
private

Definition at line 2679 of file core.h.

◆ parse_func

template<typename Char , typename ErrorHandler , typename... Args>
using format_string_checker< Char, ErrorHandler, Args >::parse_func = const Char* (*)(parse_context_type&)
private

Definition at line 2683 of file core.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename Char , typename ErrorHandler , typename... Args>
anonymous enum
private
Enumerator
num_args 

Definition at line 2680 of file core.h.

Constructor & Destructor Documentation

◆ format_string_checker()

template<typename Char , typename ErrorHandler , typename... Args>
FMT_CONSTEXPR format_string_checker< Char, ErrorHandler, Args >::format_string_checker ( basic_string_view< Char >  format_str,
ErrorHandler  eh 
)
inlineexplicit

Definition at line 2689 of file core.h.

Member Function Documentation

◆ on_arg_id() [1/3]

template<typename Char , typename ErrorHandler , typename... Args>
FMT_CONSTEXPR auto format_string_checker< Char, ErrorHandler, Args >::on_arg_id ( ) -> int
inline

Definition at line 2696 of file core.h.

◆ on_arg_id() [2/3]

template<typename Char , typename ErrorHandler , typename... Args>
FMT_CONSTEXPR auto format_string_checker< Char, ErrorHandler, Args >::on_arg_id ( int  id) -> int
inline

Definition at line 2697 of file core.h.

◆ on_arg_id() [3/3]

template<typename Char , typename ErrorHandler , typename... Args>
FMT_CONSTEXPR auto format_string_checker< Char, ErrorHandler, Args >::on_arg_id ( basic_string_view< Char >  id) -> int
inline

Definition at line 2700 of file core.h.

◆ on_error()

template<typename Char , typename ErrorHandler , typename... Args>
FMT_CONSTEXPR void format_string_checker< Char, ErrorHandler, Args >::on_error ( const char *  message)
inline

Definition at line 2721 of file core.h.

◆ on_format_specs()

template<typename Char , typename ErrorHandler , typename... Args>
FMT_CONSTEXPR auto format_string_checker< Char, ErrorHandler, Args >::on_format_specs ( int  id,
const Char *  begin,
const Char *   
) -> const Char*
inline

Definition at line 2714 of file core.h.

◆ on_replacement_field()

template<typename Char , typename ErrorHandler , typename... Args>
FMT_CONSTEXPR void format_string_checker< Char, ErrorHandler, Args >::on_replacement_field ( int  ,
const Char *   
)
inline

Definition at line 2712 of file core.h.

◆ on_text()

template<typename Char , typename ErrorHandler , typename... Args>
FMT_CONSTEXPR void format_string_checker< Char, ErrorHandler, Args >::on_text ( const Char *  ,
const Char *   
)
inline

Definition at line 2694 of file core.h.

Member Data Documentation

◆ context_

template<typename Char , typename ErrorHandler , typename... Args>
parse_context_type format_string_checker< Char, ErrorHandler, Args >::context_
private

Definition at line 2685 of file core.h.

◆ parse_funcs_

template<typename Char , typename ErrorHandler , typename... Args>
parse_func format_string_checker< Char, ErrorHandler, Args >::parse_funcs_[num_args > 0 ? num_args :1]
private

Definition at line 2686 of file core.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Jun 19 2023 03:12:54