Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

MCSystem Class Reference

Class which provides system (platform) related information. More...

#include <mcllib/MCSystem.h>

Inheritance diagram for MCSystem:

MCBase List of all members.

Public Member Functions

MCString getArchitecture () const
 Get the hardware architecture of the system.
mcint32 getCPUCount () const
 Get the CPU count of the system.
char getFileSeparator () const
 Get the file separator character for the system.
MCString getHostName () const
 Get the host name of the system.
mcint32 getPageSize () const
 Get the page size in bytes of the system.
MCString getRelease () const
 Get the operating system release of the system.
MCString getSystemName () const
 Get the operating system name of the system.
 MCSystem (const MCString &hostName)
 Obtain information about another host.
 MCSystem ()
 Default constructor.

Detailed Description

Class which provides system (platform) related information.


Constructor & Destructor Documentation

MCSystem  ) 
 

Default constructor.

Obtain the information about the current system

MCSystem const MCString hostName  ) 
 

Obtain information about another host.

Parameters:
hostName the name of the host for which information is required. If system information cannot be obtained from the specified host an exception is thrown.
Todo:
Remote system interrogation is not implemented


Generated on Wed Jan 12 19:05:50 2005 for MCLLIB by  doxygen 1.3.9.1