5#ifndef TrigConfMuctpi_MuctpiXMLHelper
6#define TrigConfMuctpi_MuctpiXMLHelper
9#include "boost/property_tree/ptree.hpp"
17 std::string
readAttribute(
const boost::property_tree::ptree &
tree,
const std::string & attr);
19 bool hasAttribute(
const boost::property_tree::ptree &
tree,
const std::string & attr);
21 std::string
getAttribute(
const boost::property_tree::ptree &
tree,
const std::string & attr);
23 std::string
getAttribute(
const boost::property_tree::ptree &
tree,
const std::string & attr,
const std::string & defval);
27 int getIntAttribute(
const boost::property_tree::ptree &
tree,
const std::string & attr,
int defval);
29 unsigned int getUIntAttribute(
const boost::property_tree::ptree &
tree,
const std::string & attr);
31 unsigned int getUIntAttribute(
const boost::property_tree::ptree &
tree,
const std::string & attr,
unsigned int & defval);
35 float getFloatAttribute(
const boost::property_tree::ptree &
tree,
const std::string & attr,
float & defval);
Messaging base class for TrigConf code shared with Lvl1 ( AthMessaging)
std::string readAttribute(const boost::property_tree::ptree &tree, const std::string &attr)
unsigned int getUIntAttribute(const boost::property_tree::ptree &tree, const std::string &attr)
float getFloatAttribute(const boost::property_tree::ptree &tree, const std::string &attr)
void printAttributes(const boost::property_tree::ptree &tree)
int getIntAttribute(const boost::property_tree::ptree &tree, const std::string &attr)
bool hasAttribute(const boost::property_tree::ptree &tree, const std::string &attr)
std::string getAttribute(const boost::property_tree::ptree &tree, const std::string &attr)
Class to provide easy access to TrigConf::MsgStream for TrigConf classes.