Public Member Functions | Private Types | Private Attributes | List of all members
detail::compile_parse_context< Char > Class Template Reference

#include <core.h>

Inheritance diagram for detail::compile_parse_context< Char >:
Inheritance graph
[legend]

Public Member Functions

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

Private Types

using base = basic_format_parse_context< Char >
 

Private Attributes

int num_args_
 
const typetypes_
 

Additional Inherited Members

- Public Types inherited from basic_format_parse_context< Char >
using char_type = Char
 
using iterator = const Char *
 

Detailed Description

template<typename Char>
class detail::compile_parse_context< Char >

Definition at line 745 of file core.h.

Member Typedef Documentation

◆ base

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

Definition at line 749 of file core.h.

Constructor & Destructor Documentation

◆ compile_parse_context()

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

Definition at line 752 of file core.h.

Member Function Documentation

◆ arg_type()

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

Definition at line 758 of file core.h.

◆ check_arg_id() [1/3]

template<typename Char >
FMT_CONSTEXPR void basic_format_parse_context< Char >::check_arg_id
inline

Definition at line 735 of file core.h.

◆ check_arg_id() [2/3]

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

Definition at line 766 of file core.h.

◆ check_arg_id() [3/3]

template<typename Char >
FMT_CONSTEXPR void basic_format_parse_context< Char >::check_arg_id
inline

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

Definition at line 726 of file core.h.

◆ check_dynamic_spec()

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

Definition at line 772 of file core.h.

◆ next_arg_id()

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

Definition at line 760 of file core.h.

◆ num_args()

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

Definition at line 757 of file core.h.

Member Data Documentation

◆ num_args_

template<typename Char >
int detail::compile_parse_context< Char >::num_args_
private

Definition at line 747 of file core.h.

◆ types_

template<typename Char >
const type* detail::compile_parse_context< Char >::types_
private

Definition at line 748 of file core.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:51