jaulib v1.3.6
Jau Support Library (C++, Java, ..)
Loading...
Searching...
No Matches
jau::cfmt::impl::Parser Class Reference

#include <string_cfmt.hpp>

Collaboration diagram for jau::cfmt::impl::Parser:

Public Member Functions

constexpr Parser () noexcept=default
 
template<typename T>
constexpr bool parseOne (PResult &pc) const noexcept
 Parse the given argument against the current conversion specifier of the format string.
 

Detailed Description

Definition at line 253 of file string_cfmt.hpp.

Constructor & Destructor Documentation

◆ Parser()

jau::cfmt::impl::Parser::Parser ( )
constexprdefaultnoexcept

Member Function Documentation

◆ parseOne()

template<typename T>
bool jau::cfmt::impl::Parser::parseOne ( PResult & pc) const
inlineconstexprnoexcept

Parse the given argument against the current conversion specifier of the format string.

Multiple rounds of parsing calls might be required, each passing the next argument or null.

Parsing is completed when method returns false, either signaling an error() or completion.

Template Parameters
TThe type of the given argument
Returns
true if no error and not complete, i.e. further calls with subsequent parameter required. Otherwise parsing is done due to error or completeness.

Definition at line 268 of file string_cfmt.hpp.

Here is the caller graph for this function:

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