The file pendant of the Param class used to load and store the param datastructure as paramXML. More...
#include <OpenMS/FORMAT/ParamXMLFile.h>
Public Member Functions | |
| ParamXMLFile () | |
| Constructor. | |
| void | store (const String &filename, const Param ¶m) const |
| Write XML file. | |
| void | writeXMLToStream (std::ostream *os_ptr, const Param ¶m) const |
| Write XML to output stream. | |
| void | load (const String &filename, Param ¶m) |
| Read XML file. | |
The file pendant of the Param class used to load and store the param datastructure as paramXML.
| ParamXMLFile | ( | ) |
Constructor.
Read XML file.
| filename | The file from where to read the Param object. | |
| param | The param object where the read data should be stored. |
| Exception::FileNotFound | is thrown if the file could not be found | |
| Exception::ParseError | is thrown if an error occurs during parsing |
Referenced by TOPPViewBase::loadPreferences(), TOPPASBase::loadPreferences(), main(), and INIFileEditorWindow::openFile().
Write XML file.
| filename | The filename where the param data structure should be stored. | |
| param | The Param class that should be stored in the file. |
| Exception::UnableToCreateFile | is thrown if the file could not be created |
Referenced by INIFileEditorWindow::saveFile(), INIFileEditorWindow::saveFileAs(), TOPPViewBase::savePreferences(), and TOPPASBase::savePreferences().
| OpenMS / TOPP release 1.10.0 | Documentation generated on Thu Mar 7 2013 09:42:54 using doxygen 1.7.1 |