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 |
Detailed Description
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.
- See also
- ParameterManager
Constructor & Destructor Documentation
◆ ParameterSerializer()
ParameterSerializer::ParameterSerializer | ( | const std::string & | fn | ) |
◆ ~ParameterSerializer()
|
virtual |
Member Function Documentation
◆ LoadDocument()
|
virtual |
References filename, and ParameterManager::LoadDocument().
Referenced by ParameterManager::LoadDocument().
◆ LoadOrCreateDocument()
|
virtual |
References filename, and ParameterManager::LoadOrCreateDocument().
Referenced by ParameterManager::LoadOrCreateDocument().
◆ SaveDocument()
|
virtual |
References filename, and ParameterManager::SaveDocument().
Referenced by ParameterManager::SaveDocument().
Member Data Documentation
◆ filename
|
protected |
Referenced by ArchReference.ArchReferenceTaskPanel::accept(), ArchReference.ArchReferenceTaskPanel::chooseFile(), addonmanager_macro.Macro::is_installed(), LoadDocument(), LoadOrCreateDocument(), exportDRAWEXE.Drawexporter::process_object(), SaveDocument(), and exportDRAWEXE.Drawexporter::saveSweep().
The documentation for this class was generated from the following files:
- src/Base/Parameter.h
- src/Base/Parameter.cpp