33 bool success = adoc->
parse(infile);
40 app_error() <<
"File " << infile <<
" is invalid" << std::endl;
66 app_summary() <<
" Input XML = " << infile << std::endl;
75 newxml.append(
".cont.xml");
76 app_log() <<
"\n=========================================================" 77 <<
"\n A new xml input file : " << newxml << std::endl;
const std::string & getTitle() const noexcept
returns the title of the project <project id="det_qmc_short_sdbatch_vmcbatch_mwalkers" series="0"> tr...
class that handles xmlDoc
bool parse(const std::string &infile)
parse an input file
helper functions for EinsplineSetBuilder
std::ostream & app_summary()
std::ostream & app_error()
void saveXml()
save the xml document
ProjectData my_project_
project description
bool pushDocument(const std::string &infile)
open a new document
const std::string & currentMainRoot() const noexcept
returns the projectmain of the project, the series id is incremented at every QMC section <project id...
bool parse(const std::string &fname)
const std::string & getTitle() const
void popDocument()
close the current document
virtual ~QMCAppBase()
destructor
std::stack< Libxml2Document * > xml_doc_stack_
stack of xml document