00001 #pragma ident "$Id: SysInfo.hpp 2967 2011-11-05 07:47:25Z yanweignss $" 00002 00008 #ifndef GPSTK_SYSINFO_HPP 00009 #define GPSTK_SYSINFO_HPP 00010 00011 //============================================================================ 00012 // 00013 // This file is part of GPSTk, the GPS Toolkit. 00014 // 00015 // The GPSTk is free software; you can redistribute it and/or modify 00016 // it under the terms of the GNU Lesser General Public License as published 00017 // by the Free Software Foundation; either version 2.1 of the License, or 00018 // any later version. 00019 // 00020 // The GPSTk is distributed in the hope that it will be useful, 00021 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00022 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00023 // GNU Lesser General Public License for more details. 00024 // 00025 // You should have received a copy of the GNU Lesser General Public 00026 // License along with GPSTk; if not, write to the Free Software Foundation, 00027 // Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00028 // 00029 // Wei Yan - Chinese Academy of Sciences . 2011 00030 // 00031 //============================================================================ 00032 00033 #include <string> 00034 00035 namespace gpstk 00036 { 00040 class SysInfo 00041 { 00042 public: 00043 static std::string osName(); 00044 00045 static std::string osArchitecture(); 00046 00047 00048 protected: 00049 00050 SysInfo(){} 00051 virtual ~SysInfo(){} 00052 00053 }; // End of class 'SysInfo' 00054 00055 } // End of namespace gpstk 00056 00057 00058 #endif //GPSTK_SYSINFO_HPP 00059
1.3.9.1