|
EvtGen 2.2.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.
|
#include <EvtGenBase/EvtParserXml.hh>
Public Member Functions | |
| bool | open (std::string filename) |
| bool | close () |
| bool | readNextTag () |
| std::string | getTagTitle () |
| std::string | getParentTagTitle () |
| int | getLineNumber () |
| bool | isTagInline () |
| std::string | readAttribute (std::string attribute, std::string defaultValue="") |
| bool | readAttributeBool (std::string attribute, bool defaultValue=false) |
| int | readAttributeInt (std::string attribute, int defaultValue=-1) |
| double | readAttributeDouble (std::string attribute, double defaultValue=-1.) |
Private Member Functions | |
| bool | processTagTree () |
| bool | expandEnvVars (std::string &str) |
| bool | isAlphaNum (char c) |
Private Attributes | |
| std::ifstream | m_fin |
| std::string | m_line |
| int | m_lineNo = 0 |
| std::string | m_tag |
| std::string | m_tagTitle |
| bool | m_inLineTag |
| std::vector< std::string > | m_tagTree |
Definition at line 28 of file EvtParserXml.hh.
| bool EvtParserXml::close | ( | ) |
Definition at line 51 of file EvtParserXml.cpp.
|
private |
Definition at line 226 of file EvtParserXml.cpp.
|
inline |
Definition at line 37 of file EvtParserXml.hh.
| std::string EvtParserXml::getParentTagTitle | ( | ) |
Definition at line 151 of file EvtParserXml.cpp.
|
inline |
Definition at line 35 of file EvtParserXml.hh.
|
private |
Definition at line 282 of file EvtParserXml.cpp.
|
inline |
Definition at line 38 of file EvtParserXml.hh.
| bool EvtParserXml::open | ( | std::string | filename | ) |
Definition at line 32 of file EvtParserXml.cpp.
|
private |
Definition at line 210 of file EvtParserXml.cpp.
| std::string EvtParserXml::readAttribute | ( | std::string | attribute, |
| std::string | defaultValue = "" ) |
Definition at line 159 of file EvtParserXml.cpp.
| bool EvtParserXml::readAttributeBool | ( | std::string | attribute, |
| bool | defaultValue = false ) |
Definition at line 176 of file EvtParserXml.cpp.
| double EvtParserXml::readAttributeDouble | ( | std::string | attribute, |
| double | defaultValue = -1. ) |
Definition at line 198 of file EvtParserXml.cpp.
| int EvtParserXml::readAttributeInt | ( | std::string | attribute, |
| int | defaultValue = -1 ) |
Definition at line 187 of file EvtParserXml.cpp.
| bool EvtParserXml::readNextTag | ( | ) |
Definition at line 57 of file EvtParserXml.cpp.
|
private |
Definition at line 47 of file EvtParserXml.hh.
|
private |
Definition at line 53 of file EvtParserXml.hh.
|
private |
Definition at line 48 of file EvtParserXml.hh.
|
private |
Definition at line 49 of file EvtParserXml.hh.
|
private |
Definition at line 51 of file EvtParserXml.hh.
|
private |
Definition at line 52 of file EvtParserXml.hh.
|
private |
Definition at line 54 of file EvtParserXml.hh.