| The Gaudi Framework v29r1 (5cd95fa2)

- 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 489 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 496 of file GrammarsV2.h.

497 {
498 switch ( xyz ) {
499 case 'x':
500 res.SetPx( scalar );
501 break;
502 case 'y':
503 res.SetPy( scalar );
504 break;
505 case 'z':
506 res.SetPz( scalar );
507 break;
508 case 'e':
509 res.SetE( scalar );
510 break;
511 default:
512 break;
513 }
514 }
Gaudi::Parsers::Pnt4DGrammar::scalar
Grammar_< Iterator, ScalarT, Skipper >::Grammar scalar
Definition: GrammarsV2.h:539
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 515 of file GrammarsV2.h.

516 {
517 res.SetPx( xyz.Px() );
518 res.SetPy( xyz.Py() );
519 res.SetPz( xyz.Pz() );
520 }

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

- GaudiKernel/GaudiKernel/GrammarsV2.h