![]() |
ATLAS Offline Software
|
Various text/ptr utilities to use in the ExpatCoreParser. More...
#include <expat.h>#include <cstdlib>#include <string>#include <source_location>#include <memory>#include <iostream>Go to the source code of this file.
Classes | |
| struct | XmlParser::XMLParserDeleter |
| deleter for a unique_ptr<XML_Parser> More... | |
Namespaces | |
| namespace | XmlParser |
Typedefs | |
| using | XmlParser::XMLParserPtr = std::unique_ptr<std::remove_pointer_t<XML_Parser>, XMLParserDeleter> |
| RAII XMLParser pointer. | |
Functions | |
| std::string | XmlParser::xmlFileName (const std::string &fname, const std::string &prefix="") |
| find the xml file locally or on the datapath, return the full filename | |
| bool | XmlParser::debug_enabled () |
| true if XML debug mode is enabled in the environment | |
| std::string | XmlParser::label (const std::source_location loc=std::source_location::current()) |
| report function name in a string, for debugging | |
| XMLParserPtr | XmlParser::make_parser () |
| Create an RAII XMLParser pointer. | |
| std::string | XmlParser::rtrim (const XML_Char *s, int len) |
| Trim newline from end of a XML_Char * , return the trimmed string as std::string. | |
Various text/ptr utilities to use in the ExpatCoreParser.
Definition in file XMLParserUtilities.h.