List of all members.
Static Public Member Functions |
static bool | getDebug () |
static void | setDebug (bool tf) |
static char * | getline (FILE *fp, char *line, long lineMaxSize) |
static char * | getline (char *line, long lineMaxSize) |
static void | p (char *fmt,...) |
static void | p (char const *fmt,...) |
static void | pn (char *fmt,...) |
static void | pn (const char *fmt,...) |
static void | e (const char *fmt,...) |
static void | err (const char *fmt, va_list ap) |
static void | en (const char *fmt,...) |
static void | en (const std::string &s) |
static void | errorOut (const char *file, const int line, const char *fmt,...) |
static void | errn (const char *fmt, va_list ap) |
static void | dn (const char *file, const int line, const char *ufmt,...) |
static char * | sn (const char *file, const int line, const char *ufmt,...) |
static void | initId (int pid) |
static int | getId () |
static void | setOut (FILE *out) |
static void | setErr (FILE *err) |
static void | setIn (FILE *in) |
static FILE * | out () |
static FILE * | err () |
static FILE * | in () |
static FILE * | getOut () |
static FILE * | getErr () |
static FILE * | getIn () |
static void | testMacros () |
Static Private Attributes |
static bool | debug |
static FILE * | _out |
static FILE * | _in |
static FILE * | _err |
Member Function Documentation
static char* IO::getline |
( |
FILE * |
fp, |
|
|
char * |
line, |
|
|
long |
lineMaxSize |
|
) |
| [static] |
fgets wrapper, for whatever reason.
static char* IO::getline |
( |
char * |
line, |
|
|
long |
lineMaxSize |
|
) |
| [static] |
fgets wrapper, for whatever reason, that uses _in.
static void IO::p |
( |
char * |
fmt, |
|
|
|
... |
|
) |
| [static] |
Output a string on out device ... ala printf
static void IO::pn |
( |
char * |
fmt, |
|
|
|
... |
|
) |
| [static] |
Output a string with
on out device ... ala printf
static void IO::e |
( |
const char * |
fmt, |
|
|
|
... |
|
) |
| [static] |
Output a string on err device ... ala printf
static void IO::err |
( |
const char * |
fmt, |
|
|
va_list |
ap |
|
) |
| [static] |
Output a string on err device ... ala printf
static void IO::en |
( |
const char * |
fmt, |
|
|
|
... |
|
) |
| [static] |
Output a string with
on err device ... ala printf
static void IO::errorOut |
( |
const char * |
file, |
|
|
const int |
line, |
|
|
const char * |
fmt, |
|
|
|
... |
|
) |
| [static] |
Same as en but takes a File and Line argument.
static void IO::errn |
( |
const char * |
fmt, |
|
|
va_list |
ap |
|
) |
| [static] |
hack around some compiler insanities. Output a string with
on err device ... ala printf
static void IO::dn |
( |
const char * |
file, |
|
|
const int |
line, |
|
|
const char * |
ufmt, |
|
|
|
... |
|
) |
| [static] |
Output a debug string with
on err device.
static char* IO::sn |
( |
const char * |
file, |
|
|
const int |
line, |
|
|
const char * |
ufmt, |
|
|
|
... |
|
) |
| [static] |
Output a debug string with
on err device.
Call with mpi rank or pid (other than -1) to add rank at the END of printed newlines.
Return pid from last initId call, or -1 if never set
File pointer redirections
File pointer acquisition, this time more nicely
Member Data Documentation
These should be private, and for some reason aren't.
The documentation for this class was generated from the following file: