www.mooseframework.org
SystemInfo.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* DO NOT MODIFY THIS HEADER */
3 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
4 /* */
5 /* (c) 2010 Battelle Energy Alliance, LLC */
6 /* ALL RIGHTS RESERVED */
7 /* */
8 /* Prepared by Battelle Energy Alliance, LLC */
9 /* Under Contract No. DE-AC07-05ID14517 */
10 /* With the U. S. Department of Energy */
11 /* */
12 /* See COPYRIGHT for full restrictions */
13 /****************************************************************/
14 
15 #ifndef SYSTEMINFO_H
16 #define SYSTEMINFO_H
17 
18 #include <string>
19 
21 {
22 public:
23  SystemInfo(int argc, char * argv[]);
24 
25  std::string getInfo() const;
26  std::string getTimeStamp(time_t * time_stamp = NULL) const;
27 
28  int argc() const { return _argc; };
29  char ** argv() const { return _argv; };
30 
31 protected:
32  int _argc;
33  char ** _argv;
34 };
35 
36 #endif // SYSTEMINFO_H
SystemInfo(int argc, char *argv[])
Definition: SystemInfo.C:29
std::string getTimeStamp(time_t *time_stamp=NULL) const
Definition: SystemInfo.C:63
char ** _argv
Definition: SystemInfo.h:33
char ** argv() const
Definition: SystemInfo.h:29
std::string getInfo() const
Definition: SystemInfo.C:32
int argc() const
Definition: SystemInfo.h:28