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