| The Gaudi Framework v30r0 (c919700c)

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

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

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

`#include <GaudiKernel/GrammarsV2.h>`

## 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 469 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 471 of file GrammarsV2.h.

472 {
473 switch ( xyz ) {
474 case 'x':
475 res.SetPx( scalar );
476 break;
477 case 'y':
478 res.SetPy( scalar );
479 break;
480 case 'z':
481 res.SetPz( scalar );
482 break;
483 case 'e':
484 res.SetE( scalar );
485 break;
486 default:
487 break;
488 }
489 }
Gaudi::Parsers::Pnt4DGrammar::scalar
Grammar_< Iterator, ScalarT, Skipper >::Grammar scalar
Definition: GrammarsV2.h:514
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 490 of file GrammarsV2.h.

491 {
492 res.SetPx( xyz.Px() );
493 res.SetPy( xyz.Py() );
494 res.SetPz( xyz.Pz() );
495 }

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

- GaudiKernel/GaudiKernel/GrammarsV2.h