Dakota
Version 6.21
Explore and Predict with Confidence
|
Public Member Functions | |
OutputWriter (std::ostream *output_stream) | |
ostream constructor; used to construct a writer to existing stream, e.g., std::cout | |
OutputWriter (const String &output_filename) | |
file redirect constructor; opens an overwriting file stream to given name | |
const String & | filename () const |
the (possibly empty) file name for this stream | |
std::ostream * | output_stream () |
a pointer to the stream, either cout/cerr or a file | |
Protected Attributes | |
String | outputFilename |
the name of the output file (empty when constructed from pointer) | |
std::ofstream | outputFS |
file output stream for console text; only open if string non-empty | |
std::ostream * | outputStream |
pointer to the stream for this writer | |
Component to manage a redirected output or error stream