The Gaudi Framework  master (37c0b60a)
Gaudi::Parsers::UnitsGrammar< Iterator, Skipper > Struct Template Reference

#include </builds/gaudi/Gaudi/GaudiCoreSvc/src/JobOptionsSvc/Grammar.h>

Inheritance diagram for Gaudi::Parsers::UnitsGrammar< Iterator, Skipper >:
Collaboration diagram for Gaudi::Parsers::UnitsGrammar< Iterator, Skipper >:

Public Member Functions

 UnitsGrammar ()
 

Public Attributes

qi::rule< Iterator, Node(), Skipperunits
 
qi::rule< Iterator, Node(), Skipperunit
 
qi::rule< Iterator, Node(), Skipperval
 
IdentifierGrammar< Iterator, Skippergunit
 
ph::function< NodeOperationsop
 

Detailed Description

template<typename Iterator, typename Skipper>
struct Gaudi::Parsers::UnitsGrammar< Iterator, Skipper >

Definition at line 127 of file Grammar.h.

Constructor & Destructor Documentation

◆ UnitsGrammar()

template<typename Iterator , typename Skipper >
Gaudi::Parsers::UnitsGrammar< Iterator, Skipper >::UnitsGrammar ( )
inline

Definition at line 129 of file Grammar.h.

129  : UnitsGrammar::base_type( units ) {
130  units = *unit[op( qi::_val, qi::_1 )];
131  unit = rep::qi::iter_pos[op( qi::_val, qi::_1 )] >> val[op( qi::_val, qi::_1 )] >> -qi::lit( '*' ) >>
132  gunit[op( qi::_val, qi::_1 )] >> qi::lit( '=' ) >>
133  val[op( qi::_val, qi::_1 )][op( qi::_val, Node::kUnit )];
134  ;
135  val = qi::raw[qi::double_][op( qi::_val, qi::_1 )][op( qi::_val, Node::kReal )];
136  }

Member Data Documentation

◆ gunit

template<typename Iterator , typename Skipper >
IdentifierGrammar<Iterator, Skipper> Gaudi::Parsers::UnitsGrammar< Iterator, Skipper >::gunit

Definition at line 139 of file Grammar.h.

◆ op

template<typename Iterator , typename Skipper >
ph::function<NodeOperations> Gaudi::Parsers::UnitsGrammar< Iterator, Skipper >::op

Definition at line 140 of file Grammar.h.

◆ unit

template<typename Iterator , typename Skipper >
qi::rule<Iterator, Node(), Skipper> Gaudi::Parsers::UnitsGrammar< Iterator, Skipper >::unit

Definition at line 138 of file Grammar.h.

◆ units

template<typename Iterator , typename Skipper >
qi::rule<Iterator, Node(), Skipper> Gaudi::Parsers::UnitsGrammar< Iterator, Skipper >::units

Definition at line 138 of file Grammar.h.

◆ val

template<typename Iterator , typename Skipper >
qi::rule<Iterator, Node(), Skipper> Gaudi::Parsers::UnitsGrammar< Iterator, Skipper >::val

Definition at line 138 of file Grammar.h.


The documentation for this struct was generated from the following file:
Gaudi::Parsers::UnitsGrammar::val
qi::rule< Iterator, Node(), Skipper > val
Definition: Grammar.h:138
Gaudi::Parsers::UnitsGrammar::units
qi::rule< Iterator, Node(), Skipper > units
Definition: Grammar.h:138
Gaudi::Parsers::Node::kUnit
@ kUnit
Definition: Node.h:55
Gaudi::Parsers::UnitsGrammar::gunit
IdentifierGrammar< Iterator, Skipper > gunit
Definition: Grammar.h:139
Gaudi::Parsers::UnitsGrammar::unit
qi::rule< Iterator, Node(), Skipper > unit
Definition: Grammar.h:138
Gaudi::Parsers::Node::kReal
@ kReal
Definition: Node.h:52
Gaudi::Parsers::UnitsGrammar::op
ph::function< NodeOperations > op
Definition: Grammar.h:140