Contains possibly useful functions, that don't fit anywhere else.
|
static std::wstring | widenString (const std::string &s) |
| Convert a string to a wstring. More...
|
|
static std::string | narrowString (const std::wstring &ws) |
| Convert a wstring to a string. More...
|
|
static std::string | downcaseString (const std::string &s) |
| Convert a string to lower case. More...
|
|
static std::string | upcaseString (const std::string &s) |
| Convert a string to upper case. More...
|
|
static const std::string & | getExecutablePath () |
| Get the path of the executable that is currently running. More...
|
|
static const std::string & | getExecutableDirectory () |
| Get the path to the directory of the executable that is currently running. More...
|
|
static const std::string & | getUserLocalDirectory () |
| Get the path to the current user local config directory. More...
|
|
static const std::string & | getSofaUserLocalDirectory () |
| Get the path to the SOFA directory into the current user local config directory. More...
|
|
static const std::string & | getSofaPathPrefix () |
| Get the path to the "root" path of Sofa (i.e. the build directory or the installation prefix). More...
|
|
static const std::string | getSofaPathTo (const std::string &pathFromBuildDir) |
| Construct a path based on the build dir path of Sofa. More...
|
|
static std::map< std::string, std::string > | readBasicIniFile (const std::string &path) |
| Read a file written in a very basic ini-like format. More...
|
|