Photon 1.0.0
Loading...
Searching...
No Matches
compile_parse_context< Char, ErrorHandler > Class Template Reference

#include <core.h>

Inheritance diagram for compile_parse_context< Char, ErrorHandler >:
basic_format_parse_context< Char, ErrorHandler >

Public Member Functions

FMT_CONSTEXPR compile_parse_context (basic_string_view< Char > format_str, int num_args, const type *types, ErrorHandler eh={}, int next_arg_id=0)
 
constexpr auto num_args () const -> int
 
constexpr auto arg_type (int id) const -> type
 
FMT_CONSTEXPR auto next_arg_id () -> int
 
FMT_CONSTEXPR void check_arg_id (int id)
 
FMT_CONSTEXPR void check_dynamic_spec (int arg_id)
 
- Public Member Functions inherited from basic_format_parse_context< Char, ErrorHandler >
constexpr basic_format_parse_context (basic_string_view< Char > format_str, ErrorHandler eh={}, int next_arg_id=0)
 
constexpr auto begin () const noexcept -> iterator
 
constexpr auto end () const noexcept -> iterator
 
FMT_CONSTEXPR void advance_to (iterator it)
 
FMT_CONSTEXPR auto next_arg_id () -> int
 
FMT_CONSTEXPR void check_arg_id (int id)
 
FMT_CONSTEXPR void check_arg_id (basic_string_view< Char >)
 
FMT_CONSTEXPR void check_dynamic_spec (int arg_id)
 
FMT_CONSTEXPR void on_error (const char *message)
 
constexpr auto error_handler () const -> ErrorHandler
 

Private Types

using base = basic_format_parse_context< Char, ErrorHandler >
 

Private Attributes

int num_args_
 
const typetypes_
 

Additional Inherited Members

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

Member Typedef Documentation

◆ base

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

Constructor & Destructor Documentation

◆ compile_parse_context()

template<typename Char , typename ErrorHandler = detail::error_handler>
FMT_CONSTEXPR compile_parse_context< Char, ErrorHandler >::compile_parse_context ( basic_string_view< Char >  format_str,
int  num_args,
const type types,
ErrorHandler  eh = {},
int  next_arg_id = 0 
)
inlineexplicit

Member Function Documentation

◆ arg_type()

template<typename Char , typename ErrorHandler = detail::error_handler>
constexpr auto compile_parse_context< Char, ErrorHandler >::arg_type ( int  id) const -> type
inlineconstexpr

◆ check_arg_id()

template<typename Char , typename ErrorHandler = detail::error_handler>
FMT_CONSTEXPR void compile_parse_context< Char, ErrorHandler >::check_arg_id ( int  id)
inline

◆ check_dynamic_spec()

template<typename Char , typename ErrorHandler = detail::error_handler>
FMT_CONSTEXPR void compile_parse_context< Char, ErrorHandler >::check_dynamic_spec ( int  arg_id)
inline

◆ next_arg_id()

template<typename Char , typename ErrorHandler = detail::error_handler>
FMT_CONSTEXPR auto compile_parse_context< Char, ErrorHandler >::next_arg_id ( ) -> int
inline

◆ num_args()

template<typename Char , typename ErrorHandler = detail::error_handler>
constexpr auto compile_parse_context< Char, ErrorHandler >::num_args ( ) const -> int
inlineconstexpr

Member Data Documentation

◆ num_args_

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

◆ types_

template<typename Char , typename ErrorHandler = detail::error_handler>
const type* compile_parse_context< Char, ErrorHandler >::types_
private

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