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

#include <string_cfmt2.hpp>

Collaboration diagram for jau::cfmt2::PResult:

Public Member Functions

template<size_t N>
constexpr PResult (const char(&fmt_)[N]) noexcept
 
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=delete
 
constexpr char sym () const noexcept
 
std::string toString () const
 

Public Attributes

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

Friends

template<typename T>
class impl::Parser
 

Detailed Description

Definition at line 146 of file string_cfmt2.hpp.

Constructor & Destructor Documentation

◆ PResult() [1/3]

template<size_t N>
jau::cfmt2::PResult::PResult ( const char(&) fmt_[N])
inlineconstexprnoexcept

Definition at line 156 of file string_cfmt2.hpp.

Here is the caller graph for this function:

◆ PResult() [2/3]

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

Definition at line 159 of file string_cfmt2.hpp.

◆ PResult() [3/3]

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

Member Function Documentation

◆ operator=()

PResult & jau::cfmt2::PResult::operator= ( const PResult & x)
constexprdeletenoexcept

◆ hasNext()

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

Definition at line 166 of file string_cfmt2.hpp.

◆ argCount()

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

Definition at line 170 of file string_cfmt2.hpp.

Here is the caller graph for this function:

◆ error()

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

Definition at line 171 of file string_cfmt2.hpp.

Here is the caller graph for this function:

◆ sym()

char jau::cfmt2::PResult::sym ( ) const
inlineconstexprnoexcept

Definition at line 172 of file string_cfmt2.hpp.

◆ toString()

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

Definition at line 174 of file string_cfmt2.hpp.

Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ impl::Parser

template<typename T>
friend class impl::Parser
friend

Definition at line 198 of file string_cfmt2.hpp.

Member Data Documentation

◆ fmt

const std::string_view jau::cfmt2::PResult::fmt

Definition at line 147 of file string_cfmt2.hpp.

◆ pos

const size_t jau::cfmt2::PResult::pos

Definition at line 148 of file string_cfmt2.hpp.

◆ arg_count

const ssize_t jau::cfmt2::PResult::arg_count

Definition at line 149 of file string_cfmt2.hpp.

◆ line

const int jau::cfmt2::PResult::line

Definition at line 150 of file string_cfmt2.hpp.

◆ state

const pstate_t jau::cfmt2::PResult::state

Definition at line 151 of file string_cfmt2.hpp.

◆ length_mod

const plength_t jau::cfmt2::PResult::length_mod

Definition at line 152 of file string_cfmt2.hpp.

◆ precision_set

const bool jau::cfmt2::PResult::precision_set

Definition at line 153 of file string_cfmt2.hpp.


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