#include <string>#include <utility>#include <vector>#include <boost/fusion/adapted/std_pair.hpp>#include <boost/fusion/adapted/struct/adapt_struct.hpp>#include <boost/spirit/include/qi_char.hpp>#include <boost/spirit/include/qi_grammar.hpp>#include "uhal/grammars/URI.hpp"Go to the source code of this file.
Functions | |
| BOOST_FUSION_ADAPT_STRUCT (uhal::URI,(std::string, mProtocol)(std::string, mHostname)(std::string, mPort)(std::string, mPath)(std::string, mExtension)(uhal::NameValuePairVectorType, mArguments)) namespace uhal | |
| A boost::fusion adaptive struct used by the boost::qi parser. More... | |
| BOOST_FUSION_ADAPT_STRUCT | ( | uhal::URI | , |
| (std::string, mProtocol)(std::string, mHostname)(std::string, mPort)(std::string, mPath)(std::string, mExtension)(uhal::NameValuePairVectorType, mArguments) | |||
| ) |
A boost::fusion adaptive struct used by the boost::qi parser.
A struct wrapping a set of rules as a grammar that can parse a URI of the form "protocol://host:port/patha/pathb/blah.ext?key1=val1&key2=val2&key3=val3"
Default Constructor where we will define the boost::qi rules relating the members
Boost spirit parsing rule for parsing a URI
Boost spirit parsing rule for parsing the "protocol" part of a URI
Boost spirit parsing rule for parsing the "hostname" part of a URI
Boost spirit parsing rule for parsing the "port" part of a URI
Boost spirit parsing rule for parsing the "path" part of a URI
Boost spirit parsing rule for parsing the "extension" part of a URI
Boost spirit parsing rule for parsing all of the "key-value pairs" part of a URI
Boost spirit parsing rule for parsing each of the "key-value pairs" part of a URI
Boost spirit parsing rule for parsing the "key" part of the "key-value pairs" part of a URI
Boost spirit parsing rule for parsing the "value" part of the "key-value pairs" part of a URI
Definition at line 52 of file URIGrammar.hpp.