20std::string
decodeXML(std::string_view xml);
This class provides a lightweight logger.
void OnTextSection(const std::string &ch)
Callback for text sections in xml file.
std::vector< std::shared_ptr< CTag > > CTagPtrVec
void OnEndElement()
Callback for End-Tag.
std::shared_ptr< precice::xml::XMLTag > m_pXmlTag
ConfigParser(std::string_view filePath, const ConfigurationContext &context, std::shared_ptr< XMLTag > pXmlTag)
Parser ctor for Callback init.
void OnStartElement(std::string_view localname, std::string_view prefix, CTag::AttributePair attributes)
Callback for Start-Tag.
void connectTags(const ConfigurationContext &context, std::vector< std::shared_ptr< precice::xml::XMLTag > > &DefTags, CTagPtrVec &SubTags)
Connects the actual tags of an xml layer with the predefined tags.
std::string hash() const
returns the hash of the processed XML file
static void MessageProxy(int level, std::string_view mess)
Proxy for error and warning messages from libxml2.
int readXmlFile(std::string const &filePath)
Reads the xml file.
static precice::logging::Logger _log
std::string _hash
the hash of the last processed config
Represents an XML tag to be configured automatically.
contains the logging framework.
contains the XML configuration parser.
std::string decodeXML(std::string_view xml)
Decodes escape sequences of a given xml.
Main namespace of the precice library.
Struct holding the read tag from xml file.
std::map< std::string, std::string > AttributePair
AttributePair m_aAttributes
std::vector< std::shared_ptr< CTag > > m_aSubTags
Tightly coupled to the parameters of Participant()