|
SatDump 2.0.0-alpha-520736c72
|
String formatting utils. More...
#include <sstream>#include <vector>Go to the source code of this file.
Functions | |
| template<typename T> | |
| std::string | satdump::to_string_with_precision (const T a_value, const int n=6) |
| Format a number to string with a specific float precision. | |
| template<typename... T> | |
| std::string | satdump::svformat (const char *fmt, T &&...args) |
| Format a std::string with a standard printf formatting pattern. | |
String formatting utils.
| std::string satdump::svformat | ( | const char * | fmt, |
| T &&... | args ) |
Format a std::string with a standard printf formatting pattern.
| fmt | formatting string |
| args | arguments |
| std::string satdump::to_string_with_precision | ( | const T | a_value, |
| const int | n = 6 ) |
Format a number to string with a specific float precision.
| a_value | the number to format |
| n | precision to use |