![]() |
00001 // Copyright (C) 2002 Johan Hoffman and Anders Logg. 00002 // Licensed under the GNU GPL Version 2. 00003 00004 #ifndef __SYSTEM_H 00005 #define __SYSTEM_H 00006 00007 #include <dolfin/constants.h> 00008 00009 namespace dolfin { 00010 00011 class System { 00012 public: 00013 00014 System(); 00015 ~System(); 00016 00017 void update(); 00018 00019 const char* user() const; 00020 const char* date() const; 00021 const char* host() const; 00022 const char* mach() const; 00023 const char* name() const; 00024 const char* vers() const; 00025 00026 private: 00027 00028 char _user[DOLFIN_LINELENGTH]; 00029 char _date[DOLFIN_LINELENGTH]; 00030 char _host[DOLFIN_LINELENGTH]; 00031 char _mach[DOLFIN_LINELENGTH]; 00032 char _name[DOLFIN_LINELENGTH]; 00033 char _vers[DOLFIN_LINELENGTH]; 00034 00035 }; 00036 00037 } 00038 00039 #endif
Documentation automatically generated with Doxygen on 10 Sep 2004.