Pioneer
Loading...
Searching...
No Matches
Classes | Functions
StringF.cpp File Reference
#include "StringF.h"
#include <iostream>
#include <sstream>
#include <cassert>
#include <climits>
#include <cstring>
Include dependency graph for StringF.cpp:

Classes

struct  PrintfSpec
 

Functions

void init_iosflags (std::ostream &ss, const PrintfSpec &spec)
 
std::string to_string (int64_t value, const FormatSpec &fmt)
 
std::string to_string (uint64_t value, const FormatSpec &fmt)
 
std::string to_string (double value, const FormatSpec &fmt)
 
std::string to_string (const char *value, const FormatSpec &fmt)
 
std::string to_string (const std::string &value, const FormatSpec &fmt)
 
std::string string_format (const char *fmt, int numargs, FormatArg const *const args[])
 

Function Documentation

◆ init_iosflags()

void init_iosflags ( std::ostream &  ss,
const PrintfSpec spec 
)

◆ string_format()

std::string string_format ( const char *  fmt,
int  numargs,
FormatArg const *const  args[] 
)
Here is the call graph for this function:

◆ to_string() [1/5]

std::string to_string ( const char *  value,
const FormatSpec fmt 
)
Here is the call graph for this function:

◆ to_string() [2/5]

std::string to_string ( const std::string &  value,
const FormatSpec fmt 
)
Here is the call graph for this function:

◆ to_string() [3/5]

std::string to_string ( double  value,
const FormatSpec fmt 
)
Here is the call graph for this function:

◆ to_string() [4/5]

std::string to_string ( int64_t  value,
const FormatSpec fmt 
)
Here is the call graph for this function:

◆ to_string() [5/5]

std::string to_string ( uint64_t  value,
const FormatSpec fmt 
)
Here is the call graph for this function: