A description of the machine your program is running on and static methods to make inquiries. More...
#include <machine.h>
Static Public Member Functions | |
static MachineInfo | get () |
Get the MachineInfo for the current machine. If an error occurs, the hostname_ and operating_system_ names will be null. If either is null, an error occurred. | |
Public Attributes | |
std::string | hostname_ |
this machine's node name on the network | |
std::string | operating_system_ |
AIX, HP-UX, SunOS, Windows, etc. |
A description of the machine your program is running on and static methods to make inquiries.
Definition at line 42 of file machine.h.
MachineInfo get | ( | ) | [static] |
Get the MachineInfo for the current machine. If an error occurs, the hostname_ and operating_system_ names will be null. If either is null, an error occurred.
Definition at line 46 of file machine.cxx.
std::string hostname_ |
std::string operating_system_ |