Claw
1.7.3
|
A class to get some informations about the system in which your program runs. More...
#include <system_info_unix.hpp>
Static Public Member Functions | |
static std::string | get_user_name () |
Get the name of the user (the name used for the connection). | |
static std::string | get_user_directory () |
Get the path of the user's personnal directory. | |
template<typename Sequence > | |
static void | get_path (Sequence &path) |
Get system's paths. | |
static std::string | get_host_name () |
Get the name of out host. | |
static std::string | get_temporary_directory () |
Get the path of the directory used by the system to save temporary files. | |
static std::string | get_environment (const std::string &var) |
Get an environment variable. | |
static std::string | get_user_name () |
Get the name of the user (the name used for the connection). | |
static std::string | get_user_directory () |
Get the path of the user's personnal directory. | |
template<typename Sequence > | |
static void | get_path (Sequence &path) |
Get system's paths. | |
static std::string | get_host_name () |
Get the name of our host. | |
static std::string | get_temporary_directory () |
Get the path of the directory used by the system to save temporary files. | |
static std::string | get_environment (const std::string &var) |
Get an environment variable. |
A class to get some informations about the system in which your program runs.
Definition at line 44 of file system_info_unix.hpp.
|
inlinestatic |
Get an environment variable.
var | The name of the variable to get. |
Definition at line 99 of file system_info_win32.hpp.
|
inlinestatic |
Get an environment variable.
var | The name of the variable to get. |
Definition at line 104 of file system_info_unix.hpp.
Referenced by get_host_name(), get_temporary_directory(), get_user_directory(), and get_user_name().