|
hgl 0.5.25
A compiler/interpreter suite for developing images
|
Miscellaneous utility functions. More...
#include "util.h"
Static Public Member Functions | |
| static std::string const * | getConfigValue (const std::string &key) |
| Gets a value from the configuration file. More... | |
| static void | logWarningCount () |
| Logs the amount of WARNINGs already issued. | |
| static std::string & | suffixAppender (const char *suffix, std::string &oFile) |
| Appends a suffix to a filename. More... | |
Miscellaneous utility functions.
|
static |
Gets a value from the configuration file.
| key | the key to search the config value for |
NULL if there is no such value for key
|
static |
Appends a suffix to a filename.
The suffix is appended to ofile if it hasn't already that suffix. The comparision if ofile already has suffix appended is done case insensitively.
| [in] | suffix | the suffix to append |
| [in,out] | oFile | the filename to append suffix to |
oFile with suffix appended
1.8.5