Starshatter_Open
Open source Starshatter engine
|
Go to the source code of this file.
Functions | |
void | FormatNumber (char *txt, double n) |
void | FormatNumberExp (char *txt, double n) |
void | FormatTime (char *txt, double seconds) |
void | FormatTimeOfDay (char *txt, double seconds) |
void | FormatDayTime (char *txt, double seconds, bool short_format=false) |
void | FormatDay (char *txt, double seconds) |
void | FormatPoint (char *txt, const Point &p) |
Text | FormatTimeString (int utc=0) |
const char * | SafeString (const char *s) |
const char * | SafeQuotes (const char *s) |
Text | FormatTextReplace (const char *msg, const char *tgt, const char *val) |
Text | FormatTextEscape (const char *msg) |
void FormatDay | ( | char * | txt, |
double | seconds | ||
) |
Definition at line 126 of file FormatUtil.cpp.
void FormatDayTime | ( | char * | txt, |
double | seconds, | ||
bool | short_format = false |
||
) |
Definition at line 95 of file FormatUtil.cpp.
void FormatNumber | ( | char * | txt, |
double | n | ||
) |
Definition at line 19 of file FormatUtil.cpp.
void FormatNumberExp | ( | char * | txt, |
double | n | ||
) |
Definition at line 44 of file FormatUtil.cpp.
void FormatPoint | ( | char * | txt, |
const Point & | p | ||
) |
Definition at line 142 of file FormatUtil.cpp.
Text FormatTextEscape | ( | const char * | msg | ) |
Definition at line 296 of file FormatUtil.cpp.
Text FormatTextReplace | ( | const char * | msg, |
const char * | tgt, | ||
const char * | val | ||
) |
Definition at line 256 of file FormatUtil.cpp.
void FormatTime | ( | char * | txt, |
double | seconds | ||
) |
Definition at line 61 of file FormatUtil.cpp.
void FormatTimeOfDay | ( | char * | txt, |
double | seconds | ||
) |
Definition at line 77 of file FormatUtil.cpp.
Text FormatTimeString | ( | int | utc = 0 | ) |
Definition at line 157 of file FormatUtil.cpp.
const char* SafeQuotes | ( | const char * | s | ) |
Definition at line 230 of file FormatUtil.cpp.
const char* SafeString | ( | const char * | s | ) |
Definition at line 182 of file FormatUtil.cpp.