| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

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

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
Gaudi::Parsers::RealGrammar< Iterator, Skipper > Class Template Reference

The valid represenation of real values are: More...

`#include <Grammar.h>`

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

## Classes
struct | definition

## Public Types
typedef bool | ResultT
typedef RT | ResultT
typedef RT | ResultT

## Public Member Functions
| RealGrammar ()
| RealGrammar ()

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

## Detailed Description

### template<typename Iterator, typename Skipper>
class Gaudi::Parsers::RealGrammar< Iterator, Skipper >

The valid represenation of real values are:

- 1, 1.0 ,1.123, 1E+2, 0.5e-2

Todo:
  implement suffixes f l F L

Author
  Alexander MAZUROV Alexa.nosp@m.nder.nosp@m..Mazu.nosp@m.rov@.nosp@m.gmail.nosp@m..com
  Vanya BELYAEV ibely.nosp@m.aev@.nosp@m.physi.nosp@m.cs.s.nosp@m.yr.ed.nosp@m.u

Date
  2006-05-14

Definition at line 111 of file Grammar.h.

## Member Typedef Documentation

template<typename Iterator, typename Skipper>

typedef bool Gaudi::Parsers::RealGrammar< Iterator, Skipper >::ResultT

Definition at line 113 of file Grammar.h.

template<typename Iterator, typename Skipper>

typedef RT Gaudi::Parsers::RealGrammar< Iterator, Skipper >::ResultT

Definition at line 162 of file GrammarsV2.h.

template<typename Iterator, typename Skipper>

typedef RT Gaudi::Parsers::RealGrammar< Iterator, Skipper >::ResultT

Definition at line 214 of file Grammars.h.

## Constructor & Destructor Documentation

template<typename Iterator, typename Skipper>

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

Definition at line 115 of file Grammar.h.

: RealGrammar::base_type(real) {
real = qi::raw[qi::double_][op(qi::_val, qi::_1)]
[op(qi::_val, Node::kReal)]
>> -(-qi::char_('*') >> gunit[op(qi::_val,qi::_1)]);
}
template<typename Iterator, typename Skipper>

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

Definition at line 163 of file GrammarsV2.h.

: RealGrammar::base_type(real) {
real = qi::real_parser<RT>();
}

## Member Data Documentation

template<typename Iterator, typename Skipper>

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

Definition at line 123 of file Grammar.h.

template<typename Iterator, typename Skipper>

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

Definition at line 124 of file Grammar.h.

template<typename Iterator, typename Skipper>

qi::rule<Iterator, Node(), Skipper> Gaudi::Parsers::RealGrammar< Iterator, Skipper >::real

Definition at line 122 of file Grammar.h.

template<typename Iterator, typename Skipper>

qi::rule<Iterator, RT(), Skipper> Gaudi::Parsers::RealGrammar< Iterator, Skipper >::real

Definition at line 166 of file GrammarsV2.h.

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r0/GaudiCoreSvc/src/JobOptionsSvc/Grammar.h
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r0/GaudiKernel/GaudiKernel/Grammars.h
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r0/GaudiKernel/GaudiKernel/GrammarsV2.h