GENIEGenerator
Loading...
Searching...
No Matches
XmlParserUtils.h File Reference
#include <string>
#include <vector>
#include <cstdlib>
#include "libxml/parser.h"
#include "libxml/xmlmemory.h"
#include <TSystem.h>
#include <TVectorT.h>
#include "Framework/Utils/StringUtils.h"
#include "Framework/Utils/RunOpt.h"
Include dependency graph for XmlParserUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  genie
 THE MAIN GENIE PROJECT NAMESPACE
namespace  genie::utils
 Root of GENIE utility namespaces.
namespace  genie::utils::xml

Functions

string genie::utils::xml::TrimSpaces (xmlChar *xmls)
string genie::utils::xml::TrimSpacesClean (xmlChar *xmls)
string genie::utils::xml::GetAttribute (xmlNodePtr xml_cur, string attr_name)
string genie::utils::xml::GetXMLPathList (bool add_tune=true)
string genie::utils::xml::GetXMLDefaultPath ()
string genie::utils::xml::GetXMLFilePath (string basename)
xmlNodePtr genie::utils::xml::FindNode (xmlDocPtr xml_doc, string node_path)
bool genie::utils::xml::GetBool (xmlDocPtr xml_doc, string node_path)
int genie::utils::xml::GetInt (xmlDocPtr xml_doc, string node_path)
vector< int > genie::utils::xml::GetIntArray (xmlDocPtr xml_doc, string node_path)
double genie::utils::xml::GetDouble (xmlDocPtr xml_doc, string node_path)
vector< double > genie::utils::xml::GetDoubleArray (xmlDocPtr xml_doc, string node_path)
string genie::utils::xml::GetString (xmlDocPtr xml_doc, string node_path)
string genie::utils::xml::GetROOTFileName (xmlDocPtr xml_doc, string node_path)
string genie::utils::xml::GetROOTObjName (xmlDocPtr xml_doc, string node_path)
string genie::utils::xml::GetROOTObjType (xmlDocPtr xml_doc, string node_path)
TFile * genie::utils::xml::GetTFile (xmlDocPtr xml_doc, string node_path, string base_dir="<env>")
TH1F * genie::utils::xml::GetTH1F (xmlDocPtr xml_doc, string node_path, string base_dir="<env>")
TH1D * genie::utils::xml::GetTH1D (xmlDocPtr xml_doc, string node_path, string base_dir="<env>")
TH2D * genie::utils::xml::GetTH2D (xmlDocPtr xml_doc, string node_path, string base_dir="<env>")
TVectorD * genie::utils::xml::GetTVectorD (xmlDocPtr xml_doc, string node_path, string base_dir="<env>")