Functions | |
void | libthrowable::init (const std::ostream *p_cout=&std::cout, const std::ostream *p_cerr=&std::cerr) throw () |
Informs the library about std::cout and std::cerr as you see them - or about your own equivalent objects. | |
void | libthrowable::registerAsStreamsToStdout (const std::vector< const std::ostream * > &streams, bool append=true) throw () |
Informs the library that the given streams write to stdout. | |
void | libthrowable::registerAsStreamToStdout (const std::ostream *stream, bool append=true) throw () |
Convenience function. | |
void | libthrowable::registerAsStreamsToStderr (const std::vector< const std::ostream * > &streams, bool append=true) throw () |
Informs the library that the given streams write to stderr. | |
void | libthrowable::registerAsStreamToSterr (const std::ostream *stream, bool append=true) throw () |
Convenience function. |
void libthrowable::init | ( | const std::ostream * | p_cout = &std::cout , |
|
const std::ostream * | p_cerr = &std::cerr | |||
) | throw () |
Informs the library about std::cout and std::cerr as you see them - or about your own equivalent objects.
[in] | p_cout | A pointer to the ostream object you use for writing to stdout. |
[in] | p_cerr | A pointer to the ostream object you use for writing to stderr. |
void libthrowable::registerAsStreamsToStderr | ( | const std::vector< const std::ostream * > & | streams, | |
bool | append = true | |||
) | throw () |
Informs the library that the given streams write to stderr.
[in] | streams | The streams you want to register. |
[in] | append | Set to false iff you want to remove the effect of all prior calls. |
void libthrowable::registerAsStreamsToStdout | ( | const std::vector< const std::ostream * > & | streams, | |
bool | append = true | |||
) | throw () |
Informs the library that the given streams write to stdout.
[in] | streams | The streams you want to register. |
[in] | append | Set to false iff you want to remove the effect of all prior calls. |
void libthrowable::registerAsStreamToStdout | ( | const std::ostream * | stream, | |
bool | append = true | |||
) | throw () |
Convenience function.
void libthrowable::registerAsStreamToSterr | ( | const std::ostream * | stream, | |
bool | append = true | |||
) | throw () |
Convenience function.