μHAL (v2.6.5)
Part of the IPbus software repository
Public Member Functions | Public Attributes | List of all members
grammars::NodeTreeParametersGrammar Struct Reference

A struct wrapping a set of rules as a grammar that can parse a NodeTreeParametersGrammar of the form "name1=val1;name2=val2;name3=val3". More...

#include <uhal/grammars/NodeTreeParametersGrammar.hpp>

Inheritance diagram for grammars::NodeTreeParametersGrammar:
[legend]
Collaboration diagram for grammars::NodeTreeParametersGrammar:
[legend]

Public Member Functions

 NodeTreeParametersGrammar ()
 Default Constructor where we will define the boost::qi rules relating the members. More...
 

Public Attributes

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. More...
 
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 attribute. More...
 
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 NodeTreeParameters attribute. More...
 
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 NodeTreeParameters attribute. More...
 

Detailed Description

A struct wrapping a set of rules as a grammar that can parse a NodeTreeParametersGrammar of the form "name1=val1;name2=val2;name3=val3".

Definition at line 49 of file NodeTreeParametersGrammar.hpp.

Constructor & Destructor Documentation

◆ NodeTreeParametersGrammar()

grammars::NodeTreeParametersGrammar::NodeTreeParametersGrammar ( )

Default Constructor where we will define the boost::qi rules relating the members.

Definition at line 42 of file NodeTreeParametersGrammar.cpp.

References key, pair, query, and value.

Member Data Documentation

◆ key

boost::spirit::qi::rule<std::string::const_iterator, std::string()> grammars::NodeTreeParametersGrammar::key

Boost spirit parsing rule for parsing the "name" part of the "name-value pairs" of a NodeTreeParameters attribute.

Definition at line 58 of file NodeTreeParametersGrammar.hpp.

Referenced by NodeTreeParametersGrammar().

◆ pair

boost::spirit::qi::rule<std::string::const_iterator, std::pair<std::string, std::string>)> grammars::NodeTreeParametersGrammar::pair

Boost spirit parsing rule for parsing each of the "name-value pairs" of a NodeTree Parameters attribute.

Definition at line 56 of file NodeTreeParametersGrammar.hpp.

Referenced by NodeTreeParametersGrammar().

◆ query

boost::spirit::qi::rule<std::string::const_iterator, boost::unordered_map<std::string, std::string>)> grammars::NodeTreeParametersGrammar::query

Boost spirit parsing rule for parsing a NodeTree Parameters attribute.

Definition at line 54 of file NodeTreeParametersGrammar.hpp.

Referenced by NodeTreeParametersGrammar().

◆ value

boost::spirit::qi::rule<std::string::const_iterator, std::string()> grammars::NodeTreeParametersGrammar::value

Boost spirit parsing rule for parsing the "value" part of the "name-value pairs" of a NodeTreeParameters attribute.

Definition at line 60 of file NodeTreeParametersGrammar.hpp.

Referenced by NodeTreeParametersGrammar().


The documentation for this struct was generated from the following files: