WPILibC++ 2024.3.2
detail::compile_parse_context< Char > Class Template Reference

#include </home/runner/work/allwpilib/allwpilib/wpiutil/src/main/native/thirdparty/fmtlib/include/fmt/core.h>

Inheritance diagram for detail::compile_parse_context< Char >:
basic_format_parse_context< Char >

Public Member Functions

FMT_CONSTEXPR compile_parse_context (basic_string_view< Char > format_str, int num_args, const type *types, 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)
 
FMT_CONSTEXPR void check_arg_id (int id)
 Reports an error if using the automatic argument indexing; otherwise switches to the manual indexing. More...
 
FMT_CONSTEXPR void check_arg_id (basic_string_view< Char >)
 
- Public Member Functions inherited from basic_format_parse_context< Char >
constexpr basic_format_parse_context (basic_string_view< Char > format_str, int next_arg_id=0)
 
constexpr auto begin () const noexcept -> iterator
 Returns an iterator to the beginning of the format string range being parsed. More...
 
constexpr auto end () const noexcept -> iterator
 Returns an iterator past the end of the format string range being parsed. More...
 
FMT_CONSTEXPR void advance_to (iterator it)
 Advances the begin iterator to it. More...
 
FMT_CONSTEXPR auto next_arg_id () -> int
 Reports an error if using the manual argument indexing; otherwise returns the next argument index and switches to the automatic indexing. More...
 
FMT_CONSTEXPR void check_arg_id (int id)
 Reports an error if using the automatic argument indexing; otherwise switches to the manual indexing. More...
 
FMT_CONSTEXPR void check_arg_id (basic_string_view< Char >)
 
FMT_CONSTEXPR void check_dynamic_spec (int arg_id)
 

Additional Inherited Members

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

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

Member Function Documentation

◆ arg_type()

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

◆ check_arg_id() [1/3]

template<typename Char >
FMT_CONSTEXPR void basic_format_parse_context< Char >::check_arg_id ( basic_string_view< Char >  )
inline

◆ check_arg_id() [2/3]

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

◆ check_arg_id() [3/3]

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

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

◆ check_dynamic_spec()

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

◆ next_arg_id()

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

◆ num_args()

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

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