$extrastylesheet
|
Dakota
Version 6.2
|
Public Member Functions | |
| RestartWriter () | |
| optional default ctor allowing a non-outputting RestartWriter | |
| RestartWriter (const String &write_restart_filename) | |
| typical ctor taking a filename | |
| const String & | filename () |
| output filename for this writer | |
| 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 | |
Private Member Functions | |
| RestartWriter (const RestartWriter &) | |
| copy constructor is disallowed due to file stream | |
| const RestartWriter & | operator= (const RestartWriter &) |
| assignment is disallowed due to file stream | |
Private Attributes | |
| String | restartOutputFilename |
| the name of the restart output file | |
| std::ofstream | restartOutputFS |
| Binary stream to which restart data is written. | |
|
boost::scoped_ptr < boost::archive::binary_oarchive > | restartOutputArchive |
| Binary output archive to which data is written (pointer since no default ctor for oarchive and may not be initialized);. | |
Component for writing restart files. Creation and destruction of archive and associated stream are managed here.
1.7.6.1