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

LocStaticInfo.hpp

Go to the documentation of this file.
00001 
00002 
00003 #ifndef LocStaticInfo_HPP
00004 #define LocStaticInfo_HPP
00005 
00006 
00007 #include <string>
00008 
00009 using namespace std;
00010 
00011 
00029   class LocStaticInfo{
00030 
00031     private:
00032 
00033      string hostName;        
00034      string osName;
00035      string osVersion;
00036      string processorName;
00037      int processorMhz;
00038      long totalRAM;
00039      long totalSwap;
00040 
00041 
00042     public:
00043 
00048       LocStaticInfo();
00049 
00053       const char * getHostName() const{return hostName.c_str(); }
00054 
00058       const char * getOsName() const{return osName.c_str(); }
00059 
00063       const char * getOsVersion() const{return osVersion.c_str(); }
00064 
00068       const char * getProcessorName() const{return processorName.c_str(); }
00069 
00073       int getProcessorMhz() const{return processorMhz; }
00074 
00078       long getTotalRAM() const{return totalRAM; }
00079 
00083       long getTotalSwap() const{return totalSwap; }
00084 
00085   };//class
00086 
00087 #endif//LocStaticInfo_HPP
00088 

Generated on Mon Sep 6 16:12:48 2004 by doxygen 1.3.3