| The Gaudi Framework v27r1

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

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

Classes | Public Member Functions | List of all members
Gaudi::Parsers::Pnt4DGrammar< Iterator, PointT, Skipper >::Operations Struct Reference

`#include <GaudiKernel/GrammarsV2.h>`

## 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 549 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 555 of file GrammarsV2.h.

556 {
557 switch(xyz){
558 case 'x': res.SetPx(scalar); break;
559 case 'y': res.SetPy(scalar); break;
560 case 'z': res.SetPz(scalar); break;
561 case 'e': res.SetE(scalar); break;
562 default: break;
563 }
564 }
Gaudi::Parsers::Pnt4DGrammar::scalar
Grammar_< Iterator, ScalarT, Skipper >::Grammar scalar
Definition: GrammarsV2.h:594
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 565 of file GrammarsV2.h.

565 {
566 res.SetPx(xyz.Px());
567 res.SetPy(xyz.Py());
568 res.SetPz(xyz.Pz());
569 }

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

- GaudiKernel/GaudiKernel/GrammarsV2.h