Phasor 3.3.0
Stack VM based Programming Language
Loading...
Searching...
No Matches
vformat::detail Namespace Reference

Classes

struct  Spec

Enumerations

enum class  Length {
  None , hh , h , l ,
  ll , L , z , t ,
  j
}

Functions

static const char * parse (const char *f, Spec &s, va_list &ap)
static std::string build_fmt (const Spec &s, const char *len_override, char conv)
template<typename Fill>
static std::string snprintf_into (int hint, Fill fill)
static int hint (const Spec &s)
static std::string fmt_signed (const Spec &s, va_list &ap)
static std::string fmt_unsigned (const Spec &s, va_list &ap)
static std::string fmt_float (const Spec &s, va_list &ap)
static std::string fmt_char (const Spec &s, va_list &ap)
static std::string fmt_string (const Spec &s, va_list &ap)
static std::string fmt_pointer (const Spec &s, va_list &ap)
static std::string do_vformat (const char *fmt, va_list ap_in)

Enumeration Type Documentation

◆ Length

enum class vformat::detail::Length
strong
Enumerator
None 
hh 
ll 

Definition at line 25 of file vformat.hpp.

Function Documentation

◆ build_fmt()

std::string vformat::detail::build_fmt ( const Spec & s,
const char * len_override,
char conv )
static

Definition at line 137 of file vformat.hpp.

Here is the caller graph for this function:

◆ do_vformat()

std::string vformat::detail::do_vformat ( const char * fmt,
va_list ap_in )
static

Definition at line 299 of file vformat.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fmt_char()

std::string vformat::detail::fmt_char ( const Spec & s,
va_list & ap )
static

Definition at line 258 of file vformat.hpp.

Here is the caller graph for this function:

◆ fmt_float()

std::string vformat::detail::fmt_float ( const Spec & s,
va_list & ap )
static

Definition at line 241 of file vformat.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fmt_pointer()

std::string vformat::detail::fmt_pointer ( const Spec & s,
va_list & ap )
static

Definition at line 287 of file vformat.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fmt_signed()

std::string vformat::detail::fmt_signed ( const Spec & s,
va_list & ap )
static

Definition at line 171 of file vformat.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fmt_string()

std::string vformat::detail::fmt_string ( const Spec & s,
va_list & ap )
static

Definition at line 269 of file vformat.hpp.

Here is the caller graph for this function:

◆ fmt_unsigned()

std::string vformat::detail::fmt_unsigned ( const Spec & s,
va_list & ap )
static

Definition at line 206 of file vformat.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hint()

int vformat::detail::hint ( const Spec & s)
static

Definition at line 167 of file vformat.hpp.

Here is the caller graph for this function:

◆ parse()

const char * vformat::detail::parse ( const char * f,
Spec & s,
va_list & ap )
static

Definition at line 42 of file vformat.hpp.

Here is the caller graph for this function:

◆ snprintf_into()

template<typename Fill>
std::string vformat::detail::snprintf_into ( int hint,
Fill fill )
static

Definition at line 154 of file vformat.hpp.

Here is the call graph for this function:
Here is the caller graph for this function: