musrfit
1.9.2
|
#include <sys/types.h>
#include <sys/stat.h>
#include <cstdlib>
#include <iostream>
#include <fstream>
#include <TObjArray.h>
#include <TObjString.h>
#include <TColor.h>
#include <TList.h>
#include <TXMLAttr.h>
#include "PStartupHandler.h"
Go to the source code of this file.
Functions | |
ClassImpQ (PStartupHandler) int parseXmlFile(TSAXParser *saxParser | |
xmlFile | open (startup_path_name, std::ios::in|std::ios::ate) |
if (xmlFile.is_open()) | |
if (!xmlBuffer) | |
Variables | |
const char * | startup_path_name |
std::fstream | xmlFile |
unsigned int | xmlSize = 0 |
char * | xmlBuffer = nullptr |
else | |
return | status |
ClassImpQ | ( | PStartupHandler | ) |
Replacement for the ParseFile method of TSAXParser.
return:
saxParser | pointer to a TSAXParser object |
startup_path_name | full path to the XML file to be read |
if | ( | xmlFile. | is_open() | ) |
Definition at line 70 of file PStartupHandler.cpp.
References xmlBuffer, xmlFile, and xmlSize.
Referenced by PMsrHandler::HandlePlotEntry(), main(), PMusrCanvas::UpdateDataTheoryPad(), and PMusrCanvas::UpdateInfoPad().
if | ( | ! | xmlBuffer | ) |
Definition at line 77 of file PStartupHandler.cpp.
References status.
xmlFile open | ( | startup_path_name | , |
std::ios::in|std::ios::ate | |||
) |
else |
Definition at line 79 of file PStartupHandler.cpp.
const char* startup_path_name |
Definition at line 63 of file PStartupHandler.cpp.
Referenced by main(), PMsr2Data::ParseXmlStartupFile(), PStartupHandler::PStartupHandler(), and PStartupHandler::WriteDefaultStartupFile().
return status |
Definition at line 85 of file PStartupHandler.cpp.
Referenced by PFitter::DoFit(), PFourierCanvas::Done(), PMusrT0::Done(), PMusrCanvas::Done(), dump_header_psi_bin(), PFunction::FillFuncEvalTree(), PMsrHandler::GetNoOfFitParameters(), PMsr2Data::GetSingleRunMsrFile(), PMsrHandler::HandleStatisticEntry(), if(), main(), msr2msr_statistic(), PMsr2Data::ParseXmlStartupFile(), PRunAsymmetryRRF::PrepareData(), PRunAsymmetry::PrepareData(), PMsr2Data::PrepareGlobalInputFile(), PMsr2Data::PrepareNewSortedInputFile(), PTheory::PTheory(), PMsr2Data::ReadMsrFile(), PRunDataHandler::ReadPsiBinFile(), PFunction::SetFuncNo(), PRunDataHandler::ToDouble(), PRunDataHandler::ToInt(), and PRunDataHandler::WritePsiBinFile().
xmlBuffer = nullptr |
Definition at line 67 of file PStartupHandler.cpp.
Referenced by if().
std::fstream xmlFile |
Definition at line 65 of file PStartupHandler.cpp.
Referenced by if().
unsigned int xmlSize = 0 |
Definition at line 66 of file PStartupHandler.cpp.
Referenced by if().