|
Pakman
|
#include <OutputStreamHandler.h>
Public Member Functions | |
| std::ostream & | getOutputStream () |
Static Public Member Functions | |
| static OutputStreamHandler * | instance () |
| static void | destroy () |
A singleton class providing access to the Pakman output stream.
OutputStreamHandler is a class that returns an instance to the Pakman output stream. By default, the output stream is the standard output. However, this default behaviour can be overriden by specifying an output file using the command-line option --output-file.
Definition at line 15 of file OutputStreamHandler.h.
|
static |
Close file if a filename was given.
Definition at line 21 of file OutputStreamHandler.cc.
| std::ostream & OutputStreamHandler::getOutputStream | ( | ) |
Definition at line 31 of file OutputStreamHandler.cc.
|
static |
Definition at line 12 of file OutputStreamHandler.cc.