31 #ifndef __CLAW_SYSTEM_INFO_WIN32_HPP__ 32 #define __CLAW_SYSTEM_INFO_WIN32HPP__ 66 template <
typename Sequence>
95 char* value = getenv(var.c_str());
107 #endif // __CLAW_SYSTEM_INFO_WIN32_HPP__ static void get_path(Sequence &path)
Get system's paths.
static std::string get_user_name()
Get the name of the user (the name used for the connection).
static std::string get_host_name()
Get the name of our host.
static std::string get_user_directory()
Get the path of the user's personnal directory.
static std::string get_temporary_directory()
Get the path of the directory used by the system to save temporary files.
This is the main namespace.
static std::string get_environment(const std::string &var)
Get an environment variable.