xc
Public Member Functions | List of all members
StandardOutputWrapper Class Reference

Standard output redirection. More...

#include <StandardOutputWrapper.h>

Public Member Functions

void reset (void)
 Fall back to the standard buffers.
 
const StandardStreamWrapper & getErrorStreamWrapper (void) const
 return the stream wrapper for errors.
 
StandardStreamWrapper & getErrorStreamWrapper (void)
 return the stream wrapper for errors.
 
std::ostream & getErrStream (void)
 return the current error stream.
 
const std::string & getErrFileName (void) const
 return the current file name for the error stream.
 
void setErrFileName (const std::string &filename)
 Set the file to use for standard error logging.
 
const StandardStreamWrapper & getLogStreamWrapper (void) const
 return the stream wrapper for logging.
 
StandardStreamWrapper & getLogStreamWrapper (void)
 return the stream wrapper for logging.
 
std::ostream & getLogStream (void)
 return the current log stream.
 
const std::string & getLogFileName (void) const
 return the current file name for the log stream.
 
void setLogFileName (const std::string &filename)
 Set the file to use for standard logging.
 
const StandardStreamWrapper & getOutputStreamWrapper (void) const
 return the stream wrapper for regular output.
 
StandardStreamWrapper & getOutputStreamWrapper (void)
 return the stream wrapper for regular output.
 
std::ostream & getOutputStream (void)
 return the current output stream.
 
const std::string & getOutputFileName (void) const
 return the current file name for the output stream.
 
void setOutputFileName (const std::string &filename)
 Set the file to use for standard output.
 

Detailed Description

Standard output redirection.


The documentation for this class was generated from the following files: