Open CASCADE Technology  7.2.0
Public Member Functions

OSD_Host Class Reference

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. More...
 
TCollection_AsciiString SystemVersion ()
 Returns system name and version. More...
 
OSD_SysType SystemId () const
 Returns the system type (UNIX System V, UNIX BSD, MS-DOS...) More...
 
TCollection_AsciiString HostName ()
 Returns host name. More...
 
Standard_Integer AvailableMemory ()
 Returns available memory in Kilobytes. More...
 
TCollection_AsciiString InternetAddress ()
 Returns Internet address of current host. More...
 
OSD_OEMType MachineType ()
 Returns type of current machine. More...
 
Standard_Boolean Failed () const
 Returns TRUE if an error occurs. More...
 
void Reset ()
 Resets error counter to zero. More...
 
void Perror ()
 Raises OSD_Error. More...
 
Standard_Integer Error () const
 Returns error number if 'Failed' is TRUE. More...
 

Detailed Description

Carries information about a Host System version ,host name, nodename ...

Constructor & Destructor Documentation

◆ OSD_Host()

OSD_Host::OSD_Host ( )

Initializes current host by default.

Member Function Documentation

◆ AvailableMemory()

Standard_Integer OSD_Host::AvailableMemory ( )

Returns available memory in Kilobytes.

◆ Error()

Standard_Integer OSD_Host::Error ( ) const

Returns error number if 'Failed' is TRUE.

◆ Failed()

Standard_Boolean OSD_Host::Failed ( ) const

Returns TRUE if an error occurs.

◆ HostName()

TCollection_AsciiString OSD_Host::HostName ( )

Returns host name.

◆ InternetAddress()

TCollection_AsciiString OSD_Host::InternetAddress ( )

Returns Internet address of current host.

◆ MachineType()

OSD_OEMType OSD_Host::MachineType ( )

Returns type of current machine.

◆ Perror()

void OSD_Host::Perror ( )

Raises OSD_Error.

◆ Reset()

void OSD_Host::Reset ( )

Resets error counter to zero.

◆ SystemId()

OSD_SysType OSD_Host::SystemId ( ) const

Returns the system type (UNIX System V, UNIX BSD, MS-DOS...)

◆ SystemVersion()

TCollection_AsciiString OSD_Host::SystemVersion ( )

Returns system name and version.


The documentation for this class was generated from the following file: