Format output in a similar way to the phaser Output class, but just return as a string. More...
#include <string_util.hh>
Static Public Member Functions | |
| static std::string | logTab (const int &tab, const std::string &text) |
| just add leading tabs to string and newline if not there already | |
| static std::string | logTabPrintf (const int &tab, const char *formattext,...) |
| format using sstringf | |
| static std::string | logWarning (const std::string &text) |
| just add newline if not there already | |
Format output in a similar way to the phaser Output class, but just return as a string.
| std::string FormatOutput::logTab | ( | const int & | tab, | |
| const std::string & | text | |||
| ) | [static] |
just add leading tabs to string and newline if not there already
usually redundant
| std::string FormatOutput::logTabPrintf | ( | const int & | tab, | |
| const char * | formattext, | |||
| ... | ||||
| ) | [static] |
format using sstringf
format using vsstringf
1.6.3