Roboruka
Knihovna pro obsluhu RoboRuky.
Veřejné metody | Seznam všech členů
Dokumentace šablony třídy basic_format_parse_context< Char, ErrorHandler >

#include <core.h>

Dědí z bázové třídy internal::error_handler.

Zděděna třídou basic_printf_parse_context< Char >.

Veřejné metody

FMT_CONSTEXPR iterator begin () const FMT_NOEXCEPT
 
FMT_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)
 

Detailní popis

template<typename Char, typename ErrorHandler = internal::error_handler>
class basic_format_parse_context< Char, ErrorHandler >

\rst Parsing context consisting of a format string range being parsed and an argument counter for automatic indexing.

You can use one of the following type aliases for common character types:

+--------------------—+----------------------------------—+ | Type | Definition | +=======================+=====================================+ | format_parse_context | basic_format_parse_context<char> | +--------------------—+----------------------------------—+ | wformat_parse_context | basic_format_parse_context<wchar_t> | +--------------------—+----------------------------------—+ \endrst

Dokumentace k metodám

◆ advance_to()

template<typename Char , typename ErrorHandler = internal::error_handler>
FMT_CONSTEXPR void basic_format_parse_context< Char, ErrorHandler >::advance_to ( iterator  it)
inline

Advances the begin iterator to it.

◆ begin()

template<typename Char , typename ErrorHandler = internal::error_handler>
FMT_CONSTEXPR iterator basic_format_parse_context< Char, ErrorHandler >::begin ( ) const
inline

Returns an iterator to the beginning of the format string range being parsed.

◆ check_arg_id()

template<typename Char , typename ErrorHandler = internal::error_handler>
FMT_CONSTEXPR void basic_format_parse_context< Char, ErrorHandler >::check_arg_id ( int  )
inline

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

◆ end()

template<typename Char , typename ErrorHandler = internal::error_handler>
FMT_CONSTEXPR iterator basic_format_parse_context< Char, ErrorHandler >::end ( ) const
inline

Returns an iterator past the end of the format string range being parsed.

◆ next_arg_id()

template<typename Char , typename ErrorHandler = internal::error_handler>
FMT_CONSTEXPR int basic_format_parse_context< Char, ErrorHandler >::next_arg_id ( )
inline

Reports an error if using the manual argument indexing; otherwise returns the next argument index and switches to the automatic indexing.


Dokumentace pro tuto třídu byla vygenerována z následujícího souboru: