| # Gaudi Framework, version v23r1 |

Home |  | Generated: Wed Feb 29 2012

Classes | Public Member Functions

# Gaudi::Parsers::Pnt4DGrammar< Iterator, PointT, Skipper >::Operations Struct Reference

`#include <GrammarsV2.h>`

List of all members.

## Classes
struct | result
## Public Member Functions
void | operator() (ResultT &res, const ScalarT &scalar, const char xyz) const
void | operator() (ResultT &res, const ResultT &xyz) const

## Detailed Description

### template<typename Iterator, typename PointT, typename Skipper>
struct Gaudi::Parsers::Pnt4DGrammar< Iterator, PointT, Skipper >::Operations

Definition at line 424 of file GrammarsV2.h.

## Member Function Documentation

template<typename Iterator , typename PointT , typename Skipper >

void Gaudi::Parsers::Pnt4DGrammar< Iterator, PointT, Skipper >::Operations::operator() | ( | ResultT & | res,
|  | const ScalarT & | scalar,
|  | const char | xyz
| ) |  | const`[inline]`

Definition at line 430 of file GrammarsV2.h.

                                                                                 {
                switch(xyz){
                    case 'x': res.SetPx(scalar); break;
                    case 'y': res.SetPy(scalar); break;
                    case 'z': res.SetPz(scalar); break;
                    case 'e': res.SetE(scalar);  break;
                    default: break;
                }
            }

template<typename Iterator , typename PointT , typename Skipper >

void Gaudi::Parsers::Pnt4DGrammar< Iterator, PointT, Skipper >::Operations::operator() | ( | ResultT & | res,
|  | const ResultT & | xyz
| ) |  | const`[inline]`

Definition at line 440 of file GrammarsV2.h.

                                                                   {
                    res.SetPx(xyz.Px());
                    res.SetPy(xyz.Py());
                    res.SetPz(xyz.Pz());
            }

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v23r1/GaudiKernel/GaudiKernel/GrammarsV2.h

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines