|
Gemmi C++ API
|
interface to stb_sprintf: snprintf_z, to_str(float|double) More...
Go to the source code of this file.
Namespaces | |
| namespace | gemmi |
Macros | |
| #define | GEMMI_ATTRIBUTE_FORMAT(fmt, va) |
Functions | |
| GEMMI_DLL int | gemmi::snprintf_z (char *buf, int count, char const *fmt,...) GEMMI_ATTRIBUTE_FORMAT(3 |
| stb_snprintf in gemmi namespace - like snprintf, but ignores locale and is always zero-terminated (hence _z). | |
| GEMMI_DLL int GEMMI_DLL int | gemmi::sprintf_z (char *buf, char const *fmt,...) GEMMI_ATTRIBUTE_FORMAT(2 |
| stb_sprintf in gemmi namespace | |
| GEMMI_DLL int GEMMI_DLL int std::string | gemmi::to_str (double d) |
| std::string | gemmi::to_str (float d) |
| template<int Prec> | |
| std::string | gemmi::to_str_prec (double d) |
| char * | gemmi::to_chars_z (char *first, char *last, int value) |
| zero-terminated to_chars() | |
| char * | gemmi::to_chars_z (char *first, char *last, size_t value) |
interface to stb_sprintf: snprintf_z, to_str(float|double)
Definition in file sprintf.hpp.
| #define GEMMI_ATTRIBUTE_FORMAT | ( | fmt, | |
| va | |||
| ) |
Definition at line 27 of file sprintf.hpp.