.TH "sc::ExEnv" 3 "Sun Oct 4 2020" "Version 2.3.1" "MPQC" \" -*- nroff -*- .ad l .nh .SH NAME sc::ExEnv \- The \fBExEnv\fP class is used to find out about how the program is being run\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Static Public Member Functions" .in +1c .ti -1c .RI "static void \fBinit\fP (int &argcref, char **&argvref)" .br .RI "Set the argument count and vector\&. " .ti -1c .RI "static int \fBinitialized\fP ()" .br .RI "Return nonzero if \fBExEnv\fP has been initialized\&. " .ti -1c .RI "static int & \fBargc\fP ()" .br .RI "Return an reference to the argument count\&. " .ti -1c .RI "static char **& \fBargv\fP ()" .br .RI "Return an reference to the argument vector\&. " .ti -1c .RI "static const char * \fBprogram_name\fP ()" .br .RI "Return argv[0] with the path removed\&. " .ti -1c .RI "static const char * \fBhostname\fP ()" .br .RI "Return the host name\&. " .ti -1c .RI "static const char * \fBusername\fP ()" .br .RI "Return the user name\&. " .ti -1c .RI "static void \fBset_out\fP (std::ostream *o)" .br .ti -1c .RI "static std::ostream & \fBoutn\fP ()" .br .RI "Return an ostream that writes from all nodes\&. " .ti -1c .RI "static std::ostream & \fBerrn\fP ()" .br .RI "Return an ostream for error messages that writes from all nodes\&. " .ti -1c .RI "static std::ostream & \fBout0\fP ()" .br .RI "Return an ostream that writes from node 0\&. " .ti -1c .RI "static std::ostream & \fBerr0\fP ()" .br .RI "Return an ostream for error messages that writes from node 0\&. " .ti -1c .RI "static size_t \fBmemory\fP ()" .br .RI "The amount of memory on this node\&. " .ti -1c .RI "static int \fBnproc\fP ()" .br .RI "The number of processors on this node\&. " .in -1c .SS "Static Protected Attributes" .in +1c .ti -1c .RI "static int \fBinitialized_\fP" .br .ti -1c .RI "static int * \fBargc_\fP" .br .ti -1c .RI "static char *** \fBargv_\fP" .br .ti -1c .RI "static char \fBhostname_\fP [256]" .br .ti -1c .RI "static char \fBusername_\fP [9]" .br .ti -1c .RI "static size_t \fBmem_\fP" .br .ti -1c .RI "static int \fBnproc_\fP" .br .ti -1c .RI "static std::ostream * \fBout_\fP" .br .ti -1c .RI "static std::ostream * \fBnullstream_\fP" .br .in -1c .SH "Detailed Description" .PP The \fBExEnv\fP class is used to find out about how the program is being run\&. .SH "Author" .PP Generated automatically by Doxygen for MPQC from the source code\&.