μHAL (v2.7.9)
Part of the IPbus software repository
Namespaces | Functions
xml.hpp File Reference
#include <stdint.h>
#include <string>
#include <vector>
#include <boost/filesystem/path.hpp>
#include "uhal/log/exception.hpp"
Include dependency graph for xml.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 pugi
 
 uhal
 
 uhal::exception
 A namespace for all exceptions to live in - this will hopefully make documentation a bit clearer.
 
 uhal::utilities
 

Functions

void uhal::utilities::PugiXMLParseResultPrettifier (const pugi::xml_parse_result &aLoadResult, const boost::filesystem::path &aPath, const std::vector< uint8_t > &aFile)
 Helper function to make debugging failures when parsing XML files easier. More...
 
template<bool DebugInfo>
bool uhal::utilities::GetXMLattribute (const pugi::xml_node &aNode, const std::string &aAttrName, std::string &aTarget)
 Helper function to retrieve a named attribute from a PugiXML node and cast it to the correct type. More...
 
template<bool DebugInfo>
bool uhal::utilities::GetXMLattribute (const pugi::xml_node &aNode, const std::string &aAttrName, const char *aTarget)
 Helper function to retrieve a named attribute from a PugiXML node and cast it to the correct type. More...
 
template<bool DebugInfo>
bool uhal::utilities::GetXMLattribute (const pugi::xml_node &aNode, const std::string &aAttrName, int32_t &aTarget)
 Helper function to retrieve a named attribute from a PugiXML node and cast it to the correct type. More...
 
template<bool DebugInfo>
bool uhal::utilities::GetXMLattribute (const pugi::xml_node &aNode, const std::string &aAttrName, uint32_t &aTarget)
 Helper function to retrieve a named attribute from a PugiXML node and cast it to the correct type. More...
 
template<bool DebugInfo>
bool uhal::utilities::GetXMLattribute (const pugi::xml_node &aNode, const std::string &aAttrName, double &aTarget)
 Helper function to retrieve a named attribute from a PugiXML node and cast it to the correct type. More...
 
template<bool DebugInfo>
bool uhal::utilities::GetXMLattribute (const pugi::xml_node &aNode, const std::string &aAttrName, float &aTarget)
 Helper function to retrieve a named attribute from a PugiXML node and cast it to the correct type. More...
 
template<bool DebugInfo>
bool uhal::utilities::GetXMLattribute (const pugi::xml_node &aNode, const std::string &aAttrName, bool &aTarget)
 Helper function to retrieve a named attribute from a PugiXML node and cast it to the correct type. More...