Flow123d  3.9.0-4eec2a470
Public Member Functions | Private Member Functions | List of all members
fmt::internal::PrintfFormatter< Char, ArgFormatter > Class Template Reference

#include <printf.h>

Inheritance diagram for fmt::internal::PrintfFormatter< Char, ArgFormatter >:
Inheritance graph
[legend]
Collaboration diagram for fmt::internal::PrintfFormatter< Char, ArgFormatter >:
Collaboration graph
[legend]

Public Member Functions

 PrintfFormatter (const ArgList &args)
 
FMT_API void format (BasicWriter< Char > &writer, BasicCStringRef< Char > format_str)
 

Private Member Functions

void parse_flags (FormatSpec &spec, const Char *&s)
 
Arg get_arg (const Char *s, unsigned arg_index=(std::numeric_limits< unsigned >::max)())
 
unsigned parse_header (const Char *&s, FormatSpec &spec)
 
- Private Member Functions inherited from fmt::internal::FormatterBase
const ArgListargs () const
 
 FormatterBase (const ArgList &args)
 
Arg next_arg (const char *&error)
 
Arg get_arg (unsigned arg_index, const char *&error)
 
bool check_no_auto_index (const char *&error)
 
template<typename Char >
void write (BasicWriter< Char > &w, const Char *start, const Char *end)
 

Detailed Description

template<typename Char, typename ArgFormatter = PrintfArgFormatter<Char>>
class fmt::internal::PrintfFormatter< Char, ArgFormatter >

Definition at line 254 of file printf.h.

Constructor & Destructor Documentation

◆ PrintfFormatter()

template<typename Char , typename ArgFormatter = PrintfArgFormatter<Char>>
fmt::internal::PrintfFormatter< Char, ArgFormatter >::PrintfFormatter ( const ArgList args)
inlineexplicit

Definition at line 267 of file printf.h.

Member Function Documentation

◆ format()

template<typename Char , typename AF >
void fmt::internal::PrintfFormatter< Char, AF >::format ( BasicWriter< Char > &  writer,
BasicCStringRef< Char >  format_str 
)

Definition at line 344 of file printf.h.

Here is the caller graph for this function:

◆ get_arg()

template<typename Char , typename AF >
Arg fmt::internal::PrintfFormatter< Char, AF >::get_arg ( const Char *  s,
unsigned  arg_index = (std::numeric_limits<unsigned>::max)() 
)
private

Definition at line 299 of file printf.h.

◆ parse_flags()

template<typename Char , typename AF >
void fmt::internal::PrintfFormatter< Char, AF >::parse_flags ( FormatSpec spec,
const Char *&  s 
)
private

Definition at line 273 of file printf.h.

◆ parse_header()

template<typename Char , typename AF >
unsigned fmt::internal::PrintfFormatter< Char, AF >::parse_header ( const Char *&  s,
FormatSpec spec 
)
private

Definition at line 310 of file printf.h.


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