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

#include <format.h>

Public Member Functions

FMT_CONSTEXPR format_string_checker (basic_string_view< Char > format_str, ErrorHandler eh)
 
FMT_CONSTEXPR int on_arg_id ()
 
FMT_CONSTEXPR int on_arg_id (int id)
 
FMT_CONSTEXPR int on_arg_id (basic_string_view< Char >)
 
FMT_CONSTEXPR void on_error (const char *message)
 
FMT_CONSTEXPR const Char * on_format_specs (int id, const Char *begin, 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 detail::format_string_checker< Char, ErrorHandler, Args >

Definition at line 3086 of file format.h.

Member Typedef Documentation

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

Definition at line 3115 of file format.h.

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

Definition at line 3119 of file format.h.

Member Enumeration Documentation

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

Definition at line 3116 of file format.h.

Constructor & Destructor Documentation

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

Definition at line 3088 of file format.h.

Member Function Documentation

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

Definition at line 3095 of file format.h.

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

Definition at line 3096 of file format.h.

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

Definition at line 3097 of file format.h.

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

Definition at line 3110 of file format.h.

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

Definition at line 3104 of file format.h.

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

Definition at line 3102 of file format.h.

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

Definition at line 3093 of file format.h.

Member Data Documentation

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

Definition at line 3121 of file format.h.

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

Definition at line 3122 of file format.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:51