The parameter manager class This class manages a parameter XML document. More...
#include <Parameter.h>
Public Member Functions | |
void | CheckDocument () const |
void | CreateDocument (void) |
int | LoadDocument (const char *sFileName) |
bool | LoadOrCreateDocument (const char *sFileName) |
ParameterManager () | |
Defauld construction Does not much. | |
void | SaveDocument (const char *sFileName) const |
~ParameterManager () | |
Destruction complete destruction of the object. | |
Static Public Member Functions | |
static void | Init (void) |
The parameter manager class This class manages a parameter XML document.
Does loding, saving and handling the DOM document.
Definition at line 261 of file Parameter.h.
ParameterManager::ParameterManager | ( | ) |
Defauld construction Does not much.
Definition at line 973 of file Parameter.cpp.
References Init().
ParameterManager::~ParameterManager | ( | ) |
Destruction complete destruction of the object.
Definition at line 1036 of file Parameter.cpp.
void ParameterManager::CheckDocument | ( | ) | const |
Definition at line 1344 of file Parameter.cpp.
void ParameterManager::CreateDocument | ( | void | ) |
Definition at line 1325 of file Parameter.cpp.
References ParameterGrp::_pGroupNode.
Referenced by ParameterGrp::exportTo(), and LoadOrCreateDocument().
void ParameterManager::Init | ( | void | ) | [static] |
Reimplemented from ParameterGrp.
Definition at line 1040 of file Parameter.cpp.
Referenced by ParameterManager().
int ParameterManager::LoadDocument | ( | const char * | sFileName | ) |
Definition at line 1085 of file Parameter.cpp.
References ParameterGrp::_pGroupNode, DrawingExample::file, Base::FileInfo::filePath(), ParameterGrp::FindElement(), gValScheme, and Base::FileInfo::toStdWString().
Referenced by ParameterGrp::importFrom(), ParameterGrp::insert(), and LoadOrCreateDocument().
bool ParameterManager::LoadOrCreateDocument | ( | const char * | sFileName | ) |
Definition at line 1072 of file Parameter.cpp.
References CreateDocument(), Base::FileInfo::exists(), DrawingExample::file, and LoadDocument().
void ParameterManager::SaveDocument | ( | const char * | sFileName | ) | const |
Definition at line 1153 of file Parameter.cpp.
References DrawingExample::file, Base::FileInfo::filePath(), and Base::FileInfo::toStdWString().
Referenced by App::Application::destruct(), ParameterGrp::exportTo(), and Gui::Dialog::DlgParameterImp::on_buttonSaveToDisk_clicked().