| The Gaudi Framework v30r0 (c919700c)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes | List of all members
Gaudi::Parsers::UnitsGrammar< Iterator, Skipper > Struct Template Reference

`#include <src/JobOptionsSvc/Grammar.h>`

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

## Public Member Functions
| UnitsGrammar ()

## Public Attributes
qi::rule< Iterator, Node(), Skipper > | units
qi::rule< Iterator, Node(), Skipper > | unit
qi::rule< Iterator, Node(), Skipper > | val
IdentifierGrammar< Iterator, Skipper > | gunit
ph::function< NodeOperations > | op

## Detailed Description

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

Definition at line 124 of file Grammar.h.

## Constructor & Destructor Documentation

template<typename Iterator , typename Skipper >

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

Definition at line 126 of file Grammar.h.

126 : UnitsGrammar::base_type( units )
127 {
128 units = *unit[op( qi::_val, qi::_1 )];
129 unit = rep::qi::iter_pos[op( qi::_val, qi::_1 )] >> val[op( qi::_val, qi::_1 )] >> -qi::lit( '*' ) >>
130 gunit[op( qi::_val, qi::_1 )] >> qi::lit( '=' ) >>
131 val[op( qi::_val, qi::_1 )][op( qi::_val, Node::kUnit )];
132 ;
133 val = qi::raw[qi::double_][op( qi::_val, qi::_1 )][op( qi::_val, Node::kReal )];
134 }
Gaudi::Parsers::UnitsGrammar::unit
qi::rule< Iterator, Node(), Skipper > unit
Definition: Grammar.h:136
Gaudi::Parsers::UnitsGrammar::units
qi::rule< Iterator, Node(), Skipper > units
Definition: Grammar.h:136
Gaudi::Parsers::Node::kUnit
Definition: Node.h:47
Gaudi::Parsers::Node::kReal
Definition: Node.h:44
Gaudi::Parsers::UnitsGrammar::val
qi::rule< Iterator, Node(), Skipper > val
Definition: Grammar.h:136
Gaudi::Parsers::UnitsGrammar::gunit
IdentifierGrammar< Iterator, Skipper > gunit
Definition: Grammar.h:137
Gaudi::Parsers::UnitsGrammar::op
ph::function< NodeOperations > op
Definition: Grammar.h:138

## Member Data Documentation

template<typename Iterator , typename Skipper >

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

Definition at line 137 of file Grammar.h.

template<typename Iterator , typename Skipper >

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

Definition at line 138 of file Grammar.h.

template<typename Iterator , typename Skipper >

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

Definition at line 136 of file Grammar.h.

template<typename Iterator , typename Skipper >

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

Definition at line 136 of file Grammar.h.

template<typename Iterator , typename Skipper >

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

Definition at line 136 of file Grammar.h.

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

- GaudiCoreSvc/src/JobOptionsSvc/Grammar.h