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

#include <string_cfmt.hpp>

Collaboration diagram for jau::cfmt::PResult:

Public Member Functions

constexpr PResult (const PResult &pre) noexcept=default
 
constexpr PResult (const std::string_view fmt_) noexcept
 
constexpr ssize_t argCount () const noexcept
 
constexpr bool error () const noexcept
 
constexpr bool hasNext () const noexcept
 
constexpr PResultoperator= (const PResult &x) noexcept=default
 
std::string toString () const
 

Public Attributes

ssize_t arg_count
 
std::string_view fmt
 
plength_t length_mod
 
int line
 
size_t pos
 
bool precision_set
 
pstate_t state
 

Friends

class impl::Parser
 

Detailed Description

Definition at line 145 of file string_cfmt.hpp.

Constructor & Destructor Documentation

◆ PResult() [1/2]

jau::cfmt::PResult::PResult ( const std::string_view fmt_)
inlineconstexprnoexcept

Definition at line 154 of file string_cfmt.hpp.

Here is the caller graph for this function:

◆ PResult() [2/2]

jau::cfmt::PResult::PResult ( const PResult & pre)
constexprdefaultnoexcept

Member Function Documentation

◆ operator=()

PResult & jau::cfmt::PResult::operator= ( const PResult & x)
constexprdefaultnoexcept

◆ hasNext()

bool jau::cfmt::PResult::hasNext ( ) const
inlineconstexprnoexcept

Definition at line 161 of file string_cfmt.hpp.

◆ argCount()

ssize_t jau::cfmt::PResult::argCount ( ) const
inlineconstexprnoexcept

Definition at line 165 of file string_cfmt.hpp.

Here is the caller graph for this function:

◆ error()

bool jau::cfmt::PResult::error ( ) const
inlineconstexprnoexcept

Definition at line 166 of file string_cfmt.hpp.

Here is the caller graph for this function:

◆ toString()

std::string jau::cfmt::PResult::toString ( ) const
inline

Definition at line 168 of file string_cfmt.hpp.

Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ impl::Parser

friend class impl::Parser
friend

Definition at line 191 of file string_cfmt.hpp.

Member Data Documentation

◆ fmt

std::string_view jau::cfmt::PResult::fmt

Definition at line 146 of file string_cfmt.hpp.

◆ pos

size_t jau::cfmt::PResult::pos

Definition at line 147 of file string_cfmt.hpp.

◆ arg_count

ssize_t jau::cfmt::PResult::arg_count

Definition at line 148 of file string_cfmt.hpp.

◆ line

int jau::cfmt::PResult::line

Definition at line 149 of file string_cfmt.hpp.

◆ state

pstate_t jau::cfmt::PResult::state

Definition at line 150 of file string_cfmt.hpp.

◆ length_mod

plength_t jau::cfmt::PResult::length_mod

Definition at line 151 of file string_cfmt.hpp.

◆ precision_set

bool jau::cfmt::PResult::precision_set

Definition at line 152 of file string_cfmt.hpp.


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