Open CASCADE Technology
6.5.4
|
Carries information about a Host
#include <OSD_Host.hxx>
Public Member Functions | |
DEFINE_STANDARD_ALLOC | OSD_Host () |
Initializes current host by default. | |
TCollection_AsciiString | SystemVersion () |
Returns system name and version | |
OSD_SysType | SystemId () const |
Returns the system type (UNIX System V, UNIX BSD, MS-DOS...) | |
TCollection_AsciiString | HostName () |
Returns host name. | |
Standard_Integer | AvailableMemory () |
Returns available memory in Kilobytes. | |
TCollection_AsciiString | InternetAddress () |
Returns Internet address of current host. | |
OSD_OEMType | MachineType () |
Returns type of current machine. | |
Standard_Boolean | Failed () const |
Returns TRUE if an error occurs | |
void | Reset () |
Resets error counter to zero | |
void | Perror () |
Raises OSD_Error | |
Standard_Integer | Error () const |
Returns error number if 'Failed' is TRUE. |
Standard_Integer OSD_Host::Error | ( | ) | const |
Standard_Boolean OSD_Host::Failed | ( | ) | const |
void OSD_Host::Perror | ( | ) |
void OSD_Host::Reset | ( | ) |
OSD_SysType OSD_Host::SystemId | ( | ) | const |