SoPlex Documentation
Loading...
Searching...
No Matches
compile_parse_context< Char, ErrorHandler > Class Template Reference

#include <format.h>

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

Public Member Functions

FMT_CONSTEXPR compile_parse_context (basic_string_view< Char > format_str, int num_args=max_value< int >(), ErrorHandler eh={})
 
FMT_CONSTEXPR int next_arg_id ()
 
FMT_CONSTEXPR void check_arg_id (int id)
 
- Public Member Functions inherited from 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 iterator begin () const FMT_NOEXCEPT
 
constexpr iterator end () const FMT_NOEXCEPT
 
FMT_CONSTEXPR void advance_to (iterator it)
 
FMT_CONSTEXPR int next_arg_id ()
 
FMT_CONSTEXPR void check_arg_id (int)
 
FMT_CONSTEXPR void check_arg_id (basic_string_view< Char >)
 
FMT_CONSTEXPR void on_error (const char *message)
 
constexpr error_handler error_handler () const
 

Private Types

using base = basic_format_parse_context<Char, ErrorHandler>
 

Private Attributes

int num_args_
 

Additional Inherited Members

- Public Types inherited from basic_format_parse_context< Char, error_handler >
using char_type
 
using iterator
 

Detailed Description

template<typename Char, typename ErrorHandler = error_handler>
class detail::compile_parse_context< Char, ErrorHandler >

Definition at line 3114 of file format.h.

Member Typedef Documentation

◆ base

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

Definition at line 3118 of file format.h.

Constructor & Destructor Documentation

◆ compile_parse_context()

template<typename Char , typename ErrorHandler = error_handler>
FMT_CONSTEXPR compile_parse_context ( basic_string_view< Char > format_str,
int num_args = max_value<int>(),
ErrorHandler eh = {} )
explicit

Definition at line 3121 of file format.h.

Member Function Documentation

◆ check_arg_id()

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

Definition at line 3132 of file format.h.

◆ next_arg_id()

template<typename Char , typename ErrorHandler = error_handler>
FMT_CONSTEXPR int next_arg_id ( )

Definition at line 3126 of file format.h.

Member Data Documentation

◆ num_args_

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

Definition at line 3117 of file format.h.