33 #ifndef _uhal_NodeTreeParametersGrammar_hpp_ 34 #define _uhal_NodeTreeParametersGrammar_hpp_ 40 #include <boost/fusion/adapted/std_pair.hpp> 41 #include <boost/spirit/include/qi_char.hpp> 42 #include <boost/spirit/include/qi_grammar.hpp> 43 #include <boost/unordered_map.hpp> 49 struct NodeTreeParametersGrammar : boost::spirit::qi::grammar<std::string::const_iterator, boost::unordered_map<std::string, std::string>()>
54 boost::spirit::qi::rule<std::string::const_iterator, boost::unordered_map<std::string, std::string>()>
query;
56 boost::spirit::qi::rule<std::string::const_iterator, std::pair<std::string, std::string>()>
pair;
58 boost::spirit::qi::rule<std::string::const_iterator, std::string()>
key;
60 boost::spirit::qi::rule<std::string::const_iterator, std::string()>
value;
A struct wrapping a set of rules as a grammar that can parse a NodeTreeParametersGrammar of the form ...
NodeTreeParametersGrammar()
Default Constructor where we will define the boost::qi rules relating the members.
boost::spirit::qi::rule< std::string::const_iterator, std::string()> key
Boost spirit parsing rule for parsing the "name" part of the "name-value pairs" of a NodeTreeParamete...
boost::spirit::qi::rule< std::string::const_iterator, std::pair< std::string, std::string >)> pair
Boost spirit parsing rule for parsing each of the "name-value pairs" of a NodeTree Parameters attribu...
The log_inserter function to add an HttpResponseType object to a log entry.
boost::spirit::qi::rule< std::string::const_iterator, std::string()> value
Boost spirit parsing rule for parsing the "value" part of the "name-value pairs" of a NodeTreeParamet...
boost::spirit::qi::rule< std::string::const_iterator, boost::unordered_map< std::string, std::string >)> query
Boost spirit parsing rule for parsing a NodeTree Parameters attribute.