/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Classes | Public Types | Public Member Functions | Private Attributes
Gaudi::Parsers::RealUnitsGrammar Class Reference

The valid represenation of reals with units are. More...

#include <ParserGrammar.h>

Collaboration diagram for Gaudi::Parsers::RealUnitsGrammar:
Collaboration graph

List of all members.


struct  definition

Public Types

typedef long double ResultT

Public Member Functions

 RealUnitsGrammar ()
void matchRealUnits () const
void matchReal (ResultT value) const
void matchPosition (IteratorT value) const
void matchUnit (const std::string &) const
void setParser (Parser *parser)
 Set up pointer to Parser.

Private Attributes


Detailed Description

The valid represenation of reals with units are.

Alexander MAZUROV Alexander.Mazurov@gmail.com
Vanya BELYAEV ibelyaev@physics.syr.edu

Definition at line 126 of file ParserGrammar.h.

Member Typedef Documentation

Definition at line 131 of file ParserGrammar.h.

Constructor & Destructor Documentation

Gaudi::Parsers::RealUnitsGrammar::RealUnitsGrammar ( ) [inline]

Definition at line 132 of file ParserGrammar.h.


Member Function Documentation

void Gaudi::Parsers::RealUnitsGrammar::matchRealUnits ( ) const [inline]

Definition at line 157 of file ParserGrammar.h.

        val() = Gaudi::Utils::toString ( attrs().get<1>() );
void Gaudi::Parsers::RealUnitsGrammar::matchReal ( ResultT  value) const [inline]

Definition at line 163 of file ParserGrammar.h.

      { attrs().get<1>()=value; }
void Gaudi::Parsers::RealUnitsGrammar::matchPosition ( IteratorT  value) const [inline]

Definition at line 167 of file ParserGrammar.h.

      { attrs().get<0>()=value; }
void Gaudi::Parsers::RealUnitsGrammar::matchUnit ( const std::string &  ) const [inline]

Definition at line 171 of file ParserGrammar.h.

void Gaudi::Parsers::RealUnitsGrammar::setParser ( Parser parser) [inline]

Set up pointer to Parser.

parserPouinter to parser

Definition at line 178 of file ParserGrammar.h.

{m_parser = parser;}

Member Data Documentation

Definition at line 180 of file ParserGrammar.h.

The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:50:18 for LafKernel by doxygen 1.7.4