| # Gaudi Framework, version v21r9 |

Home |  | Generated: 3 May 2010

# Gaudi::Parsers::UnitsFileGrammar::definition< ScannerT > Struct Template Reference

`#include <ParserGrammar.h>`

List of all members.

## Public Member Functions
| definition (UnitsFileGrammar const &self)
boost::spirit::rule< ScannerT > const & | start () const
## Public Attributes
RealUnitsGrammar | grUnit
IdentifierGrammar | grNewUnit
boost::spirit::rule< ScannerT > | units_file
boost::spirit::rule< ScannerT > | unit

## Detailed Description

### template<typename ScannerT>
struct Gaudi::Parsers::UnitsFileGrammar::definition< ScannerT >

Definition at line 259 of file ParserGrammar.h.

## Constructor & Destructor Documentation

template<typename ScannerT>

Gaudi::Parsers::UnitsFileGrammar::definition< ScannerT >::definition | ( | UnitsFileGrammar const & | self | ) | `[inline]`

Definition at line 261 of file ParserGrammar.h.

    00262         {
    00263           boost::tuples::get<1>(self.attrs()) = 1;
    00264           grUnit.setParser(self.parser());
    00265           units_file = *(unit[boost::bind(&UnitsFileGrammar::matchUnit,&self)]);
    00266           unit =
    00267             (real_p[boost::bind(&UnitsFileGrammar::matchLeftReal,&self,_1)]
    00268              >> eps_p)[self.val=arg1] >> !ch_p('*')
    00269              >>grNewUnit[boost::bind(&UnitsFileGrammar::matchLeftUnit,&self,_1)]
    00270              >>"=">>grUnit[boost::bind(&UnitsFileGrammar::matchRight,&self,_1)];
    00271         }

## Member Function Documentation

template<typename ScannerT>

boost::spirit::rule<ScannerT> const& Gaudi::Parsers::UnitsFileGrammar::definition< ScannerT >::start | ( |  | ) | const`[inline]`

Definition at line 274 of file ParserGrammar.h.

    00275         { return units_file;}

## Member Data Documentation

template<typename ScannerT>

RealUnitsGrammar Gaudi::Parsers::UnitsFileGrammar::definition< ScannerT >::grUnit

Definition at line 272 of file ParserGrammar.h.

template<typename ScannerT>

IdentifierGrammar Gaudi::Parsers::UnitsFileGrammar::definition< ScannerT >::grNewUnit

Definition at line 273 of file ParserGrammar.h.

template<typename ScannerT>

boost::spirit::rule<ScannerT> Gaudi::Parsers::UnitsFileGrammar::definition< ScannerT >::units_file

Definition at line 276 of file ParserGrammar.h.

template<typename ScannerT>

boost::spirit::rule<ScannerT> Gaudi::Parsers::UnitsFileGrammar::definition< ScannerT >::unit

Definition at line 276 of file ParserGrammar.h.

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v21r9/GaudiSvc/src/JobOptionsSvc/ParserGrammar.h