The parameter serializer class This is a helper class to serialize a parameter XML document. More...
#include <Parameter.h>
Public Member Functions | |
virtual int | LoadDocument (ParameterManager &) |
virtual bool | LoadOrCreateDocument (ParameterManager &) |
ParameterSerializer (const std::string &fn) | |
virtual void | SaveDocument (const ParameterManager &) |
virtual | ~ParameterSerializer () |
Protected Attributes | |
std::string | filename |
The parameter serializer class This is a helper class to serialize a parameter XML document.
Does loading and saving the DOM document from and to files. In sub-classes the load and saving of XML documents can be customized.
ParameterSerializer::ParameterSerializer | ( | const std::string & | fn | ) |
|
virtual |
|
virtual |
References filename, and ParameterManager::LoadDocument().
Referenced by ParameterManager::LoadDocument().
|
virtual |
References filename, and ParameterManager::LoadOrCreateDocument().
Referenced by ParameterManager::LoadOrCreateDocument().
|
virtual |
References filename, and ParameterManager::SaveDocument().
Referenced by ParameterManager::SaveDocument().
|
protected |
Referenced by ArchReference.ArchReferenceTaskPanel::accept(), ArchReference.ArchReferenceTaskPanel::chooseFile(), addonmanager_macro.Macro::install(), addonmanager_macro.Macro::is_installed(), LoadDocument(), LoadOrCreateDocument(), exportDRAWEXE.Drawexporter::process_object(), addonmanager_macro.Macro::remove(), SaveDocument(), and exportDRAWEXE.Drawexporter::saveSweep().