MachineInfo Struct Reference

A description of the machine your program is running on and static methods to make inquiries. More...

#include <machine.h>

Collaboration diagram for MachineInfo:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

A description of the machine your program is running on and static methods to make inquiries.

Definition at line 42 of file machine.h.


Member Function Documentation

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.

Here is the caller graph for this function:


Member Data Documentation

std::string hostname_

this machine's node name on the network

Definition at line 48 of file machine.h.

std::string operating_system_

AIX, HP-UX, SunOS, Windows, etc.

Definition at line 46 of file machine.h.


The documentation for this struct was generated from the following files:
Generated on Wed Feb 29 22:56:08 2012 for CXXUtilities by  doxygen 1.6.3