#include <exenv.h>
Static Public Methods | |
| void | init (int &argcref, char **&argvref) |
| Set the argument count and vector. | |
| int | initialized () |
| Return nonzero if ExEnv has been initialized. | |
| int& | argc () |
| Return an reference to the argument count. | |
| char**& | argv () |
| Return an reference to the argument vector. | |
| const char* | program_name () |
| Return argv[0] with the path removed. | |
| const char* | hostname () |
| Return the host name. | |
| const char* | username () |
| void | set_out (std::ostream *o) |
| std::ostream& | out () |
| std::ostream& | err () |
| unsigned long | memory () |
| The amount of memory on this node. | |
| int | nproc () |
| The number of processors on this node. | |
Static Protected Attributes | |
| int | initialized_ |
| int* | argc_ |
| char*** | argv_ |
| char | hostname_ [256] |
| char | username_ [9] |
| unsigned long | mem_ |
| int | nproc_ |
| std::ostream* | out_ |