#include <configuration.h>
Public Methods | |
Configuration () | |
virtual | ~Configuration () |
void | LoadConfigFromFile () |
void | SaveFormulaToFile () |
void | SaveSimulationToFile () |
void | SaveTempToFile () |
void | SetAtomShape (Style_t s) |
void | SetAtomSize (Size_t s) |
void | SetAtomColor (Color_t c) |
void | SetAtomStyle (Style_t, Size_t, Color_t) |
void | SetDefectShape (Style_t s) |
void | SetDefectSize (Size_t s) |
void | SetDefectColor (Color_t c) |
void | SetDefectStyle (Style_t, Size_t, Color_t) |
void | SetParam (const char **, const char **, Double_t *, const char **, UInt_t) |
void | SetFunction (Int_t *, const char **, const char **, const char **, const char **, const char **, const char **, UInt_t) |
void | SetBoltzConst (Double_t c) |
void | SetTemp (Double_t temp) |
void | SetTempMin (Double_t t) |
void | SetTempMax (Double_t t) |
void | SetInsNum (Int_t n) |
void | SetRemNum (Int_t n) |
void | SetInteractionLimit (Double_t lim) |
void | UpdateCanvas (Int_t flag) |
void | AutoSave (Int_t flag) |
void | SetUpdateInterval (Int_t i) |
void | SetSaveInterval (Int_t i) |
void | SetImageFormat (Int_t f) |
void | SetImagePath (const char *str) |
void | SetImagePrefix (const char *str) |
Function ** | AddFunction (Int_t, const char *, const char *, const char *, const char *="", const char *="", const char *="") |
void | RevertFunction () |
void | CleanFunction () |
Style_t | GetAtomShape () |
Size_t | GetAtomSize () |
Color_t | GetAtomColor () |
Style_t | GetDefectShape () |
Size_t | GetDefectSize () |
Color_t | GetDefectColor () |
UInt_t | GetParam (Param **&) |
UInt_t | GetFunction (Function **&) |
UInt_t | GetParamCount () |
UInt_t | GetFuncCount () |
Double_t | GetBoltzConst () |
Double_t | GetTemp () |
Double_t | GetTempMax () |
Double_t | GetTempMin () |
Double_t | GetInteractionLimit () |
Int_t | GetInsNum () |
Int_t | GetRemNum () |
Int_t | UpdateCanvas () |
Int_t | AutoSave () |
Int_t | GetUpdateInterval () |
Int_t | GetSaveInterval () |
Int_t | GetImageFormat () |
const char * | GetImagePath () |
const char * | GetImagePrefix () |
Protected Methods | |
xmlDocPtr | CreateConfigFile () |
xmlNodePtr | GetConfigNode (char *) |
void | WriteParam (xmlNodePtr) |
void | WriteFunction (xmlNodePtr) |
void | WriteLattice (xmlNodePtr) |
void | WriteMonteCarlo (xmlNodePtr) |
Protected Attributes | |
xmlDocPtr | xmlDoc |
Double_t | k |
Double_t | T |
Double_t | Tmin |
Double_t | Tmax |
Double_t | intLimit |
Int_t | bUpdateCanvas |
Int_t | bAutoSave |
Int_t | updateInt |
Int_t | saveInt |
Int_t | imgFormat |
Int_t | insNum |
Int_t | remNum |
char * | imgPath |
char * | imgPrefix |
const char * | homePath |
const char * | fileName |
Style_t | atomShape |
Style_t | defectShape |
Size_t | atomSize |
Size_t | defectSize |
Color_t | atomColor |
Color_t | defectColor |
Param ** | params |
Function ** | functions |
UInt_t | paramCount |
UInt_t | funcCount |
|
Definition at line 3 of file configuration.cpp. References CONFIG_FILE, fileName, functions, homePath, LoadConfigFromFile(), params, and xmlDoc. |
|
Definition at line 15 of file configuration.cpp. References functions, imgPath, imgPrefix, params, and xmlDoc. |
|
Definition at line 382 of file configuration.cpp. References Function::bAdded, funcCount, and functions. Referenced by AddFuncDlg::DoButtons(). |
|
Definition at line 207 of file configuration.h. References bAutoSave. |
|
Definition at line 178 of file configuration.h. References bAutoSave. Referenced by SimulationDialog::DoOk(), MainFrame::HandleMenu(), MainFrame::MainFrame(), Layer::MonteCarlo(), and SimulationDialog::SimulationDialog(). |
|
Definition at line 447 of file configuration.cpp. References Function::bDeleted, Function::curExpr, Function::curLatex, Function::curName, Function::curX, Function::curY, Function::curZ, funcCount, functions, and SetFunction(). Referenced by ConfigDialog::DoSave(). |
|
Definition at line 502 of file configuration.cpp. References fileName, and homePath. Referenced by LoadConfigFromFile(). |
|
Definition at line 191 of file configuration.h. References atomColor. Referenced by SimulationDialog::DoCancel(), Lattice::Lattice(), and SimulationDialog::SimulationDialog(). |
|
Definition at line 189 of file configuration.h. References atomShape. Referenced by SimulationDialog::DoCancel(), Lattice::Lattice(), and SimulationDialog::SimulationDialog(). |
|
Definition at line 190 of file configuration.h. References atomSize. Referenced by SimulationDialog::DoCancel(), Lattice::Lattice(), and SimulationDialog::SimulationDialog(). |
|
Definition at line 199 of file configuration.h. References k. Referenced by Layer::GetBoltzConst(), and SimulationDialog::SimulationDialog(). |
|
Definition at line 699 of file configuration.cpp. References xmlDoc. Referenced by LoadConfigFromFile(), SaveFormulaToFile(), SaveSimulationToFile(), and SaveTempToFile(). |
|
Definition at line 194 of file configuration.h. References defectColor. Referenced by SimulationDialog::DoCancel(), Lattice::Lattice(), and SimulationDialog::SimulationDialog(). |
|
Definition at line 192 of file configuration.h. References defectShape. Referenced by SimulationDialog::DoCancel(), Lattice::Lattice(), and SimulationDialog::SimulationDialog(). |
|
Definition at line 193 of file configuration.h. References defectSize. Referenced by SimulationDialog::DoCancel(), Lattice::Lattice(), and SimulationDialog::SimulationDialog(). |
|
Definition at line 198 of file configuration.h. References funcCount. |
|
Definition at line 496 of file configuration.cpp. References funcCount, and functions. Referenced by AddFuncDlg::AddFuncDlg(), MainFrame::ClearEnFuncCombo(), RenFuncDlg::DoButtons(), AddFuncDlg::DoButtons(), MainFrame::DoButtons(), ConfigDialog::DoSave(), ConfigDialog::DoTabButtons(), MainFrame::FillEnFuncCombo(), ConfigDialog::LoadFunctions(), ConfigDialog::RemoveFunctions(), RenFuncDlg::RenFuncDlg(), and ConfigDialog::VerifyFunction(). |
|
Definition at line 210 of file configuration.h. References imgFormat. Referenced by Layer::MonteCarlo(), and SimulationDialog::SimulationDialog(). |
|
Definition at line 211 of file configuration.h. References imgPath. Referenced by Layer::MonteCarlo(), and SimulationDialog::SimulationDialog(). |
|
Definition at line 212 of file configuration.h. References imgPrefix. Referenced by Layer::MonteCarlo(), and SimulationDialog::SimulationDialog(). |
|
Definition at line 204 of file configuration.h. References insNum. Referenced by MainFrame::HandleMenu(), and SimulationDialog::SimulationDialog(). |
|
Definition at line 203 of file configuration.h. References intLimit. Referenced by MainFrame::HandleMenu(), and SimulationDialog::SimulationDialog(). |
|
Definition at line 490 of file configuration.cpp. References paramCount, and params. Referenced by ConfigDialog::ConfigDialog(), MainFrame::DoButtons(), ConfigDialog::DoTabButtons(), MainFrame::FillParamCont(), ConfigDialog::LoadParameters(), and ConfigDialog::ParseExpression(). |
|
Definition at line 197 of file configuration.h. References paramCount. |
|
Definition at line 205 of file configuration.h. References remNum. Referenced by MainFrame::HandleMenu(), and SimulationDialog::SimulationDialog(). |
|
Definition at line 209 of file configuration.h. References saveInt. Referenced by Layer::MonteCarlo(), and SimulationDialog::SimulationDialog(). |
|
Definition at line 200 of file configuration.h. References T. Referenced by SliderRangeDlg::DoButtons(), TempControl::DoMaxRange(), TempControl::DoMinRange(), Layer::GetTemp(), MainFrame::MainFrame(), TempControl::TempControl(), and TempControl::~TempControl(). |
|
Definition at line 201 of file configuration.h. References Tmax. Referenced by TempControl::DoMaxRange(), TempControl::DoMinRange(), MainFrame::MainFrame(), SliderRangeDlg::SliderRangeDlg(), TempControl::TempControl(), and TempControl::~TempControl(). |
|
Definition at line 202 of file configuration.h. References Tmin. Referenced by TempControl::DoMaxRange(), TempControl::DoMinRange(), MainFrame::MainFrame(), SliderRangeDlg::SliderRangeDlg(), TempControl::TempControl(), and TempControl::~TempControl(). |
|
Definition at line 208 of file configuration.h. References updateInt. Referenced by Layer::MonteCarlo(), and SimulationDialog::SimulationDialog(). |
|
Definition at line 23 of file configuration.cpp. References atomColor, atomShape, atomSize, bAutoSave, bUpdateCanvas, CreateConfigFile(), defectColor, defectShape, defectSize, fileName, GetConfigNode(), homePath, imgFormat, imgPath, imgPrefix, insNum, intLimit, k, remNum, saveInt, SetFunction(), SetParam(), T, Tmax, Tmin, updateInt, and xmlDoc. Referenced by Configuration(). |
|
Definition at line 404 of file configuration.cpp. References Function::bAdded, funcCount, functions, Function::oldExpr, Function::oldLatex, Function::oldName, Function::oldX, Function::oldY, Function::oldZ, and SetFunction(). Referenced by ConfigDialog::DoCancel(), and ConfigDialog::DoTabButtons(). |
|
Definition at line 247 of file configuration.cpp. References fileName, GetConfigNode(), WriteFunction(), WriteParam(), and xmlDoc. Referenced by ConfigDialog::DoSave(). |
|
Definition at line 268 of file configuration.cpp. References fileName, GetConfigNode(), WriteLattice(), WriteMonteCarlo(), and xmlDoc. Referenced by SimulationDialog::DoOk(). |
|
Definition at line 288 of file configuration.cpp. References fileName, GetConfigNode(), T, Tmax, Tmin, and xmlDoc. Referenced by MainFrame::CloseWindow(). |
|
Definition at line 162 of file configuration.h. References atomColor. |
|
Definition at line 160 of file configuration.h. References atomShape. |
|
Definition at line 161 of file configuration.h. References atomSize. |
|
Definition at line 334 of file configuration.cpp. References atomColor, atomShape, and atomSize. Referenced by SimulationDialog::DoOk(). |
|
Definition at line 170 of file configuration.h. References k. Referenced by SimulationDialog::DoOk(). |
|
Definition at line 166 of file configuration.h. References defectColor. |
|
Definition at line 164 of file configuration.h. References defectShape. |
|
Definition at line 165 of file configuration.h. References defectSize. |
|
Definition at line 341 of file configuration.cpp. References defectColor, defectShape, and defectSize. Referenced by SimulationDialog::DoOk(). |
|
Definition at line 365 of file configuration.cpp. References funcCount, and functions. Referenced by CleanFunction(), LoadConfigFromFile(), and RevertFunction(). |
|
Definition at line 181 of file configuration.h. References imgFormat. Referenced by SimulationDialog::DoOk(). |
|
Definition at line 310 of file configuration.cpp. References imgPath. Referenced by SimulationDialog::DoOk(). |
|
Definition at line 322 of file configuration.cpp. References imgPrefix. Referenced by SimulationDialog::DoOk(). |
|
Definition at line 174 of file configuration.h. References insNum. Referenced by SimulationDialog::DoOk(). |
|
Definition at line 176 of file configuration.h. References intLimit. Referenced by SimulationDialog::DoOk(), and Layer::SetLattice(). |
|
Definition at line 348 of file configuration.cpp. References paramCount, and params. Referenced by ConfigDialog::DoSave(), and LoadConfigFromFile(). |
|
Definition at line 175 of file configuration.h. References remNum. Referenced by SimulationDialog::DoOk(). |
|
Definition at line 180 of file configuration.h. References saveInt. Referenced by SimulationDialog::DoOk(). |
|
Definition at line 171 of file configuration.h. References T. Referenced by MainFrame::DoButtons(), TempControl::DoMaxRange(), TempControl::DoMinRange(), SimulationDialog::DoOk(), and TempControl::DoSlider(). |
|
Definition at line 173 of file configuration.h. References Tmax. Referenced by SliderRangeDlg::DoButtons(), and TempControl::DoMaxRange(). |
|
Definition at line 172 of file configuration.h. References Tmin. Referenced by SliderRangeDlg::DoButtons(), and TempControl::DoMinRange(). |
|
Definition at line 179 of file configuration.h. References updateInt. Referenced by SimulationDialog::DoOk(). |
|
Definition at line 206 of file configuration.h. References bUpdateCanvas. |
|
Definition at line 177 of file configuration.h. References bUpdateCanvas. Referenced by SimulationDialog::DoOk(), MainFrame::HandleMenu(), MainFrame::MainFrame(), Layer::MonteCarlo(), and SimulationDialog::SimulationDialog(). |
|
Definition at line 606 of file configuration.cpp. References funcCount, and functions. Referenced by SaveFormulaToFile(). |
|
Definition at line 630 of file configuration.cpp. References atomColor, atomShape, atomSize, defectColor, defectShape, defectSize, insNum, and remNum. Referenced by SaveSimulationToFile(). |
|
Definition at line 660 of file configuration.cpp. References imgFormat, imgPath, imgPrefix, intLimit, k, saveInt, T, Tmax, Tmin, and updateInt. Referenced by SaveSimulationToFile(). |
|
Definition at line 586 of file configuration.cpp. References paramCount, and params. Referenced by SaveFormulaToFile(). |
|
Definition at line 235 of file configuration.h. Referenced by GetAtomColor(), LoadConfigFromFile(), SetAtomColor(), SetAtomStyle(), and WriteLattice(). |
|
Definition at line 233 of file configuration.h. Referenced by GetAtomShape(), LoadConfigFromFile(), SetAtomShape(), SetAtomStyle(), and WriteLattice(). |
|
Definition at line 234 of file configuration.h. Referenced by GetAtomSize(), LoadConfigFromFile(), SetAtomSize(), SetAtomStyle(), and WriteLattice(). |
|
Definition at line 228 of file configuration.h. Referenced by AutoSave(), and LoadConfigFromFile(). |
|
Definition at line 228 of file configuration.h. Referenced by LoadConfigFromFile(), and UpdateCanvas(). |
|
Definition at line 235 of file configuration.h. Referenced by GetDefectColor(), LoadConfigFromFile(), SetDefectColor(), SetDefectStyle(), and WriteLattice(). |
|
Definition at line 233 of file configuration.h. Referenced by GetDefectShape(), LoadConfigFromFile(), SetDefectShape(), SetDefectStyle(), and WriteLattice(). |
|
Definition at line 234 of file configuration.h. Referenced by GetDefectSize(), LoadConfigFromFile(), SetDefectSize(), SetDefectStyle(), and WriteLattice(). |
|
Definition at line 232 of file configuration.h. Referenced by Configuration(), CreateConfigFile(), LoadConfigFromFile(), SaveFormulaToFile(), SaveSimulationToFile(), and SaveTempToFile(). |
|
Definition at line 238 of file configuration.h. Referenced by AddFunction(), CleanFunction(), GetFuncCount(), GetFunction(), RevertFunction(), SetFunction(), and WriteFunction(). |
|
Definition at line 237 of file configuration.h. Referenced by AddFunction(), CleanFunction(), Configuration(), GetFunction(), RevertFunction(), SetFunction(), WriteFunction(), and ~Configuration(). |
|
Definition at line 232 of file configuration.h. Referenced by Configuration(), CreateConfigFile(), and LoadConfigFromFile(). |
|
Definition at line 229 of file configuration.h. Referenced by GetImageFormat(), LoadConfigFromFile(), SetImageFormat(), and WriteMonteCarlo(). |
|
Definition at line 231 of file configuration.h. Referenced by GetImagePath(), LoadConfigFromFile(), SetImagePath(), WriteMonteCarlo(), and ~Configuration(). |
|
Definition at line 231 of file configuration.h. Referenced by GetImagePrefix(), LoadConfigFromFile(), SetImagePrefix(), WriteMonteCarlo(), and ~Configuration(). |
|
Definition at line 230 of file configuration.h. Referenced by GetInsNum(), LoadConfigFromFile(), SetInsNum(), and WriteLattice(). |
|
Definition at line 227 of file configuration.h. Referenced by GetInteractionLimit(), LoadConfigFromFile(), SetInteractionLimit(), and WriteMonteCarlo(). |
|
Definition at line 227 of file configuration.h. Referenced by GetBoltzConst(), LoadConfigFromFile(), SetBoltzConst(), and WriteMonteCarlo(). |
|
Definition at line 238 of file configuration.h. Referenced by GetParam(), GetParamCount(), SetParam(), and WriteParam(). |
|
Definition at line 236 of file configuration.h. Referenced by Configuration(), GetParam(), SetParam(), WriteParam(), and ~Configuration(). |
|
Definition at line 230 of file configuration.h. Referenced by GetRemNum(), LoadConfigFromFile(), SetRemNum(), and WriteLattice(). |
|
Definition at line 229 of file configuration.h. Referenced by GetSaveInterval(), LoadConfigFromFile(), SetSaveInterval(), and WriteMonteCarlo(). |
|
Definition at line 227 of file configuration.h. Referenced by GetTemp(), LoadConfigFromFile(), SaveTempToFile(), SetTemp(), and WriteMonteCarlo(). |
|
Definition at line 227 of file configuration.h. Referenced by GetTempMax(), LoadConfigFromFile(), SaveTempToFile(), SetTempMax(), and WriteMonteCarlo(). |
|
Definition at line 227 of file configuration.h. Referenced by GetTempMin(), LoadConfigFromFile(), SaveTempToFile(), SetTempMin(), and WriteMonteCarlo(). |
|
Definition at line 229 of file configuration.h. Referenced by GetUpdateInterval(), LoadConfigFromFile(), SetUpdateInterval(), and WriteMonteCarlo(). |
|
Definition at line 224 of file configuration.h. Referenced by Configuration(), GetConfigNode(), LoadConfigFromFile(), SaveFormulaToFile(), SaveSimulationToFile(), SaveTempToFile(), and ~Configuration(). |