Agora  1.2.0
Agora project
fmt::v8::detail::compile_parse_context< Char, ErrorHandler > Class Template Reference

#include <core.h>

Inheritance diagram for fmt::v8::detail::compile_parse_context< Char, ErrorHandler >:
Collaboration diagram for fmt::v8::detail::compile_parse_context< Char, ErrorHandler >:

Public Member Functions

 compile_parse_context (basic_string_view< Char > format_str, int num_args=(std::numeric_limits< int >::max)(), ErrorHandler eh={})
 
auto next_arg_id () -> int
 
void check_arg_id (int id)
 
void check_arg_id (int)
 
void check_arg_id (basic_string_view< Char >)
 
- Public Member Functions inherited from fmt::v8::basic_format_parse_context< Char, error_handler >
constexpr basic_format_parse_context (basic_string_view< Char > format_str, error_handler eh={}, int next_arg_id=0)
 
constexpr auto begin () const -> iterator throw ()
 
constexpr auto end () const -> iterator throw ()
 
void advance_to (iterator it)
 
auto next_arg_id () -> int
 
void check_arg_id (int)
 
void check_arg_id (basic_string_view< Char >)
 
void on_error (const char *message)
 
constexpr auto error_handler () const -> error_handler
 
constexpr basic_format_parse_context (basic_string_view< Char > format_str, error_handler eh={}, int next_arg_id=0)
 
constexpr auto begin () const -> iterator throw ()
 
constexpr auto end () const -> iterator throw ()
 
void advance_to (iterator it)
 
auto next_arg_id () -> int
 
void check_arg_id (int)
 
void check_arg_id (basic_string_view< Char >)
 
void on_error (const char *message)
 
constexpr auto error_handler () const -> error_handler
 

Private Types

using base = basic_format_parse_context< Char, ErrorHandler >
 

Private Attributes

int num_args_
 

Additional Inherited Members

- Public Types inherited from fmt::v8::basic_format_parse_context< Char, error_handler >
using char_type = Char
 
using iterator = typename basic_string_view< Char >::iterator
 
using char_type = Char
 
using iterator = typename basic_string_view< Char >::iterator
 

Member Typedef Documentation

◆ base

template<typename Char , typename ErrorHandler = error_handler>
using fmt::v8::detail::compile_parse_context< Char, ErrorHandler >::base = basic_format_parse_context<Char, ErrorHandler>
private

Constructor & Destructor Documentation

◆ compile_parse_context()

template<typename Char , typename ErrorHandler = error_handler>
fmt::v8::detail::compile_parse_context< Char, ErrorHandler >::compile_parse_context ( basic_string_view< Char >  format_str,
int  num_args = (std::numeric_limits<int>::max)(),
ErrorHandler  eh = {} 
)
inlineexplicit

Member Function Documentation

◆ check_arg_id() [1/3]

template<typename Char , typename ErrorHandler = error_handler>
void fmt::v8::basic_format_parse_context< Char, ErrorHandler >::check_arg_id
inline

◆ check_arg_id() [2/3]

template<typename Char , typename ErrorHandler = error_handler>
void fmt::v8::detail::compile_parse_context< Char, ErrorHandler >::check_arg_id ( int  id)
inline
Here is the caller graph for this function:

◆ check_arg_id() [3/3]

template<typename Char , typename ErrorHandler = error_handler>
void fmt::v8::basic_format_parse_context< Char, ErrorHandler >::check_arg_id
inline

Reports an error if using the automatic argument indexing; otherwise switches to the manual indexing.

◆ next_arg_id()

template<typename Char , typename ErrorHandler = error_handler>
auto fmt::v8::detail::compile_parse_context< Char, ErrorHandler >::next_arg_id ( ) -> int
inline
Here is the caller graph for this function:

Member Data Documentation

◆ num_args_

template<typename Char , typename ErrorHandler = error_handler>
int fmt::v8::detail::compile_parse_context< Char, ErrorHandler >::num_args_
private

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