jaulib v1.4.1-10-ga2c96e0
Jau Support Library (C++, Java, ..)
Loading...
Searching...
No Matches
jau::cfmt2::impl::Parser< T > Class Template Reference

#include <string_cfmt2.hpp>

Collaboration diagram for jau::cfmt2::impl::Parser< T >:

Public Member Functions

constexpr Parser () noexcept=delete
 

Static Public Member Functions

static constexpr const PResult parseOne (const PResult pc) noexcept
 Parse the given argument against the current conversion specifier of the format string.
 

Detailed Description

template<typename T>
class jau::cfmt2::impl::Parser< T >

Definition at line 211 of file string_cfmt2.hpp.

Constructor & Destructor Documentation

◆ Parser()

template<typename T>
jau::cfmt2::impl::Parser< T >::Parser ( )
constexprdeletenoexcept

Member Function Documentation

◆ parseOne()

template<typename T>
static constexpr const PResult jau::cfmt2::impl::Parser< T >::parseOne ( const PResult pc)
inlinestaticconstexprnoexcept

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 225 of file string_cfmt2.hpp.

Here is the caller graph for this function:

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