|
|
| RestartWriter () |
| | optional default ctor allowing a non-outputting RestartWriter
|
| |
|
| RestartWriter (const String &write_restart_filename, bool write_version=true) |
| | typical ctor taking a filename; this class encapsulates the output stream
|
| |
|
| RestartWriter (const String &write_restart_filename, const RestartVersion &rst_version) |
| | alternate ctor taking non-default version info, helpful for testing
|
| |
|
| RestartWriter (std::ostream &write_restart_stream) |
| | alternate ctor taking a stream, helpful for testing; assumes client manages the output stream
|
| |
|
const String & | filename () |
| | output filename for this writer
|
| |
|
template<typename T > |
| void | operator& (const T &data_out) |
| | serialize the passed data_out to the restart file
|
| |
|
void | append_prp (const ParamResponsePair &prp_in) |
| | add the passed pair to the restart file
|
| |
|
void | flush () |
| | flush the restart stream so we have a complete restart record should Dakota abort
|
| |
Component for writing restart files. Creation and destruction of archive and associated stream are managed here.