15 #ifndef FAIR_MQ_JSONPARSER_H 16 #define FAIR_MQ_JSONPARSER_H 20 #include <unordered_map> 23 #include <boost/property_tree/ptree_fwd.hpp> 25 #include "FairMQChannel.h" 26 #include <fairmq/Properties.h> 33 struct ParserError : std::runtime_error {
using std::runtime_error::runtime_error; };
35 fair::mq::Properties PtreeParser(
const boost::property_tree::ptree& pt,
const std::string& deviceId);
37 fair::mq::Properties JSONParser(
const std::string& filename,
const std::string& deviceId);
42 fair::mq::Properties DeviceParser(
const boost::property_tree::ptree& tree,
const std::string& deviceId);
43 void ChannelParser(
const boost::property_tree::ptree& tree, fair::mq::Properties& properties);
44 void SubChannelParser(
const boost::property_tree::ptree& tree, fair::mq::Properties& properties,
const std::string& channelName,
const fair::mq::Properties& commonProperties);
Definition: JSONParser.h:33
Tools for interfacing containers to the transport via polymorphic allocators.
Definition: DeviceRunner.h:23