jaulib v1.4.1-10-ga2c96e0
Jau Support Library (C++, Java, ..)
Loading...
Searching...
No Matches
jau::cfmt::FResult< Output > Struct Template Reference

#include <string_cfmt.hpp>

Inheritance diagram for jau::cfmt::FResult< Output >:
Collaboration diagram for jau::cfmt::FResult< Output >:

Public Member Functions

constexpr FResult (const FResult &pre) noexcept=default
 
constexpr FResult (Output p, std::string_view fmt_) noexcept
 
constexpr ssize_t argCount () const noexcept
 
constexpr bool error () const noexcept
 
constexpr bool hasNext () const noexcept
 
constexpr FResultoperator= (const FResult &x) noexcept=default
 
std::string toString () const
 

Public Attributes

ssize_t arg_count
 
std::string_view fmt
 
int line
 
FormatOpts opts
 
Output out
 
size_t pos
 position of next fmt character to be read
 
size_t pos_lstart
 start of last conversion spec
 
pstate_t state
 

Friends

class impl::Parser< Output >
 

Detailed Description

template<OutputType Output>
struct jau::cfmt::FResult< Output >

Definition at line 1334 of file string_cfmt.hpp.

Constructor & Destructor Documentation

◆ FResult() [1/2]

template<OutputType Output>
jau::cfmt::FResult< Output >::FResult ( Output p,
std::string_view fmt_ )
inlineconstexprnoexcept

Definition at line 1345 of file string_cfmt.hpp.

◆ FResult() [2/2]

template<OutputType Output>
jau::cfmt::FResult< Output >::FResult ( const FResult< Output > & pre)
constexprdefaultnoexcept

Member Function Documentation

◆ operator=()

template<OutputType Output>
FResult & jau::cfmt::FResult< Output >::operator= ( const FResult< Output > & x)
constexprdefaultnoexcept

◆ hasNext()

template<OutputType Output>
bool jau::cfmt::FResult< Output >::hasNext ( ) const
inlineconstexprnoexcept

Definition at line 1352 of file string_cfmt.hpp.

◆ argCount()

template<OutputType Output>
ssize_t jau::cfmt::FResult< Output >::argCount ( ) const
inlineconstexprnoexcept

Definition at line 1356 of file string_cfmt.hpp.

Here is the caller graph for this function:

◆ error()

template<OutputType Output>
bool jau::cfmt::FResult< Output >::error ( ) const
inlineconstexprnoexcept

Definition at line 1357 of file string_cfmt.hpp.

Here is the caller graph for this function:

◆ toString()

template<OutputType Output>
std::string jau::cfmt::FResult< Output >::toString ( ) const
inline

Definition at line 1359 of file string_cfmt.hpp.

Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ impl::Parser< Output >

template<OutputType Output>
friend class impl::Parser< Output >
friend

Definition at line 1359 of file string_cfmt.hpp.

Member Data Documentation

◆ out

template<OutputType Output>
Output jau::cfmt::FResult< Output >::out

Definition at line 1335 of file string_cfmt.hpp.

◆ fmt

template<OutputType Output>
std::string_view jau::cfmt::FResult< Output >::fmt

Definition at line 1336 of file string_cfmt.hpp.

◆ pos

template<OutputType Output>
size_t jau::cfmt::FResult< Output >::pos

position of next fmt character to be read

Definition at line 1337 of file string_cfmt.hpp.

◆ pos_lstart

template<OutputType Output>
size_t jau::cfmt::FResult< Output >::pos_lstart

start of last conversion spec

Definition at line 1338 of file string_cfmt.hpp.

◆ arg_count

template<OutputType Output>
ssize_t jau::cfmt::FResult< Output >::arg_count

Definition at line 1339 of file string_cfmt.hpp.

◆ line

template<OutputType Output>
int jau::cfmt::FResult< Output >::line

Definition at line 1340 of file string_cfmt.hpp.

◆ state

template<OutputType Output>
pstate_t jau::cfmt::FResult< Output >::state

Definition at line 1341 of file string_cfmt.hpp.

◆ opts

template<OutputType Output>
FormatOpts jau::cfmt::FResult< Output >::opts

Definition at line 1343 of file string_cfmt.hpp.


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